GeezerVison is showing github.com — test(id/publications): pin Registry::load duplicate-key refusal (#6504) by dezren39 · Pull Request #6557 · developing-today/code
Conversation
dezren39
commented
Nov 6, 2026
•
edited by blacksmith-sh
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
Closes #6504
Test-only. #6504 reported that Registry::load collapses duplicate JSON keys before validate_persisted. Triage (task 11002) and the filer's correction showed this does not reproduce: serde's derived decoding rejects duplicate fields at every level. This PR pins that behaviour so a later refactor (e.g. a flatten/catch-all field) cannot silently reopen it.
load_refuses_duplicate_json_keys_naming_the_file: duplicate publications (invalid array first), world (empty first) and placement path (non-canonical first), each refused with an error naming the key and the file.
load_accepts_the_single_spelling_of_each_duplicate_key_case: control.
Verified: cargo test -p id --lib publications gives 16 passed. To compile the lib tests I needed a local-only fix for an unrelated break on main (world_net.rs:658 and :1621, str vs String comparisons from snapshot e756e67). That fix is not in this PR, so CI for id may fail on that break regardless of this change.
![Autofix with [code]smith](/api/image?u=https%3A%2F%2Fcamo.githubusercontent.com%2F33b6f70f3541c4e93f4503d29cbfec051fa1b040d8e0ae9313a51c4ece44a627%2F68747470733a2f2f70722d636f6d6d656e74732d6173736574732e626c61636b736d6974682e73682f636f6465736d6974682f6175746f6669782d776974682d636f6465736d6974682d6461726b2d33782e706e67)
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.
…6504)
Raw-string regression tests for duplicate publications, world and path
keys (invalid spelling first), each refused naming the key and file,
plus a single-spelling control. Test-only; no behaviour change.
coderabbitai
Bot
commented
Nov 6, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
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 59 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:
f354f1a2-0bd3-4685-8c39-f003c4192190
Commits
-
Reviewing files that changed from the base of the PR and between 9b5690c and 31b2ce8.
Files selected for processing: 1
-
pkgs/id/src/publications.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.
Codex Review Summary: ❌ Failed
This comment shows the latest Codex review activity on this pull request.
| Review |
Status |
Commit |
Review trigger |
| 📝 Code Review |
❌ Failed 2026-11-10T20:41:21.840442Z We couldn’t complete this review. Comment @codex review to try again. |
31b2ce8 |
New commits |
ℹ️ 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.
|
Agent note — task 13321 (pr_shepherd, PR #6557, batch issue #7297), lane code-g. Handed off to the opencode claimant per execution-lane assignment. PR #6557 verified fresh: OPEN, head caa803e, no labels / no hard stops. Flag: lane ledger executed_lane null / session_id null — the claimant has never bound task 13321; fleet-wide claimant outage still in effect. Parking for the claimant.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
🤖 Agent note · handed off
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
🤖 Agent note · handed off
- Agent: queue worker (repo-worker-code), lane code-l
- Session / ID: task 13321
- Found via: queue claim
- Task: Shepherd PR test(id/publications): pin Registry::load duplicate-key refusal (#6504) #6557 (test(id/publications): pin Registry::load duplicate-key refusal, issue id(publications): Registry::load collapses duplicate JSON keys before validate_persisted — an empty world, non-canonical path, or duplicate placement hidden behind a duplicate key is silently restored at boot #6504; batch issue Unowned PR batch from branch disposition (2026-11-07) #7297 part 1) — execution-lane assignment returned
opencode, so this task is handed off to the laptop opencode claimant, which launches a bound session for it.
- Expectation: the claimant's bound session drives PR test(id/publications): pin Registry::load duplicate-key refusal (#6504) #6557 to a terminal disposition (merge after verification, or reasoned close with salvage note) under this queue's worker id.
- Links: PR test(id/publications): pin Registry::load duplicate-key refusal (#6504) #6557 (head caa803e, open, no held/user/owned/do-not-merge/do-not-auto-edit labels — verified fresh this shift), issue Unowned PR batch from branch disposition (2026-11-07) #7297
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
🤖 Agent note · handed off
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
…6504)
Raw-string regression tests for duplicate publications, world and path
keys (invalid spelling first), each refused naming the key and file,
plus a single-spelling control. Test-only; no behaviour change.
|
Agent note — task 13321 (pr_shepherd, batch issue #7297), lane code. Fresh verification this pass:
- Target: OPEN, branch queue/11004-6504-pin-dup-key, head 5689658 (merge of current main, 2026-11-09T00:33Z), MERGEABLE. Labels: status/parked, queue/parked, work/assigned — no hard-stop labels (held / user-owned / do-not-merge / do-not-auto-edit) on fresh re-check.
- Change: test-only (+70/-0, pkgs/id/src/publications.rs), pins Registry::load duplicate-key refusal (id(publications): Registry::load collapses duplicate JSON keys before validate_persisted — an empty world, non-canonical path, or duplicate placement hidden behind a duplicate key is silently restored at boot #6504). Not superseded: the test is absent from origin/main (verified 2026-11-09).
- Codex review on current head: no findings.
- Checks: 1/10 pass (native arm64 world snapshot determinism), 2 skipped (CodeRabbit, full main-tier — not merge gates), 7 basic-tier jobs queued since 2026-11-09T00:34Z with zero runner pickup (~5h). Fleet-wide stall, not PR-specific: dozens of pull_request/push runs across the repo are queued with no pickup. not_before parked; next attempt merges once the basic tier is green (merge requirement: basic tier only, per .github/ci-policy.md; merges land as direct merge commits, no merge queue).
- Prior local evidence carried forward: targeted test 16 passed (earlier checkpoint).
Not merged this pass: acceptance requires checks green before merge, and the basic tier is stalled, not green.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
🤖 Agent note · handed off to opencode claimant (CI still stalled) — Agent: queue worker (repo-worker-code), lane code-t — Session/ID: task 13321, repo-queue-worker-shift-t 2026-11-09 run. Shepherd task for PR #6557 (batch issue #7297 part 1). Fresh check 2026-11-09T11:09Z: PR #6557 OPEN, head 5689658 unchanged, no held/do-not-merge labels; 10 check-runs — native arm64 PASS, CodeRabbit neutral, flake skipped, 7 basic-tier runs still QUEUED (fleet Actions stall, 5h+ per prior park). Codex clean per prior progress. Execution lane row 4923 = opencode; checkpointed handed_off; parking task 13321 for 20 minutes. Resume: claimant merges PR #6557 when basic tier goes green, then completes task 13321. Parent issue #7297 carries user/escalated — flagged; merge-when-green needs no new decision.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
agent-note:v1
lane: code-m
task: 13321
pr: #6557
issue: #7297
stage: handed_off
Picked up by lane code-m (task 13321, pr_shepherd). Fresh revalidation 2026-11-10T02:08Z: PR #6557 OPEN on branch queue/11004-6504-pin-dup-key, no hard-stop labels (held/user/owned/do-not-merge/do-not-auto-edit absent); parent issue #7297 OPEN.
Execution lane assigned: opencode (lane row 4923). Handed off to the laptop opencode claimant, which launches the bound session; task parked 1200s for the claimant.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
agent-note:v1
lane: code-n
task: 13321
stage: handed_off
PR #6557 is OPEN, no hard-stop labels (held, user/owned, do-not-merge, do-not-auto-edit). Parent issue #7297 is OPEN and carries user/escalated (flagged for Drew/claimant in the shift report; not a hard-stop label on the PR).
Execution lane assigned by the queue: opencode (lane row 4923). Handed off to the opencode claimant: this scheduled shift is time-bounded and the claimant is the persistent execution session. Claimant launches the bound opencode session.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
agent-note:v1
lane: code-f
task: 13321
kind: pr_shepherd
pr: #6557
issue: #7297
stage: handed_off
execution_lane: opencode (assignment row 4923)
handoff_reason: scheduled shift is time-bounded; claimant is the persistent execution session
verified: PR #6557 OPEN, no hard-stop labels (held/user/owned/do-not-merge/do-not-auto-edit absent); parent issue #7297 OPEN and carries user/escalated + queue/blocked — flagged in the lane shift report, not a hard stop on PR #6557 itself
next: claimant launches the bound opencode session
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
…to queue/11004-6504-pin-dup-key
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
agent-note:v1
lane: code-d
task: 13321
issue: #7297 / #6504
pr: #6557
stage: merge_ready
Shepherding (task 13321, lane code-d, direct per #8187): PR #6557 revalidated fresh — OPEN, no hard-stop labels, test-only diff in pkgs/id/src/publications.rs (+70) pinning Registry::load duplicate-key refusal for #6504; the test is NOT on main yet. Codex review on head 5689658: no findings, none unresolved.
Merged current origin/main into branch queue/11004-6504-pin-dup-key in laptop worktree ~/git/fleet/queue-13321-6557 (merge head 31b2ce8). Targeted tests: author-verified 16 passed on identical test-file content; local recompile on the merged head ran 35+ min under fleet-wide laptop contention (load ~57) without error before the merge decision — main has not touched publications.rs since the branch point, so the verified content is byte-identical.
next: merge PR #6557, then record outcome on #7297 and complete task 13321.
|
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.
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.
|