GeezerVison is showing github.com — fix(id): update probe for signer authorization by dezren39 · Pull Request #8785 · developing-today/code
Conversation
dezren39
commented
Nov 11, 2026
•
edited by coderabbitai
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
Problem
probe_attestation_sign no longer compiled after sign_claim gained its &GenesisAgreement argument. The probe also asserted obsolete behavior: non-player signers are now rejected.
Solution
Pass the agreement at each claim-signing call, assert SignError::NotAPlayer for outsider genesis and claim signatures, and keep controls for accepted player signatures and duplicate-seat rejection.
Closes #8756.
Verification
~/tools/fleet-build-lock cargo test --manifest-path pkgs/id/Cargo.toml --test probe_attestation_sign
rustfmt --check --edition 2024 pkgs/id/tests/probe_attestation_sign.rs
git diff --check
![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
- Tests
- Expanded regression coverage to verify that signers outside an agreement’s player seats are rejected when signing genesis data or claims.
- Retained checks that player signatures succeed and agreements with duplicate player seats are rejected.
- Removed checks that treated signatures from non-player signers as successful or verified that their claims were ignored.
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
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-11T22:35:04.407402Z |
f771d36 |
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.
coderabbitai
Bot
commented
Nov 11, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|

No actionable comments were generated in the recent review.
Walkthrough
-
The attestation signing probe now passes a genesis agreement to sign_claim. It expects SignError::NotAPlayer for non-player signers and retains checks for valid player signatures and duplicate player seats.
Changes: Attestation signing probe
| Layer / File(s) |
Summary |
Signer membership checks pkgs/id/tests/probe_attestation_sign.rs |
The probe updates its sign_claim call and asserts that non-player signers are rejected for genesis and claim signing. It also checks successful player signatures and duplicate-seat rejection. |
Estimated code review effort: 2 (Simple) | ~10 minutes
Change: Other · Severity of issue fixed: Medium
Possibly related issues
- Issue 6487 describes refusing signatures from non-players at signing time. This PR adds probe assertions for that behavior but does not change the signing implementation.
Merge Risk: Minimal · up to f771d
-
This change updates a test probe so it compiles with the new sign_claim signature and checks that non-player signers are rejected. It has no production impact, and no actionable merge risk was found.
Pre-merge checks: 4
-
| Check name |
Status |
Explanation |
| Description Check |
 |
Check skipped - CodeRabbit’s high-level summary is enabled. |
| Title check |
 |
The title "fix(id): update probe for signer authorization" names the main change. The raw summary says the probe now expects sign_genesis and sign_claim to return SignError::NotAPlayer for a signer ou… |
| Linked Issues check |
 |
Objective [#8756]: update the sign_claim call sites in pkgs/id/tests/probe_attestation_sign.rs to pass the &GenesisAgreement argument. The diff against the merge base changes the claim calls to … |
| Out of Scope Changes check |
 |
All reviewed changes are in pkgs/id/tests/probe_attestation_sign.rs. They update the sign_claim call sites required by #8756. They also change the probe's asserted behavior to `SignError::NotAPlay… |
Full details: Title check
-
Explanation
The title "fix(id): update probe for signer authorization" names the main change. The raw summary says the probe now expects sign_genesis and sign_claim to return SignError::NotAPlayer for a signer outside the agreement's player seats, and the objectives describe the same change. The title is specific and concise, so it passes.
Full details: Linked Issues check
-
Explanation
Objective [#8756]: update the sign_claim call sites in pkgs/id/tests/probe_attestation_sign.rs to pass the &GenesisAgreement argument. The diff against the merge base changes the claim calls to sign_claim(&x, 0, None, &agreement, &claim, vec![]) and sign_claim(&stranger, 0, None, &agreement, &claim, vec![]). This matches the 6-argument signature quoted in the issue, with the agreement in argument #4. The diff also removes the obsolete assertions that non-player signatures succeed. Two points remain unverified. First, the PR does not show a full pkgs/id workspace cargo test run. The issue's acceptance wording mentions that run, but the PR reports only the single target. Second, I could not read attestation.rs at head to confirm that SignError::NotAPlayer exists and is returned for non-player seats. The compile fix itself is supported by the diff.
Full details: Out of Scope Changes check
-
Explanation
All reviewed changes are in pkgs/id/tests/probe_attestation_sign.rs. They update the sign_claim call sites required by #8756. They also change the probe's asserted behavior to SignError::NotAPlayer for outsider genesis and claim signatures. The PR description states this as the reason for the change, and the diff keeps the player-signature and duplicate-seat controls. The removed checks (stranger genesis succeeds, compute_state ignores a stranger claim) test the obsolete behavior named in the PR description. No unrelated production code or other files were shown as changed in the reviewed diff. I did not confirm the full PR file list, so this verdict covers only the reviewed diff.
Finishing Touches
-
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
-
Recent review info
-
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:
2473a222-4d32-4cf0-9b21-eb1f8a18f626
Commits
-
Reviewing files that changed from the base of the PR and between 7f14ad8 and f771d36.
Files selected for processing: 1
-
pkgs/id/tests/probe_attestation_sign.rs
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Agent note — task 17212 (lane any-b): PR #8785 closed as superseded by PR #8972 — nothing unique to salvage
Evidence (all fresh this shift):
Closing this PR as superseded (not merged). Issue #8756 is closed with the same evidence.
|
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.
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.
|