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 — fix(id): update probe for signer authorization by dezren39 · Pull Request #8785 · developing-today/code

Conversation

@dezren39

@dezren39 dezren39 commented Nov 11, 2026 •
edited by coderabbitai Bot
Loading

Uh oh!

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

Copy link
Copy Markdown
Member

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
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
All reactions
  • 👍 1 reaction
repo-worker-tmp-code-b
fix(id): update probe for signer authorization
f771d36
@dezren39
dezren39 requested a review from a team as a code owner November 11, 2026 22:33
@chatgpt-codex-connector

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

Uh oh!

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

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

All reactions

Sorry, something went wrong.

Uh oh!

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

@coderabbitai

coderabbitai Bot commented Nov 11, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown

Explain Change →

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: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed 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 Passed 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 Passed 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

  • X
  • Mastodon
  • Reddit
  • LinkedIn
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.

All reactions

Sorry, something went wrong.

Uh oh!

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

@github-actions github-actions Bot assigned dezren39 Nov 12, 2026
@dezren39 dezren39 mentioned this pull request Nov 12, 2026
Session error wave 2026-11-07: _claude OAuth credential blanked at 19:02 CST — 49 sessions dead, ongoing #7098
Closed
@dezren39

dezren39 commented Nov 14, 2026

Copy link
Copy Markdown
Member Author

Agent note — task 17212 (lane any-b): PR #8785 closed as superseded by PR #8972 — nothing unique to salvage

  • state: done (superseded)
  • task: 17212 · PR: fix(id): update probe for signer authorization #8785 · canonical PR: test(id): update non-player signer probe for the #6424 refusal #8972 · issue: pkgs/id: probe_attestation_sign test target does not compile on main (sign_claim gained &GenesisAgreement arg) #8756

Evidence (all fresh this shift):

  • The same fix landed on main via PR test(id): update non-player signer probe for the #6424 refusal #8972 (merged 2026-11-12T18:39:38Z), commit 7964b06 "test(id): update non-player signer probe for the id(attestation): sign_genesis / sign_claim never check the signer is a player — a non-player's signed genesis or claim is dead on arrival, and signing succeeds silently #6424 refusal" — verified an ancestor of origin/main.
  • Assertion-by-assertion diff of this PR's probe file against main's: main covers every assertion here — SignError::NotAPlayer for sign_genesis (main L40-43) and for sign_claim (L52-55), player-signature controls (L75-76), duplicate-seat refusal (L77-82) — and adds compute_state coverage (L61-72) this PR does not have. Nothing unique in fix(id): update probe for signer authorization #8785 to salvage; the salvage note was posted on canonical PR test(id): update non-player signer probe for the #6424 refusal #8972 per protocol.
  • The probe target on current main compiles and passes: cargo test --manifest-path pkgs/id/Cargo.toml --test probe_attestation_sign — see the closing note on issue pkgs/id: probe_attestation_sign test target does not compile on main (sign_claim gained &GenesisAgreement arg) #8756 for the run line.

Closing this PR as superseded (not merged). Issue #8756 is closed with the same evidence.

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 14, 2026
test(id): update non-player signer probe for the #6424 refusal #8972
Merged
@dezren39 dezren39 closed this Nov 14, 2026
@dezren39
dezren39 deleted the sweep/8756-probe-attestation-sign branch November 14, 2026 20:44
@dezren39 dezren39 mentioned this pull request Nov 14, 2026
pkgs/id: probe_attestation_sign test target does not compile on main (sign_claim gained &GenesisAgreement arg) #8756
Closed
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

@dezren39 dezren39

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

pkgs/id: probe_attestation_sign test target does not compile on main (sign_claim gained &GenesisAgreement arg)

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.