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 — perf(id-directory): skip redundant keyset re-verification in fold-order property by developing-today-fleet[bot] · Pull Request #16224 · developing-today/code

Conversation

@developing-today-fleet

@developing-today-fleet developing-today-fleet Bot commented Nov 27, 2026 •
edited by blacksmith-sh Bot
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

Summary

Next slice of #15142 (diagnosis + cut): the fold-order property test
keyset::tests::generated_histories_fold_to_the_model_state inserted
byte-identical records into four logs (forward, reverse, left, right),
and every Log::insert re-ran full signature verification (sha256 +
ed25519 verify + key derivation at opt-level 0). New test-only
Log::insert_preverified skips re-verification for the reverse/left/
right logs; the forward log still uses the real insert, so every
record is verified exactly once. Production insert is
behavior-identical (shares the map-insert helper). The oracle — the
HistoryModel model-based fold-equivalence property across insertion
orders — is untouched, as are the dedicated verify rejection tests.

Evidence

Command (both runs, laptop, 16 cores via fleet-build-lock):
cargo-nextest nextest run --all-features -p id-directory --lib --profile ci -E 'test(generated_histories_fold_to_the_model_state)'

  • Before: 59.443s (this branch base; fleet runner run 45941730287: 71.538s for the same test)
  • After: 16.566s (−72% laptop; solo-test and in-module 16.312s agree)
  • Full keyset:: module after the cut: 20 passed / 0 failed (includes the
    deterministic-fork-resolution property and the verify-rejection tests)

Evidence level: ran on the laptop at b11629c2d65. Full-suite
fleet-runner verification is blocked: origin/main currently fails
cargo check --all-features -p id-cli --lib (E0277, &dyn Fn not
Sync in world_export.rs, from #16179; fix in flight in #16196).
Full-suite after-number to follow once main builds again.

Refs #15142

Merge Danger

Low. Test-only helper plus a behavior-preserving refactor of
Log::insert internals. No production API change; no coverage removed
(same 64 cases, same assertions, every record still verified once).

{
  "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-27T15:41:42Z",
    "session_id": "ses_e5de2a1378effe3sybJJIRxIT5",
    "lane": null,
    "host": "amd",
    "worktree": "/home/user/git/fleet/15142-perf-slice-20261127T143431Z-73e51f07",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/user/git/fleet/15142-perf-slice-20261127T143431Z-73e51f07",
      "repo": "developing-today/code",
      "branch": "oc-code-05/15142-perf-slice",
      "sha": "b11629c2d65217826b52fb1f58ef671fc794d9d0"
    },
    "auth_subject": "code-j",
    "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.

All reactions
@dezren39
perf(id-directory): skip redundant keyset re-verification in fold-ord…
b11629c
…er property

The generated-histories property inserts byte-identical records into
four logs (forward, reverse, left, right); each Log::insert re-ran full
signature verification. Verify once via the forward log and use a
test-only insert_preverified for the other three: the fold-equivalence
oracle is untouched and production insert is behavior-identical.

Refs #15142
@coderabbitai

coderabbitai Bot commented Nov 27, 2026

Copy link
Copy Markdown

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: d96dbc1f-3496-46ad-879a-78297ba09708

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:

  • Trigger review
  • 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.

@developing-today-fleet developing-today-fleet Bot mentioned this pull request Nov 27, 2026
[Performance] pkgs/id unit tests take 358s against the 120s target — profile and cut #15142
Open
4 tasks
@developing-today-fleet

developing-today-fleet Bot commented Nov 27, 2026

Copy link
Copy Markdown
Contributor Author

Lane 0952-H (bravo SUSTAIN landings, 2026-11-27) — verified on exact head, merging under standing authority.

  • Claim scan: all comments/reviews read — only CodeRabbit review-skipped; no live sibling claim. Head stable across reads: b11629c, OPEN, non-draft, CLEAN/MERGEABLE immediately before merge. Diff scope matches body: single file pkgs/id/crates/id-directory/src/keyset.rs, +20/-5.
  • Exact-head verification: fleet-command run 46032162610 https://github.com/dezren39/fleet/actions/runs/46032162610 (dispatch_id 0952H-16224) = completed / success. Job log verifies "Target HEAD: b11629c" and cargo test --manifest-path pkgs/id/Cargo.toml --all-features -p id-directory --lib keyset:: -> "test result: ok. 20 passed; 0 failed", including keyset::tests::generated_histories_fold_to_the_model_state ok in 13.53s (consistent with the body's after-cut timing; the body notes full-suite verification was blocked by an unrelated main id-cli failure, and this scoped module gate is the PR's own oracle).
  • Refs [Performance] pkgs/id unit tests take 358s against the 120s target — profile and cut #15142 only — that issue stays open for its remaining slices.
All reactions

Sorry, something went wrong.

Uh oh!

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

@developing-today-fleet
developing-today-fleet Bot merged commit dc94548 into main Nov 27, 2026
2 checks passed

Uh oh!

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

@developing-today-fleet
developing-today-fleet Bot deleted the oc-code-05/15142-perf-slice branch November 27, 2026 16:38
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

None yet

Projects

None yet

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.

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.