Skip to content

Add more RRI handling and casts#4539

Draft
backspace wants to merge 12 commits intomainfrom
@cardstack/base-url-assumption-cs-10751
Draft

Add more RRI handling and casts#4539
backspace wants to merge 12 commits intomainfrom
@cardstack/base-url-assumption-cs-10751

Conversation

@backspace
Copy link
Copy Markdown
Contributor

No description provided.

@github-actions
Copy link
Copy Markdown
Contributor

Preview deployments

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 27, 2026

Host Test Results

    1 files  ± 0      1 suites  ±0   2h 31m 53s ⏱️ - 26m 32s
2 389 tests  - 84  2 367 ✅  - 91  13 💤  - 2  2 ❌ +2  7 🔥 +7 
2 408 runs   - 84  2 379 ✅  - 98  13 💤  - 2  9 ❌ +9  7 🔥 +7 

For more details on these failures and errors, see this check.

Results for commit 9dd6bd4. ± Comparison against base commit 8623acf.

This pull request removes 86 and adds 2 tests. Note that renamed tests count towards both.
Chrome ‑ Acceptance | code submode | create-file tests > when a selected spec uses a prefix-form ref: can create new card definition in workspace A that extends a card from workspace B via prefix-form ref
Chrome ‑ Acceptance | code submode | create-file tests > when the user lacks write permissions in local realm: read only realm is not present in realm drop down when creating card definition
Chrome ‑ Acceptance | code submode | create-file tests > when the user lacks write permissions in local realm: read only realm is not present in realm drop down when creating card instance
Chrome ‑ Acceptance | code submode | create-file tests > when the user lacks write permissions in local realm: read only realm is not present in realm drop down when creating instance of card definition
Chrome ‑ Acceptance | code submode | create-file tests > when the user lacks write permissions in local realm: read only realm is not present in realm drop down when duplicating card instance
Chrome ‑ Acceptance | code submode | create-file tests > when the user lacks write permissions in local realm: read only realm is not present in realm drop down when inheriting card definition
Chrome ‑ Acceptance | code submode | create-file tests > when the user lacks write permissions in remote realm: read only realm is not present in realm drop down when creating card definition
Chrome ‑ Acceptance | code submode | create-file tests > when the user lacks write permissions in remote realm: read only realm is not present in realm drop down when creating card instance
Chrome ‑ Acceptance | code submode | create-file tests > when the user lacks write permissions in remote realm: read only realm is not present in realm drop down when creating instance of card definition
Chrome ‑ Acceptance | code submode | create-file tests > when the user lacks write permissions in remote realm: read only realm is not present in realm drop down when duplicating card instance
…
Chrome ‑ Global error: Uncaught Error: Could not get file @test-realm/test2/animal, status 404: Not Found - Not found: /222890157373/tests/@test-realm/test2/animal at http://localhost:7357/assets/chunk.a3a1b335b9243a8f4e90.js, line 156287  After execution of test: Acceptance | code submode | create-file tests > when a selected spec uses a prefix-form ref: can create new card definition in workspace A that extends a card from workspace B via prefix-form ref 
Chrome ‑ Global error: Uncaught Error: Could not get file @test-realm/test2/animal, status 404: Not Found - Not found: /222890157373/tests/@test-realm/test2/animal at http://localhost:7357/assets/chunk.a3a1b335b9243a8f4e90.js, line 156287  While executing test: Acceptance | code submode | create-file tests > when a selected spec uses a prefix-form ref: can create new card definition in workspace A that extends a card from workspace B via prefix-form ref 

♻️ This comment has been updated with latest results.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 27, 2026

Realm Server Test Results

    1 files  ±0      1 suites  ±0   18m 56s ⏱️ -29s
1 087 tests +4  1 087 ✅ +4  0 💤 ±0  0 ❌ ±0 
1 159 runs  +4  1 159 ✅ +4  0 💤 ±0  0 ❌ ±0 

Results for commit 9dd6bd4. ± Comparison against base commit 8623acf.

This pull request removes 10 and adds 14 tests. Note that renamed tests count towards both.
default ‑ inRealmRRI matches realm root without trailing slash
default ‑ inRealmRRI matches resource in realm
default ‑ inRealmRRI matches scoped resource
default ‑ inRealmRRI rejects resource in different scope
default ‑ inRealmRRI rejects resource outside realm
default ‑ localFromRRI returns empty string for realm root
default ‑ localFromRRI strips realm prefix
default ‑ localFromRRI strips scoped prefix
default ‑ localFromRRI strips trailing slashes
default ‑ localFromRRI throws for resource outside realm
default ‑ can write new instance with new module when instance comes first in the batch
default ‑ copy-index: concurrent enqueues from two instances for same (destination, source) coalesce into one job
default ‑ copy-index: enqueues with different sourceRealmURL stay as separate jobs
default ‑ full-reindex: concurrent enqueues from two instances coalesce into one canonical pending job and union realmUrls
default ‑ inRealm with RRI matches realm root without trailing slash
default ‑ inRealm with RRI matches resource in realm
default ‑ inRealm with RRI matches scoped resource
default ‑ inRealm with RRI rejects resource in different scope
default ‑ inRealm with RRI rejects resource outside realm
default ‑ local from RRI returns empty string for realm root
…

♻️ This comment has been updated with latest results.

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