GeezerVison is showing github.com — fix(id): unmask MissingBlob in verify_import and repair hosted_export fixtures (#13444) by dezren39 · Pull Request #13528 · developing-today/code
Conversation
dezren39
commented
Nov 23, 2026
•
edited by blacksmith-sh
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
Fixes #13444 — the 4 hosted_export tests failing on main since e7888eb (#13289 citation binding).
Root cause — both sides, one defect each:
- Production (error precedence).
verify_import compared declared blob_refs against citation-resolved refs before checking carriage, so an object whose references name a blob the export does not carry at all was refused as BlobCitationMismatch instead of MissingBlob (missing_blob_is_refused). A declared reference naming no carried blob is now the plain MissingBlob refusal, checked before citation binding. The id: verify export blob refs against each envelope's actual content citations #13289 regression tests (decoy, missing cited blob, extra reference) keep their verdicts — no verification weakened.
- Test fixtures (honest exports). Three tests built exports no honest producer emits under the binding semantics:
document.put envelopes citing content the carried blobs did not contain (delayed_rebind_history_round_trip, export_is_canonical_and_survives_the_wire), or citing content the export did not carry at all (fast_path_history_verifies_without_backing_records, whose subject is step-2 history). The fixtures now carry exactly the cited content, or cite nothing.
Verification (laptop, nix develop in pkgs/id, cargo test --all-features --lib): reproduced the 4 failures on pristine main first (25 passed / 4 failed in the module, identical error sites to the issue); after the fix the full lib run is green — 253 + 756 + 561 passed, 0 failed — including all four named tests and the three #13289 binding tests. rustfmt drift on the file is unchanged from main (8 pre-existing lines, none in the changed hunks).

Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
chatgpt-codex-connector[bot] reacted with thumbs up emoji
… fixtures (#13444)
Two defects from e7888eb (#13289 citation binding):
1. Production: verify_import compared declared blob_refs against
citation-resolved refs before checking whether a cited blob was
carried at all, so an object whose references name a blob the
export does not carry was refused as BlobCitationMismatch
instead of MissingBlob. A declared reference naming no carried
blob is now the plain MissingBlob refusal, checked before
citation binding. The #13289 regression tests (decoy, missing
cited blob, extra reference) keep their verdicts.
2. Tests: three honest-export fixtures built exports no honest
producer emits under the binding semantics — document.put
envelopes citing content the carried blobs did not contain, or
citing content the export did not carry at all. The fixtures
now carry exactly the cited content (delayed-rebind and
canonical/wire tests) or cite nothing (fast-path history test,
which exercises step-2 history only).
cargo test --all-features --lib in pkgs/id: 253 + 756 + 561
passed, 0 failed (previously 4 hosted_export failures).
Warning
Review limit reached
You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.
Next included review available in 45 minutes.
Check out review usage here.
View limit details
-
Limit details: You’ve used the included review currently available.
Learn how review limits work.
Review configuration:
Run configuration
-
- Source mode: Auto
- Repository: Unavailable
- Branch: Unavailable
- File: No configuration file from this repository applied
- Commit: Unavailable
- Layers: defaults
- Review profile: CHILL
- Plan: Advanced
- Run ID:
f2ef53c5-9020-4c36-88b3-2897726c4b49
Commits
-
Reviewing files that changed from the base of the PR and between 8052587 and 4b62248.
Files selected for processing: 1
-
pkgs/id/src/hosted_export.rs
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Share
-
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
| Review |
Status |
Commit |
Review trigger |
| 📝 Code Review |
✅ Completed 2026-11-23T17:47:15.521613Z |
4b62248 |
PR opened |
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review" or "@codex security review".
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|