You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
pr-pipeline: run cut PRs' before/after evals in CI with a base-vs-head compare mode #17854
Every cut PR holds for a no-loss compare of its base against its head (owner decision Q53). .github/workflows/pr-run-plugin-evals.yml runs a dispatch only on the default branch (:206-212), and its pull-request path runs the head's suite as a with-and-without-plugin ablation, not base against head. So each compare runs on one desk machine, one at a time under the heavy-run lock, at 20-35 minutes each. On 2026-11-21 the ten held cut PRs kept the issue lane at its held cap of 10 for about 5 hours, and each wave of cut PRs repeats it.
Decision
Decision recorded. Owner, 2026-11-21, typed in the backlog-drive session (verbatim): "Go with recommendations." This answers Q136, option A, which was shown to him as a trust-boundary change: PR-head plugin text runs next to the eval credential. Row: docs/owner-decisions.md:292 in melodic-software/architecture (Q136, GitHub Work numbering).
Add a compare mode to pr-run-plugin-evals.yml: the harness runs from the default branch; it checks out the PR's base and head as data only (the plugin text under test, no PR scripts or workflow files run), runs the same registered cases on both arms in parallel on the API key under the registration's cost cap, and posts the eval kit's own record line on the PR. No subscription token reaches PR-running code.
Done when
pr-run-plugin-evals.yml has a compare mode that takes a PR number and a registration, checks out the base and head commits as data only, and runs the registered cases on both arms from the default branch's harness.
No step in compare mode executes a script, hook, workflow or package manifest from the PR's base or head checkout; a test or workflow lint asserts the PR checkouts are used only as plugin input paths.
Compare mode authenticates only with the eval API key, never a subscription token, and stops before any run when the registration's cost cap is missing or the key has no credit.
Both arms run in parallel jobs, and the result posts the eval kit's record line for the PR head it measured, so the existing eval-hold release reads it.
A compare run on a PR whose head moved after dispatch posts no record.
The workflow's tests pass under node --test --test-concurrency=4 for the changed scripts.
Size: Medium
Complexity: Medium
Uncertainty: Knowable
Flags: none
Blocked by: none
Blast radius: pr-run-plugin-evals.yml and its scripts and tests; it runs on every cut PR's eval hold and is read by the eval-hold release.
Reversible: yes; revert the workflow change. Eval records already posted on PRs stay.
Open questions: none
Understood: add a compare mode to the eval workflow. The harness runs from the default branch, the PR base and head are checked out as data only, both arms run in parallel on the eval API key, and the record line is posted for the head that was measured. The design and the done-when list are exact, so no owner question remains. The decision quote sits in the issue body, not in a comment, so I treated the issue's own design as the chosen one. The compare run spends prepaid API credit, which is not a new charge. The change moves PR-head plugin text next to the eval credential, so the security review should look closely at the data-only checkout. No duplicate or merged fix found.
Not admitted to the issue lane: its title or stated work names a charge (a spend guard), which needs an owner decision. Admission takes the issue once each of those is met, when intake triages it again (.github/actions/resolve-config/admission-rules.json).
Reason: cost
melodic-automation-lanes commented on Nov 21, 2026
Activity
github-actions commentedon Nov 21, 2026
The triage sweep dispatched intake triage for this issue (dispatch 1; 2 runs that reach intake, or 6 dispatches, hand it to a maintainer).
github-actions commentedon Nov 21, 2026
Size: Medium
Complexity: Medium
Uncertainty: Knowable
Flags: none
Blocked by: none
Blast radius:
pr-run-plugin-evals.ymland its scripts and tests; it runs on every cut PR's eval hold and is read by the eval-hold release.Reversible: yes; revert the workflow change. Eval records already posted on PRs stay.
Open questions: none
Understood: add a compare mode to the eval workflow. The harness runs from the default branch, the PR base and head are checked out as data only, both arms run in parallel on the eval API key, and the record line is posted for the head that was measured. The design and the done-when list are exact, so no owner question remains. The decision quote sits in the issue body, not in a comment, so I treated the issue's own design as the chosen one. The compare run spends prepaid API credit, which is not a new charge. The change moves PR-head plugin text next to the eval credential, so the security review should look closely at the data-only checkout. No duplicate or merged fix found.
Automated triage. A maintainer reviews it.
melodic-automation-lanes commentedon Nov 21, 2026
Not admitted to the issue lane: its title or stated work names a charge (a spend guard), which needs an owner decision. Admission takes the issue once each of those is met, when intake triages it again (
.github/actions/resolve-config/admission-rules.json).Reason:
costmelodic-automation-lanes commentedon Nov 21, 2026
The latest triage verdict holds nothing: admission moved the issue to
needs-owner-decision; its comment says why.feat(pr-pipeline): add a base-vs-head compare mode to pr-run-plugin-e…
fix(pr-pipeline): refuse compare re-runs, require a case filter and m…
fix(pr-pipeline): register the compare jobs with the lane, gate and b…
fix(pr-pipeline): read the pull request in compare-head.sh outside an…
fix(pr-pipeline): require a compare run's commit on main, refuse unme…
fix(pr-pipeline): compare a compare run's commit against the default …