8000 ci(bench): route v3 history and retraction shortlist (Refs #776, P11) by adityamukho · Pull Request #809 · project-minigraf/minigraf · GitHub
[go: up one dir, main page]

Skip to content

ci(bench): route v3 history and retraction shortlist (Refs #776, P11) - #809

Merged
adityamukho merged 1 commit into
mainfrom
ci/776-p11-main
Nov 3, 2026
Merged

adityamukho merged 1 commit into
mainfrom
ci/776-p11-main

Conversation

@adityamukho
@adityamukho adityamukho commented Nov 3, 2026 •
Copy link
Copy Markdown
Collaborator

Refs #776 — P11 / G13. This is the identical default-branch workflow companion for the v3 history/retraction coverage PR #816.

Routes ten existing IDs through bench / history_retract:

  • point_query_chain_depth/{churned_attr,sibling_attr,attr_scan,churned_attr_as_of}/{1,2000} (8 IDs)
  • retract/{single_fact,batch_100}/10k (2 IDs)

Filter: ^(point_query_chain_depth/(churned_attr|sibling_attr|attr_scan|churned_attr_as_of)/(1|2000)|retract/(single_fact|batch_100)/10k)$.

A source-availability check on the actual checkout skips this v3-only suite's sampling, Bencher installation/upload and regression reporting whenever the as-of benchmark is absent. This includes main, main-derived branches, tags and aliases; v3 and v3 follow-up branches run the shortlist. Bencher retains the existing 0.99 latency threshold and reporting path. Duplicate pending btree_lookup/ cases remain excluded because query/point_entity and query/point_attribute already cover that path (audit C41).

Reserve 3–10 additional job-minutes, an unmeasured planning allowance. No benchmark workflow dispatch or timed local run was performed; phase B will collect timing and reporting evidence serially. The v3 PR separately makes history fixture construction lazy without changing IDs or measured work.

Validation: YAML parsing, exact ten-ID selection, depth-500/larger-retraction/duplicate-lookup exclusions, actual-checkout availability guards, byte-identical workflow files, and git diff --check. Normal CI is green: all 16 checks passed. The final gpt-6-astra follow-up review of the identical workflow reported no findings after the verified checkout-gating issue was fixed. Untimed v3 execution evidence and review details are in the PR comment.

🤖 Generated with Codex, orchestrated by Claude Code

@codecov
codecov Bot commented Nov 3, 2026
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@adityamukho
Copy link
Copy Markdown
Collaborator Author

Refs #776 — P11 phase A evidence.

All ten shortlisted IDs passed once per ID in the final local Criterion test-mode invocation from the v3 worktree (no timing), on commit e0453e8919e1013def5b9576aa164dec137f15c6:

CARGO_BUILD_JOBS=4 CARGO_TARGET_DIR="$PWD/target/p11" cargo bench --bench minigraf_bench -- --test '^(point_query_chain_depth/(churned_attr|sibling_attr|attr_scan|churned_attr_as_of)/(1|2000)|retract/(single_fact|batch_100)/10k)$'
retract/single_fact/10k                             Success
retract/batch_100/10k                               Success
point_query_chain_depth/churned_attr/1              Success
point_query_chain_depth/churned_attr/2000           Success
point_query_chain_depth/sibling_attr/1              Success
point_query_chain_depth/sibling_attr/2000           Success
point_query_chain_depth/attr_scan/1                 Success
point_query_chain_depth/attr_scan/2000              Success
point_query_chain_depth/churned_attr_as_of/1        Success
point_query_chain_depth/churned_attr_as_of/2000     Success

The same exact filter selects these ten IDs in bench / history_retract. No new IDs were introduced. cargo bench --bench minigraf_bench --no-run, cargo fmt --check, CI-equivalent cargo clippy --all-features -- -D warnings, and git diff --check passed. Local checks also parsed YAML, verified shortlist exclusions, exercised the actual availability shell step against both v3 and main checkouts (including a main ref alias), and confirmed byte-identical workflow files between the companion branches. Existing benchmark deprecation warnings remain.

Read-only gpt-6-astra review found two real issues across the initial reviews. Both were verified and fixed:

  • The literal-main guard allowed main-derived aliases/branches to upload a partial selection. Sampling and reporting now share an availability decision based on the actual checkout.
  • Setup directly in the Criterion callback rebuilt history fixtures for warmup and each sample. A per-ID OnceLock outside the callback now retains one fixture; construction and expected-version assertions stay outside timing.

The final gpt-6-astra follow-up review reported no concrete findings and verified both fixes. No findings were rejected.

Normal CI: green for both PRs: v3 #816 has 19 passing checks; main #809 has 16 passing checks. Both gh pr checks --watch commands completed successfully.

Workflow companion pair: #816 (v3), #809 (main). Reserve 3–10 extra job-minutes, still unmeasured. No timed local runs, SSH, or benchmark workflow dispatches were performed. Phase B must collect runtime, execution-name and Bencher evidence serially. Both worktrees remain in place.

🤖 Generated with Codex, orchestrated by Claude Code

Add the P11 history_retract suite, skip its sampling and reporting for the main checkout, and document the redundant pending lookup exclusion.

Co-Authored-By: Codex <noreply@openai.com>
adityamukho added a commit that referenced this pull request Nov 3, 2026
Add the ten-case P11 history_retract shortlist, explain the pending lookup exclusion, and reserve an unmeasured 3–10 minute nightly allowance. Gate sampling and reporting on benchmark availability in the actual checkout so main-derived refs skip the v3 suite. The default-branch companion is PR #809.

Co-Authored-By: Codex <noreply@openai.com>
@adityamukho
adityamukho merged commit c72d9d1 into main Nov 3, 2026
17 checks passed
@adityamukho
adityamukho deleted the ci/776-p11-main branch November 3, 2026 07:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0