ci: confirm release performance on fresh runners - #165
Merged
theDakshJaitly merged 1 commit intoSep 2, 2026
Merged
Conversation
There was a problem hiding this comment.
🟢 Approval recommended
The CI orchestration changes are well-scoped, backed by explicit workflow/topology tests and thorough orchestrator validation tests, and preserve the existing performance budget semantics.
Pull request overview
This PR hardens the release-performance CI gate by splitting the first measurement and any policy-required confirmation into separately allocated GitHub-hosted jobs, then aggregating/validating bounded evidence in a stable final “release-performance” job.
Changes:
- Introduces a CI orchestrator that produces bounded attempt manifests, validates per-run allocation provenance, and finalizes a single combined report (fail-closed on missing/malformed/mismatched evidence).
- Updates the release benchmark report contract to record runner allocation provenance (
runnerAllocations) alongside runtime confirmation results. - Reworks the CI workflow to run attempt-1 always, attempt-2 only when required, and a final always-running aggregation gate; adds targeted tests asserting the workflow topology and orchestrator behavior.
File summaries
| File | Description |
|---|---|
| scripts/release-benchmark/report.schema.json | Extends runtime confirmation schema to optionally include bounded runner allocation provenance. |
| scripts/release-benchmark/release-benchmark.test.js | Updates contract tests to cover the new runnerAllocations runtimeConfirmation property. |
| scripts/release-benchmark/ci-workflow.test.js | Adds a Vitest guard verifying the CI workflow’s release-performance job topology and artifact naming invariants. |
| scripts/release-benchmark/ci-orchestrator.test.js | Adds comprehensive tests for the new fresh-runner orchestration and evidence validation rules. |
| scripts/release-benchmark/ci-orchestrator.mjs | Implements bounded CI attempt/finalize commands with strict provenance and digest validation. |
| docs/design/release-performance-baseline.md | Documents the new fresh-runner confirmation topology and evidence constraints. |
| .mex/patterns/release-performance-gate.md | Updates the release-performance gate pattern guidance to require distinct hosted-job confirmations. |
| .github/workflows/ci.yml | Splits release-performance into attempt-1, conditional attempt-2, and an always-running final aggregation gate with bounded artifacts. |
Review details
- Files reviewed: 8/8 changed files
- Comments generated: 0
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
theDakshJaitly
merged commit Sep 2, 2026
28cdc79
into
integration/human-team-memory-v1
10 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Why
The previous confirmation passes ran back-to-back on one hosted VM. Retained CI evidence showed identical repository content oscillating across materially different Graph, Wiki, and Search failure sets, so sustained runner contention could satisfy both sides of the confirmation rule.
GitHub-hosted jobs provide the independent runner allocation the policy intended. This PR changes only CI orchestration and evidence validation; release-performance budgets, sample counts, thresholds, and formulas are unchanged.
Validation
No Graph, Wiki, Hub, skill, or budget implementation files are changed.