8000 ci(bench): route v3 prepared suite from main (Refs #776) by adityamukho · Pull Request #814 · project-minigraf/minigraf · GitHub
[go: up one dir, main page]

Skip to content

ci(bench): route v3 prepared suite from main (Refs #776) - #814

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

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

Conversation

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

Refs #776 — P02 workflow companion for G02. Scheduled runs read bench.yml from main, so this mirrors the workflow in v3 PR #815 byte for byte.

Adds bench / prepared, filter ^prepared/, output bench_prepared.txt, requested Bencher latency threshold 0.99. It selects the four existing prepared execute IDs plus eight new preparation/cursor/count/time/entity-slot cases from the v3 source. Source checkouts without benches/minigraf_bench/prepared.rs skip this suite before running benchmarks or uploading, including main's 02:00 schedule. Existing suites keep running.

New IDs provided by the v3 companion (all under prepared/):

  • prepare_value_lookup/10k
  • unprepared_value_lookup/10k
  • cursor_drain/10k
  • unprepared_cursor_drain/10k
  • count_slots/10k
  • unprepared_count_slots/10k
  • time_entity_slots/10k
  • unprepared_time_entity_slots/10k

Expected additional nightly allowance: 4–10 job-minutes, unverified (2–5 for the existing cases, 2–5 for the new cases). Timing, executed-name/upload inspection, and fresh v3 Bencher history are deferred to serial phase B. No benchmark workflow dispatch in phase A.

Validation: YAML parsed, workflow files identical, selection shell exercised against both worktrees: v3 enabled, main skipped, existing main suites enabled. Normal CI and read-only review results will be posted before handoff.

🤖 Generated with Codex, orchestrated by Claude Code

@adityamukho
Copy link
Copy Markdown
Collaborator Author

Phase-A evidence for P02 / G02 (v3 #815; identical main workflow companion #814).

Untimed validation in .worktrees/776-p02, using private target/p02 and CARGO_BUILD_JOBS=4:

CARGO_BUILD_JOBS=4 CARGO_TARGET_DIR=target/p02 cargo bench --bench minigraf_bench --no-run
CARGO_BUILD_JOBS=4 CARGO_TARGET_DIR=target/p02 cargo bench --bench minigraf_bench -- --test '^prepared/'
CARGO_BUILD_JOBS=4 CARGO_TARGET_DIR=target/p02 cargo fmt --check
CARGO_BUILD_JOBS=4 CARGO_TARGET_DIR=target/p02 cargo clippy --all-features -- -D warnings

All completed successfully. Criterion test mode printed Testing <ID> / Success exactly once for each of the following 12 IDs (eight new, four existing), with no sampling/timing runs:

prepared/value_lookup/1k
prepared/value_lookup/10k
prepared/threshold_filter/1k
prepared/threshold_filter/10k
prepared/prepare_value_lookup/10k
prepared/unprepared_value_lookup/10k
prepared/cursor_drain/10k
prepared/unprepared_cursor_drain/10k
prepared/count_slots/10k
prepared/unprepared_count_slots/10k
prepared/time_entity_slots/10k
prepared/unprepared_time_entity_slots/10k

Untimed checks assert 5,000 rows from each cursor drain, the exact ordered page 100–109 for count slots, and historical value 1 for temporal/entity binds. New cases use matching literal controls. The workflow job is bench / prepared, filter ^prepared/, output bench_prepared.txt, requested latency threshold 0.99.

Both workflow copies are byte-identical. YAML and the exact selection shell were checked: v3 source enables the prepared suite; main source skips it before running/uploading; existing main suites remain enabled.

Review: the requested codex exec -m gpt-6-astra -s read-only review completed for both branches (stdin closed). Both reported no concrete findings. The v3 review included the exact staged source subsequently committed as 42162d6cb; the main review covered 6751a985a. No review findings needed fixing or rejection.

No SSH, timed benchmark, or benchmark-workflow dispatch. Provisional 4–10 job-minute allowance remains unmeasured. Serial phase B must dispatch, confirm executed names/uploads, and establish fresh v3 Bencher history. Both worktrees are retained.

@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

Phase A complete: all normal CI checks are green at the reviewed/pushed commits:

Both gh pr checks --watch sessions completed successfully. Untimed execution evidence and both clean read-only reviews are recorded above. No fixes or rejected review findings were needed. The worktrees remain in place; neither PR was merged.

Phase B is deliberately pending: serial manual Actions dispatch for timing, executed-ID/upload verification and fresh v3 Bencher history. No benchmark workflow was dispatched in this phase.

Mirror the P02 workflow route on main so scheduled v3 runs select the existing prepared cases and new preparation/cursor/slot controls. Skip the suite before running or uploading on source checkouts without the v3 benchmark module.

Co-Authored-By: Codex <noreply@openai.com>
@adityamukho
adityamukho merged commit d9a51ad into main Nov 3, 2026
17 checks passed
@adityamukho
adityamukho deleted the ci/776-p02-main branch November 3, 2026 07:18
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