Skip to content

Change the host store to allow prefix RRI keys#5470

Draft
backspace wants to merge 2 commits into
mainfrom
cs-11730-s3-canonical-store-key
Draft

Change the host store to allow prefix RRI keys#5470
backspace wants to merge 2 commits into
mainfrom
cs-11730-s3-canonical-store-key

Conversation

@backspace

Copy link
Copy Markdown
Contributor

No description provided.

asURL's string branch normalized remote ids to URL form while its document
branch returned data.id verbatim — which is canonical (prefix form for mapped
realms) as served — so the two branches could key the same mapped-realm card
under different spellings. Fold the string branch to the canonical spelling
too: parse through the VN's URL machinery for normalization, then back to
prefix form where a realm mapping exists. The render store's key
normalization gets the same treatment.

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  ±0      1 suites  ±0   2h 29m 24s ⏱️ - 6m 25s
3 454 tests ±0  3 439 ✅ +2  15 💤 ±0  0 ❌ ±0 
3 473 runs  ±0  3 458 ✅ +4  15 💤 ±0  0 ❌  - 2 

Results for commit d95b506. ± Comparison against earlier commit 1fca86d.

Realm Server Test Results

    1 files  ±0      1 suites  ±0   11m 45s ⏱️ +12s
1 814 tests ±0  1 814 ✅ ±0  0 💤 ±0  0 ❌ ±0 
1 893 runs  ±0  1 893 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit d95b506. ± Comparison against earlier commit 1fca86d.

The render store's cache-key normalization and its document-load
normalization shared one helper, so folding keys to canonical spelling also
changed the URL that loadCardDocument stamps onto the returned document's id.
Split them: cache keys fold to the canonical spelling; load targets resolve
to the real URL at the fetch boundary.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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