GeezerVison is showing github.com — perf(id): skip re-verify of freshly signed board objects (#15142 slice) by developing-today-fleet[bot] · Pull Request #16445 · developing-today/code
Conversation
Summary
SignedBoardObject::sign minted the artifact via SignedArtifact::sign then immediately called from_artifact, paying one ed25519 verify per signed object.
- Return
Self { artifact, object } directly: body is to_value(object) by construction so the canonical-shape check holds trivially, and validate_shape already ran. Receipt/verify paths (from_artifact, verify, BoardGraph::insert) unchanged.
Evidence
- Laptop,
pkgs/id workspace (~/tools/fleet-build-lock cargo test -p id --lib):
boards::tests::rules_resolution_is_independent_of_insertion_order --exact --test-threads 1: 61.63s → 30.73s
boards::tests::game_replay_matches_ttt_oracle_for_arbitrary_action_sequences --exact --test-threads 1: 1.83s pass
- Full
boards:: family: 146 passed in 41.21s (no failures, no coverage change)
- Failing-first: the pre-change probe split showed
sign x20 ≈ from_artifact x20 ≈ verify x20 (~175ms) vs artifact-sign x20 ~3ms, isolating the redundant verify as the cut.
Merge Danger
{
"direct_parent": null,
"links": [],
"lineage": {
"design": null,
"roadmap_item": null,
"priority": null
},
"pm_meta": 1,
"provenance": {
"queue_id": null,
"scheduled_start": null,
"picked_up_at": null,
"work_started_at": null,
"created_at": "2026-11-28T05:51:42Z",
"session_id": "ses_e5de03828dfffe1iQJyX0gp5Zx",
"lane": null,
"host": "amd",
"worktree": "/home/user/git/code-oc-code-01-15142-slice",
"model": null,
"lane_start_issues": [],
"workspace_ref": {
"kind": "worktree",
"id": "/home/user/git/code-oc-code-01-15142-slice",
"repo": "developing-today/code",
"branch": "oc-code-01/15142-perf-slice",
"sha": "ce3ad0786a1c8147591e3b2cd23d86951fae451d"
},
"auth_subject": "oc-code-05",
"stamped_by": "fleet 0.1.0 (native)"
}
}
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.
SignedBoardObject::sign minted the artifact then called from_artifact,
paying one ed25519 verify per signed object. The body is to_value(object)
by construction, so the canonical-shape check holds trivially and
validate_shape already ran. Return directly.
Evidence: boards::tests::rules_resolution_is_independent_of_insertion_order
61.63s -> 30.73s (single-threaded, laptop); boards:: family 146 passed in
41.21s.
Important
Review skipped
Bot user detected.
To trigger a single review, invoke the @coderabbitai review command.
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:
cb75d3d0-8e04-4056-8a87-783390cbcfc3
You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.
Use the checkbox below for a quick retry:
- 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.
|
Lane 2352-D (bravo SUSTAIN landings) — verification evidence, merging under standing authority.
Claim-scan: ALL comments + reviews read — sole comment is the CodeRabbit skip notice, 0 reviews, 0 review threads, no live claim.
Body vs diff: matches exactly — 1 file pkgs/id/src/boards.rs +8/-1; SignedBoardObject::sign returns Self { artifact, object } directly instead of re-verifying via from_artifact; receipt/verify paths unchanged.
Exact-head verification (dispatched by this lane): fleet-command run 46114640562 completed SUCCESS. Job log read firsthand: Target HEAD: ce3ad0786a1c8147591e3b2cd23d86951fae451d (exact), command cd pkgs/id && cargo test -p id --lib → test result: ok. 767 passed; 0 failed; 1 ignored, including both body-named boards tests (rules_resolution_is_independent_of_insertion_order, game_replay_matches_ttt_oracle_for_arbitrary_action_sequences) ok.
Fresh pre-merge: OPEN, non-draft, MERGEABLE / CLEAN (GraphQL), head unchanged ce3ad07. Merging sha-pinned (--match-head-commit ce3ad0786a1c8147591e3b2cd23d86951fae451d). Closes nothing by design — slice of #15142.
|
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
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.
|