Skip to content

Change interfaces to use Realm[Resource]Identifier types#4428

Draft
backspace wants to merge 2 commits into@cardstack/base-no-registerCardReferencePrefix-cs-10745from
@cardstack/base-rris-everywhere-cs-10750
Draft

Change interfaces to use Realm[Resource]Identifier types#4428
backspace wants to merge 2 commits into@cardstack/base-no-registerCardReferencePrefix-cs-10745from
@cardstack/base-rris-everywhere-cs-10750

Conversation

@backspace
Copy link
Copy Markdown
Contributor

No description provided.

Change ResolvedCodeRef.module from string to RealmResourceIdentifier,
Saved/Unsaved types to RealmResourceIdentifier, and realmURL fields
to RealmIdentifier. This is the interface-only change that starts the
type cascade — downstream TypeScript errors guide the migration.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@backspace backspace self-assigned this Apr 16, 2026
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 16, 2026

Realm Server Test Results

  1 files  ±0    1 suites  ±0   13m 44s ⏱️ -3s
904 tests ±0  904 ✅ ±0  0 💤 ±0  0 ❌ ±0 
976 runs  ±0  976 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 62c1a4e. ± Comparison against base commit f03b021.

♻️ This comment has been updated with latest results.

@backspace backspace force-pushed the @cardstack/base-rris-everywhere-cs-10750 branch from 5b10868 to 6147a6e Compare April 16, 2026 22:30
Add RealmResourceIdentifier casts at boundary points where strings
enter the branded type system: constants, code ref construction,
document loading, file def mappings, index writing, realm operations,
and query engine results. No logic changes — only type annotations.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@backspace backspace force-pushed the @cardstack/base-rris-everywhere-cs-10750 branch from 6147a6e to 62c1a4e Compare April 16, 2026 22:37
@github-actions
Copy link
Copy Markdown

Host Test Results

    1 files  ±0      1 suites  ±0   2h 7m 53s ⏱️ - 18m 32s
2 249 tests  - 5  2 230 ✅  -  9  15 💤 ±0  0 ❌ ±0  4 🔥 +4 
2 249 runs   - 5  2 226 ✅  - 13  15 💤 ±0  4 ❌ +4  4 🔥 +4 

For more details on these errors, see this check.

Results for commit 62c1a4e. ± Comparison against base commit f03b021.

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