GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

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

@dezren39 dezren39 commented Nov 6, 2026 •
edited by blacksmith-sh Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

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
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.

All reactions
developing-today[bot]
test(id/publications): pin Registry::load duplicate-JSON-key refusal (#…
caa803e
…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.
@dezren39
dezren39 requested a review from a team as a code owner November 6, 2026 16:18
@coderabbitai

coderabbitai Bot commented Nov 6, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

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

  • X
  • Mastodon
  • Reddit
  • LinkedIn
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 6, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dezren39 dezren39 mentioned this pull request Nov 6, 2026
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
Closed
@developing-today developing-today Bot mentioned this pull request Nov 8, 2026
Unowned PR batch from branch disposition (2026-11-07) #7297
Open
@dezren39

dezren39 commented Nov 8, 2026

Copy link
Copy Markdown
Member Author

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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dezren39

dezren39 commented Nov 8, 2026

Copy link
Copy Markdown
Member Author

🤖 Agent note · handed off

  • Agent: repo queue worker, lane code-l (repo-worker-code)
  • Session / ID: cron repo-queue-worker-shift-l run 2026-11-08 11:58 CST; task 13321
  • Found via: queue claim · task 13321
  • Task: task 13321 for PR test(id/publications): pin Registry::load duplicate-key refusal (#6504) #6557 (pr_shepherd, parent issue Unowned PR batch from branch disposition (2026-11-07) #7297). Fresh check: PR test(id/publications): pin Registry::load duplicate-key refusal (#6504) #6557 is OPEN, not draft, no hard-stop labels (held / user/owned / do-not-merge / do-not-auto-edit). Parent issue Unowned PR batch from branch disposition (2026-11-07) #7297 carries user/escalated - noted for the bound session: the parent decision is Drew's, do not re-decide it. Execution-lane assignment returned opencode - handed off to the opencode claimant, which launches the bound opencode session; this lane does not work it directly.
  • Expectation: claimant session drives task 13321 to a terminal state. Attempts 3/4.
  • Links: task 13321 · PR test(id/publications): pin Registry::load duplicate-key refusal (#6504) #6557 · issue Unowned PR batch from branch disposition (2026-11-07) #7297
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dezren39 dezren39 added queue/parked Queue task is parked (waiting on CI, time, or an event) status/parked Deliberately paused with a recorded resume condition work/assigned Queue worker lifecycle state labels Nov 8, 2026
@developing-today

developing-today Bot commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

🤖 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
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@developing-today developing-today Bot added queue/claimed Queue worker lifecycle state status/in-progress Queue worker lifecycle state queue/parked Queue task is parked (waiting on CI, time, or an event) status/parked Deliberately paused with a recorded resume condition and removed queue/parked Queue task is parked (waiting on CI, time, or an event) status/parked Deliberately paused with a recorded resume condition queue/claimed Queue worker lifecycle state status/in-progress Queue worker lifecycle state labels Nov 8, 2026
@dezren39

dezren39 commented Nov 8, 2026

Copy link
Copy Markdown
Member Author

🤖 Agent note · handed off

  • Agent: repo queue worker, lane code-n (repo-worker-code)
  • Task: task 13321 for PR test(id/publications): pin Registry::load duplicate-key refusal (#6504) #6557 (pr_shepherd, issue Unowned PR batch from branch disposition (2026-11-07) #7297). Fresh check: target is OPEN, no hard-stop labels. Execution-lane assignment returned opencode — handed off to the opencode claimant; this lane does not work it directly. Attempts 5/8.
  • Expectation: claimant session drives task 13321 to a terminal state.
  • Links: task 13321 · PR test(id/publications): pin Registry::load duplicate-key refusal (#6504) #6557 · issue Unowned PR batch from branch disposition (2026-11-07) #7297
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

developing-today[bot] and others added 2 commits November 8, 2026 18:23
developing-today[bot] repo-worker-code-k
test(id/publications): pin Registry::load duplicate-JSON-key refusal (#…
08218d9
…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.
repo-worker-code-k
Merge current main into PR #6557 branch
5689658
@dezren39 dezren39 mentioned this pull request Nov 9, 2026
Phase 4 of #6520 — closing JSON-parse inventory: disposition every serde_json parse site in pkgs/id against the duplicate-key refusal contract #6521
Closed
@dezren39

dezren39 commented Nov 9, 2026

Copy link
Copy Markdown
Member Author

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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dezren39

dezren39 commented Nov 9, 2026

Copy link
Copy Markdown
Member Author

🤖 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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dezren39

dezren39 commented Nov 10, 2026

Copy link
Copy Markdown
Member Author

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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dezren39 dezren39 added queue/claimed Queue worker lifecycle state status/in-progress Queue worker lifecycle state and removed status/parked Deliberately paused with a recorded resume condition labels Nov 10, 2026
@dezren39 dezren39 added queue/parked Queue task is parked (waiting on CI, time, or an event) status/parked Deliberately paused with a recorded resume condition and removed queue/parked Queue task is parked (waiting on CI, time, or an event) status/in-progress Queue worker lifecycle state queue/claimed Queue worker lifecycle state labels Nov 10, 2026
@dezren39

dezren39 commented Nov 10, 2026

Copy link
Copy Markdown
Member Author

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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dezren39

dezren39 commented Nov 10, 2026

Copy link
Copy Markdown
Member Author

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

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

repo-worker-code-k added 2 commits November 10, 2026 14:15
repo-worker-code-k
Merge remote-tracking branch 'origin/main' into queue/11004-6504-pin-…
8d75aba
…dup-key
repo-worker-code-k
Merge remote-tracking branch 'origin/queue/11004-6504-pin-dup-key' in…
31b2ce8
…to queue/11004-6504-pin-dup-key
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 10, 2026

Copy link
Copy Markdown

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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dezren39

dezren39 commented Nov 10, 2026

Copy link
Copy Markdown
Member Author

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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dezren39
dezren39 merged commit 16432a1 into main Nov 10, 2026
3 of 9 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@dezren39
dezren39 deleted the queue/11004-6504-pin-dup-key branch November 10, 2026 20:44
@dezren39 dezren39 removed status/parked Deliberately paused with a recorded resume condition queue/parked Queue task is parked (waiting on CI, time, or an event) work/assigned Queue worker lifecycle state labels Nov 10, 2026
@dezren39 dezren39 mentioned this pull request Nov 11, 2026
Design: a duplicate key is a parse error — one duplicate-key refusal contract for pkgs/id's checked JSON gates #6520
Closed
@dezren39 dezren39 mentioned this pull request Nov 21, 2026
Closure audit: every closed issue/PR verified; unmerged branches + unpushed worktrees inventoried #7079
Open
@dezren39 dezren39 added the audit:complete PR fully implemented spawning issue label Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

audit:complete PR fully implemented spawning issue

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

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

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@dezren39
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.