Repository navigation
fix(ci): bound planner benchmark dispatch inputs - #198147
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. What this changesThis PR adds validated workload, case, and repetition inputs to the manual planner benchmark workflow. Example: Select workload e69eda8, case main, and one repetition.
Review scores
ProductKind: Feature · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this maintainer-authored PR adds useful bounded benchmark controls, and no actionable introduced defect was found. Priority: P2 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe manual GitHub Actions workflow validates operator selections, installs separate harness and workload checkouts, invokes the existing planner benchmark CLI, and uploads its bounded report. flowchart LR
A[Manual dispatch] --> B[Validate selections]
B --> C[Checkout harness and workload]
C --> D[Verify pins and install]
D --> E[Existing benchmark CLI]
E --> F[Manifest and check planners]
F --> G[Bounded report artifact]
Technical reviewBest possible solution: Retain the bounded workflow selections and existing collector as the single owner of measurement behavior. Do we have a high-confidence way to reproduce the issue? This is a workflow capability addition; source confirms the existing fixed selections, and supplied exact-head hosted validation exercises the new validation blocks. Is this the best way to solve the issue? The patch is a focused extension of the existing workflow and collector, with distinct validation and binding tests and no unnecessary production machinery. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against c8be02055001. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceTests +156, Docs +15, Config +53. Total +224 across 3 files. Added test files: 0. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. Review metrics
LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed November 13, 2026, 2:15 AM ET / 07:15 UTC. |
|
Merged via squash auto-merge.
|
Synchronize canonical planner tooling from 3bd03da (upstream #195711, #198089, #198107, #198147) without importing unrelated schema or runtime changes. Preserve upstream tests: 398 lines accounted by the original 157-line allocation and 241-line synchronization allocation. Archive feature test growth remains 400 lines. Include the SQLite full-text owner in host and worker benchmark source identity. Add source-only preflight; this does not claim a latency pass or waive existing performance failures. Co-authored-by: hannesrudolph <[email protected]>
* fix(ci): bound planner benchmark dispatch inputs * fix(ci): restrict planner runs to reviewed workloads * fix(test): guard optional planner checkout assertions
Related: #195711.
What Problem This Solves
The manual planner benchmark always selects the historical workload and fifteen flows. Its first baseline attempt failed the frozen main-case job-cap check before producing a valid sample. Maintainers need to qualify one real planning flow before requesting a full baseline, without allowing dispatch inputs to select arbitrary executable source.
User Impact
The hosted workflow can select either the historical workload
79f5aeb133830a1db60b55cff3cf7a617086aa07or the reviewed landed workloadba284782cf1705d7e5f1f085b9cdefbb55932af6, one case (all,main,cron, ordiscord), and one to five repetitions. Historical defaults remain unchanged.All inputs are validated before checkout. Unlisted SHAs are rejected even when well formed. Two mutually exclusive checkout steps use literal canonical-repository refs; checkout identity and matching complete package-manager integrity pins are checked before installation. Adding a hosted workload requires a reviewed workflow change. The local CLI remains general.
Why This Change Was Made
A SHA syntax check does not establish trust in the code it selects. Fixed reviewed revisions restrict execution authority and address the cache-poisoning path found in the initial dynamic-checkout version. Disabling action-level caches does not revoke runner cache tokens; this change does not claim otherwise.
The collector, planning policy, job cap, runtime pins, limits and report/error semantics are unchanged. A single successful flow is an admission check, not a fifteen-flow baseline or a performance result.
Evidence
71ebd8c73f330cb6dbf636f3ae4d847331ea861cagainst the frozen base found no actionable correctness or security findings. The source review did not run project tests.e69eda8head. Its subsequent CodeQL finding prompted this trust correction; that earlier execution is not proof for the new head.71ebd8c, including real timeout and cancellation. Typecheck then found three possibly undefined array accesses in test assertions; this follow-up adds optional access while preserving the exact-length and expected-value assertions. The mechanical delta received independent source review. Later lint, formatting, workflow and Knip checks did not run in that failed job.5bc89d2cd0c425c3091a9158af8c6f771bcc9864. The fresh local review of the unchanged behavior above is reused with the three-access delta review. Full local workspace dependencies are not admitted. No new benchmark has been dispatched, no valid baseline has been collected, and no speedup is claimed.