Repository navigation
bench: cover memory-limit controls and schedule v3 acceptance (Refs #776 P15) - #831
Conversation
|
Phase-A untimed evidence (Refs #776, P15 / G07): Each new ID executed once in Criterion test mode: Formatting, library clippy ( Review: requested read-only
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
|
Final phase-A verification (Refs #776 P15): current-head normal CI completed without failures on v3 #831 ( |
…P15) Compare limited/unlimited count and hash aggregation on committed 10k fixtures; accounting remains always on. Schedule existing RSS/state gates from main and retain pinned source/test evidence. Co-Authored-By: Codex <noreply@openai.com>
Cold-build smoke and acceptance jobs must not read or populate default-branch caches when testing a manually selected ref. Co-Authored-By: Codex <noreply@openai.com>
Only the separate v3 acceptance jobs need the selected source revision. Retain actual main smoke provenance in its job summary. Co-Authored-By: Codex <noreply@openai.com>
90b4e71 to
7652ca1
Compare
The default-main smoke schedule cannot currently run v3's memory acceptance targets. This routes them to a pinned v3 checkout and adds four finite-limit versus unlimited latency controls. Refs #776, P15 / G07. Main workflow companion: #830; both workflow files are identical across the PRs.
memory_meter/{count,hash_groups}/{unlimited,limited}/10k(4 cases). Identical committed 10k-fact fixtures; streaming count versus retained expression-key hash groups; finite 8 MiB versususize::MAX. Setup, warm-up checks and a low-limit QRY-012/Aggregate rejection control are outside timing. Full cursor drain uses bounded batches and black_box.bench / memory_meter, filter^memory_meter/, filebench_memory_meter.txt; reserve 2–5 job-minutes pending phase B. Main/old refs skip the suite when its source sentinel is absent, before selection/measurement/Bencher upload.smoke.ymlnow checks out v3 at 17:00 UTC and runs existing query-memory (1M groups, 4 KiB count, cartesian RSS), recursive RSS, 10M-fact limit/top-k, 1M transaction chunk high-water, and size-per-fact acceptance. Main smoke remains at 05:00 UTC. Pin the actual source SHA, record workflow SHA/command/test names, and retain logs/RSS/state for 30 days. Existing 15/30/45-minute budgets remain; actual added schedule runtime is unverified.Accounting runs even under
usize::MAX: these pairs turn finite-limit enforcement on/off and do not claim an accounting-disabled baseline. A true unmetered engine would require library changes, excluded by this brief. RSS/state gates are separate from Bencher's latency measure.Validation:
cargo bench --bench minigraf_bench --no-run;cargo bench --bench minigraf_bench -- --test '^memory_meter/'executed all four IDs once, untimed;cargo fmt --check; librarycargo clippy --all-features -- -D warnings; actionlint on both workflows (only its unsupportedcache-modefield diagnostic excluded); companion byte comparison. Existing unrelated bench deprecation/import warnings remain. No timed local runs, SSH, or benchmark dispatch; serial phase B must supply actual checkout/executed acceptance names, timing and reporting evidence.CI follow-up: the original smoke job now checks out literal
mainand records its actual SHA; only acceptance jobs use the selected pinned source. The smoke workflow setscache-mode: noneso these cold-build jobs cannot read or populate shared caches. This addresses the first-head CodeQL cache-poisoning finding.🤖 Generated with Codex, orchestrated by Claude Code