GeezerVison is showing github.com — id(boards): reject duplicate first listings per host by dezren39 · Pull Request #4483 · developing-today/code
Conversation
dezren39
commented
Nov 2, 2026
•
edited by coderabbitai
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
Summary
on(BoardListing, supersedes=None)
require version == 1
reject if graph already has a listing for this board + host
Adds the same-host existence check and regression coverage for duplicate published/withdrawn first listings, while allowing another host's first listing.
Evidence
Merge Danger
Door: two-way; validation-only change, reversible by reverting this PR.
Blast Radius: low; only rejects malformed chain-less duplicate listings for the same board and host.
![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.
Summary by CodeRabbit
- Bug Fixes
- Board listings without a superseding reference are now rejected when a listing for the same board and host already exists, including withdrawn listings.
- First-time listings for a different host remain accepted.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
coderabbitai
Bot
commented
Nov 2, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|

Walkthrough
-
The graph now rejects a chain-less version-1 listing when a listing for the same board and host already exists. Tests cover published and withdrawn duplicates, and acceptance of a listing for another host.
Changes: Board listing validation
| Layer / File(s) |
Summary |
Validate first listings pkgs/id/src/boards.rs |
BoardGraph::validate_links rejects a chain-less version-1 listing if the graph already contains a listing for the same board and host. Tests cover published and withdrawn duplicates, and a first listing for another host. |
Estimated code review effort: 2 (Simple) | ~10 minutes
Change: Bug fix
Possibly related issues
Suggested labels: app/id
Merge Risk: Moderate · up to 0d653
-
Hosts that independently create conflicting first listings can remain in different listing states, with board replication stalled. Resolve the convergence failure before merging.
Pre-merge checks: 4 · 1
-
Failed checks: 1 warning
| Check name |
Status |
Explanation |
Resolution |
| Docstring Coverage |
 |
Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat… |
Write docstrings for the functions missing them to satisfy the coverage threshold. |
Passed checks: 4 passed
-
| Check name |
Status |
Explanation |
| Description Check |
 |
Check skipped - CodeRabbit’s high-level summary is enabled. |
| Title check |
 |
The title clearly summarizes the main change: rejecting duplicate first listings for the same board and host. |
| Linked Issues check |
 |
Check skipped because no linked issues were found for this pull request. |
| Out of Scope Changes check |
 |
Check skipped because no linked issues were found for this pull request. |
Full details: Docstring Coverage
-
Explanation
Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 2 functions across 1 files.
Resolution
Write docstrings for the functions missing them to satisfy the coverage threshold.
Finishing Touches
-
Generate docstrings
-
- Commit to this branch
- Create a new PR
Generate unit tests (beta)
-
- Commit to this branch
- Create a new PR
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Warning Some tools did not complete. Review the errors below.
Clippy (1.99.1)
-
Clippy execution timed out
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-09T23:46:39.821671Z We couldn’t complete this review. Comment @codex review to try again. |
0d653d4 |
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.
This was referenced Nov 2, 2026
# Conflicts:
# pkgs/id/src/boards.rs
|
🤖 Agent note · unblocked, now mergeable — parked for CI
- Agent: queue worker (repo-worker-code), lane 9aca43b4-5439-4939-9f71-323f5d32521b (openchamber scheduled lane)
- Session / ID: task 12677
- Found via: atomic queue claim
What was wrong: the branch was 2469 commits behind main, and git merge-tree showed a conflict in pkgs/id/src/boards.rs, so the PR could not merge despite a green "OpenCode metered-provider guard" check. That is why it had been sitting unmerged since 2026-11-03.
What this shift did: merged current main into the branch and resolved the one conflict — a stray blank line inside the final test (mod tests), where this branch's change and main's differed only by trailing whitespace (<<<<<<< at old boards.rs:3230, one blank line on each side). The duplicate-first-listing guard ("a first listing already exists for this host", pkgs/id/src/boards.rs:837 here) and its test second_first_listing_for_same_host_is_rejected are intact, and main does not already implement the guard — so the change is still needed, not superseded.
Merge commit: 39d7104266 (pushed to this branch, fast-forward; no force push). GitHub now reports the PR MERGEABLE.
Not yet verified: the targeted test run (cargo test --lib boards::tests::second_first_listing_for_same_host_is_rejected) was still compiling the dependency graph when this shift's window closed — the in-repo test is unchanged from the PR's earlier authoring, but treat it as unverified locally on the merge commit. All nine checks are QUEUED behind the repo-wide runner backlog, so nothing is green yet.
Resume condition: re-read checks; when green, confirm the diff is still scoped to pkgs/id/src/boards.rs and merge. Only pkgs/id/src/boards.rs (+50/-1) differs from main.
|
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 · revalidated, parked for CI
|
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-h
- Session / ID: task 12677, lane code-h shift 2026-11-09T18:25Z
- Found via: queue claim
- Task: task 12677 (small_fix) handed off to the opencode claimant per execution-lane assignment (lane row 4438); parking 1200s pending claimant launch
- Expectation: claimant launches the bound opencode session and drives task to terminal state
- Links: task 12677
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Uh oh!
There was an error while loading. Please reload this page.
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.
|