Skip to content

Change loader to use RRIs internally#5468

Draft
backspace wants to merge 1 commit into
mainfrom
cs-11716-loader-rri-native
Draft

Change loader to use RRIs internally#5468
backspace wants to merge 1 commit into
mainfrom
cs-11716-loader-rri-native

Conversation

@backspace

Copy link
Copy Markdown
Contributor

No description provided.

…ity APIs

getConsumedModules and getKnownConsumedModules now return module
identifiers in canonical RRI form (realm-prefix spelling where a prefix
mapping is registered), deduping spellings that collapse to one module
and excluding self references under any spelling. identify() already
recorded identities via unresolveURL; it now shares the same
canonicalIdentifier helper.

The runtime dependency tracker keys module nodes by http(s) URL, so the
loader exposes dependencyTrackingKey() for crossing that boundary, and
card-api's relationship module walk uses it. This also fixes prefix-form
identity.module values being silently dropped by the tracker's URL
guard.

Module-cache keys deliberately stay URL-keyed; the moduleCacheKey
comment explains why a realm-prefix-sensitive key would orphan cached
entries and split class identities when mappings change mid-life.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Preview deployments

Host Test Results

    1 files      1 suites   2h 35m 47s ⏱️
3 454 tests 3 439 ✅ 15 💤 0 ❌
3 473 runs  3 458 ✅ 15 💤 0 ❌

Results for commit 4c25bf9.

Realm Server Test Results

    1 files      1 suites   11m 6s ⏱️
1 814 tests 1 814 ✅ 0 💤 0 ❌
1 893 runs  1 893 ✅ 0 💤 0 ❌

Results for commit 4c25bf9.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant