Repository navigation
ci: measure the pinned MCP evidence pair on one hosted runner - #5838
Conversation
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (1)
🔗 Linked repositories identifiedCodeRabbit considers these linked repositories for cross-repo context during reviews:
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 0 remain after this review. Summary by CodeRabbit
WalkthroughThe workflow adds an opt-in manual MCP evidence run. When selected, it skips the normal wheel build, builds pinned baseline and candidate executables, runs bounded paired measurements, and uploads the evidence artifact. ChangesMCP Evidence Pair
Priority: ⬇️ Low Estimated code review effort: 4 (Complex) | ~45 minutes Change: Other Sequence Diagram(s)sequenceDiagram
participant Dispatch as GitHub Actions dispatch
participant EvidenceJob as mcp-evidence-pair job
participant PinnedSources as Pinned source revisions
participant Executables as Release executables
participant Harness as Measurement harness
participant Artifact as Seven-day artifact
Dispatch->>EvidenceJob: Start when mcp_evidence_pair is enabled
EvidenceJob->>PinnedSources: Check out baseline, candidate, and corpus revisions
EvidenceJob->>Executables: Build baseline and candidate sequentially
EvidenceJob->>Harness: Run bounded paired measurements
Harness->>Executables: Run CLI and MCP checks
Harness-->>EvidenceJob: Record measurements and transcripts
EvidenceJob->>Artifact: Upload bindings, harness, and output
Merge Risk: ⚪ Minimal · up to This change adds an optional manual workflow mode that measures two pinned builds on one hosted runner. It is off by default, so normal wheel qualification is unaffected. If the advisory run misbehaves, the only effect is a failed optional run. Merge risk is minimal. Architecture SummaryArchitecture risk: 🔵 Low · up to The changed surface does not map to a changed system, dependency edge, entrypoint, or external dependency. Changed systems: None identified. Architecture concerns Review detailsBefore / after behavior
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Description checkExplanation The description gives extensive technical detail about the workflow, safeguards, proof, results, claim limits, and rollback. However, it does not complete several required template sections, including scope classification, support-tier impact, engineering checks, spec-test-code traceability, and the individual CI economics and gate results. Resolution Add the missing template sections and explicitly record their status. Complete the scope classification, support-tier and policy impact, engineering checks, spec-test-code traceability, static language check, CI economics fields, and applicable gate results. Use “n/a” where a field does not apply.
✨ Finishing Touches🧪 Generate unit tests (beta)
A rabbit checks the pinned source, Comment |
EffortlessSteven
left a comment
There was a problem hiding this comment.
Independent source/control inspection of initial published head5bcd949232fb2032bf1255531dce1a9b23e07a11/tree3ebd7de6ee2396b42f6c6a6dd674c510dc1578d9 found REPAIR_REQUIRED: outer deadline could interrupt active-group reaping; retained writes exceeded the cap before checking; inline run block242 exceeded existing194 budget; CLI clock parsing/close errors could discard failure output. Native action/pin/subject/corpus/routing/permissions and paired-session populations were otherwise coherent. Repairs were made through this candidate, with projected bounded writes/reserved receipts, active Popen teardown, separate helper/protocol steps, bounded retained output/status and named unavailable metrics. Latesthead856db1669047e12ff9245bb3a23a051587cf0e04 is under affected-dimension review. No hosted runtime yet, no performance benefit claimed, no local Cargo/subject/profiler executed. This COMMENT records an author-posted independent review, not GitHub approval.
EffortlessSteven
left a comment
There was a problem hiding this comment.
Independent exact-head source/control review: REVIEW_INCOMPLETE, safe for the explicitly admitted hosted execution. Reviewed head856db1669047e12ff9245bb3a23a051587cf0e04/tree5dfff3ab87e00219bb21aa969ddec5e475d509fd; basis ea55b3c, remote base1ef77e43c330763d99ec1f2c8477358650596538. Workflow predicates, unchanged authority/action pins, exact source/build/corpus bindings, bounded capture/projected retention, deadlines/active-group cleanup, CLI validity, MCP identity/product negatives/full parity and A/A–A/B populations inspected. No remaining blocking source finding. Previous custody, size-cap, run-block budget and failure-retention defects repaired. Bot repair reply4178989678 and resolved/outdated state confirmed. Published extracted driverSHA256fbd0d70262f631292105324df02a780e873c3e05cfa8172889f4c1810751fa8f and mocked-control scriptSHA256d521130dc383a1d00dfc8cf4f208533f94b3757ef114563ba56f263e5d4d49ce inspected; five lightweight control groups pass. New run blocks159/85 nonempty lines, within194; YAML/AST/whitespace pass. Missing actual hosted builds/runtime, kernel cleanup evidence and final checks keep merge readiness incomplete. Three paired session clusters are experimental units; repeated RPCs correlated, RSS lifetime high-water, allocation unavailable, OS cache retained, failed block rejects every provisional timing. No measured benefit. Reviewer did not execute subjects/builds/controls or write GitHub; author records its disposition with COMMENT. Dispatch authorized; no merge is armed.
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
EffortlessSteven
left a comment
There was a problem hiding this comment.
REVIEW_INCOMPLETE — independent exact-head source, hosted runtime and public-claim review is complete with no remaining substantive finding. The current required routed CI is the sole remaining complete-review boundary; no merge or auto-merge is armed.
Reviewed head 856db16 / tree5dfff3ab87e00219bb21aa969ddec5e475d509fd; branch basis ea55b3c; current PR integration basis1ef77e43c330763d99ec1f2c8477358650596538. Optional read-only pinned hosted experiment; no established efficiency gain or allocation qualification.
Independent reader verified official artifact11313144233 ZIP SHA256930962aca03f10392e2a9419a1b7193749f738cd954721cb9efca181bd788865, all36 retained files/2984518bytes, exact published-versus-retained driver equality, immutable baseline/candidate/corpus source/tree pins, all five build-input hashes including both exact Cargo.lock inputs, and all398 raw records against actual job111514200409 log events. Actual run37228898991 succeeded. Twelve complete transcripts/360 response hashes, snapshot/budget/detail/resource identities,12actualstaleSID rejection/recovery controls and exact single-field corruption challenge checked. Independently recomputed every session pair, median and delta; all14ownedgroups absent at19:51:52UTC terminal release. Earlier source/control findings repaired; current bot thread resolved with source-backed reply.
Interpretation retains all AB/BA/AB pairs including the slower warm pair. No CPU/wall improvement established; sampled VmHWM differences below AAvariation. Reported VmHWM decreases are preserved with stable PID/start bindings and correct parser; maximum sampled approximate VmHWM is qualified, no exact terminal/perrequest memory claim. Linux documents asynchronous/inconsistent RSS snapshots, a possible explanation rather than a confirmed deployed-kernel diagnosis. Binarypayload hashes are builder-attested because binaries are absent from this evidence ZIP. CPUselfscope/10msticks, shared appcache/unflushedOScache, observeroverhead, weakn3, noallocation/cold/whole-repo/LSP/5700X extrapolation are explicit.
Required routed run37228329651/currentjob111519449382 remains running. At20:11:53UTC policy/workspace/Clippy passed; required Rust tests in progress. Classicmain requires app15368 Ripr Rust Small Result, strict=false/zeroapprovals; active ruleset18845973 requires addressed-thread resolution/zeroapprovals. Final terminal current-head CI evidence must be inspected before amending to REVIEW_READY and ordinary protected squash.
There was a problem hiding this comment.
Decision
- Needs verification checks before upstream.
Verification questions
- Confirm embedded Python driver (~250 lines heredoc) is not separately reviewable by actionlint; only YAML/structural issues are caught. Hosted runtime proof cited in the PR body (run 37228898991 / artifact 11313144233) provides end-to-end smoke evidence for the actual evidence-pair path, not for actionlint lint pass.
- Confirm actionlint tool failure with no retained output makes it impossible for this lane to independently confirm syntactic correctness of the new workflow_dispatch inputs block and the mcp-evidence-pair job; flagged for the compiler rather than as a workflow-pinning blocker because all references are commit-pinned.
- Confirm actionlint failure with no diagnostic payload in the review packet is treated as a missing-evidence signal, not a confirmed workflow defect; lane hands the diagnostic to the proof broker rather than asserting a fix without source.
Refuted
- The mcp-evidence-pair job may introduce an untrusted runner image, third-party action, or install step.; refuted because: Diff pins all actions by SHA, sets persist-credentials:false, restricts to ubuntu-22.04 (existing image), and contains no apt/pip/curl/extensions.get or PATH additions; existing dtolnay/rust-toolchain@4cda84d5c is the only installer and was already trusted by prior workflow runs.
- actionlint failure implies a workflow syntax or expression defect that blocks trust in the new
mcp-evidence-pairjob.; refuted because: Failure is reported only as exit code; without the actionlint JSON findings the defect cannot be localized, and the new predicates use standard${{ ... }}expressions with balanced quotes in the visible diff. Hosted run 37228898991 succeeded per PR body, indicating the YAML is at least accepted by the runner. - New job introduces untrusted action upgrades or unpinned third-party actions.; refuted because: All three steps use actions/checkout@d23441a, dtolnay/rust-toolchain@4cda84d, and actions/upload-artifact@043fb46, each pinned to full SHA with comment annotations.
Evidence gaps
- actionlint exited Some(1) on this PR; the workflow YAML still passes actionlint semantics at the dispatch-input level after human inspection, but actionlint receipt is missing evidence of full pass.
EffortlessSteven
left a comment
There was a problem hiding this comment.
REVIEW_READY — complete independent final published-head review; no blocking findings or missing proof within this claim boundary.
Exacthead856db1669047e12ff9245bb3a23a051587cf0e04/tree5dfff3ab87e00219bb21aa969ddec5e475d509fd. Optional pinned read-only hosted experiment, output parity and descriptive measurements; no established efficiency benefit. Tested CIintegration635c871fd42fdd6c8fdedce5cec224a291641afb/tree4817b6ea46c6976ce4dd031f2d062800bfb63907, parents86c50d29f9fe62c4cd22f23482aabc49a93d2b00 +reviewedhead. Currentmain8f29e0cfefe77488136ea1e3cf3ac4e269ca636b inspected separately: wheelworkflow/buildinputs and relevant workflowbudget prerequisites remain compatible; no behind-only restack needed.
Requiredrun37228329651 and Result111524566883/app15368 succeeded on exacthead. Independently inspected worker111519449382 official logs:12087passed/2skipped; policy/workspace/alltarget/strictClippy/doctests/goldens/fixtures/PR evidence contracts pass. Previously verified hostedrun37228898991/artifact11313144233/source/input/driver/raw/output/negativecontrols/arithmetic/all14grouprelease remain current.
New budgetcoverage finding addressed by narrowclaim: equality of emittedbudget/selectedbytes/omission/overflow fields only, no independent budgetselector/threshold correctness or newbudgetnegativecontrol. Reply4179214800 readback preceded resolution; boththreads freshly resolved. All pairedresults including slowerwarmpair retained, nogain advertised. MaximumsampledVmHWM/drop/approximation and builder-attestedpayloadhash limits explicit. Allocation/exactpeak/budgetalgorithm correctness/efficiency benefit/coldcache/whole-repo/LSP/5700X qualification remain excluded.
Final independent readback20:43:02UTC: unchangedhead/body, non-draft, mergeableclean, boththreadsresolved, compatiblemain. Classicprotection authoritative rootread20:42:02UTC requires successfulapp15368RiprRustSmallResult, strictfalse/zeroapprovals/codeownerfalse/lastpushfalse; active publicruleset18845973 independently verifiedthreadresolution/zeroapprovals/nobypass. No source/raw alteration or repeatedbenchmark required. Complete for parent's final fenced ordinary protected squash.
Repeated 5700X quiet-host fences prevented valid before/after measurement for #5407. Add an opt-in pinned pair mode to the existing read-only Python-wheel qualification workflow, so the exact pre/post sources can be built sequentially and measured on one existing Ubuntu22 runner.
This is the parent's authorized hosted fallback for #5301 item3, reusing #5213/#5282 process-resource scope, #5257/#5260/#5425 protocol/oracles and #5288 corpus pins. No separate benchmark-policy authority or new default gate. Mode remains off by default; ordinary wheel/consumer behavior is unchanged. When selected it skips those jobs and runs this pair instead. Permissions remain contents:read; no new machines, secrets, permission grants, installs beyond the existing Rust setup, publication or deployment.
Subjects: baseline9acf0b6630fc21101baa0bbf52cc872dfe3b08a2/tree46b1bb84c70628cc7a64e79484c0c37f9a7c47c6; candidatefab7fd03b478c30faa13db432eccbf0c0a76575f/tree1762a35e687e29f7eaa4dc458d0476b68b876c29. AnyhowHEAD e621bd35ddddcd8b2f39d80b9f5938583571a87d/tree7e4a98f93d3d68aa41a10c22ee88ec90317e28dc/base917a16932009c1957f53c2ea325663948add2153. Strict source/tree/lock/manifest/toolchain/hash bindings are retained. Builds use pinned Rust1.95, locked stripped release Linuxx64, existing lang-python/rust/typescript features and two build jobs in isolated runner targets.
Protocol: CLI success, valid JSON, complete analysis with six findings and full byte parity; three A/A pairs then three interleaved A/B–B/A pairs; full parsed JSON-value parity; completed nonempty first/repeated refresh, list/detail/resource/snapshot identity; equality of emitted budget, selected-byte, omission and overflow fields; actual stale-snapshot rejection/recovery and corrupted-response negative control. CPU records actual PID/start/tick bindings, wall brackets request-write through parsed response, RSS samples literal VmHWM; the qualification below is limited to maximum sampled VmHWM. Allocation is explicitly unavailable.
Bounds: job60min, runtime20min, cases30s, one subject, 4GiB address-space/RSS ceiling, existing-tool and2GiB availableRAM/disk preflight, at most64MiB uploaded evidence, with projected retained-write checks, 4MiB emergency receipt space and64KiB metadata reservation. Bounded output/status/failure records are retained; competing compiler/subject fences stop the block. OS cache is not dropped; explicit shared application cache means first refresh is application-new only, not a cold-cache claim. Batch timings include wrapper/logging overhead. Results describe this GitHub runner, never the5700X or a release qualification.
Validation observed locally: YAML and combined embedded driver pass AST parsing, whitespace passes, and each new run block fits the existing194nonempty-line budget (observer helpers and protocol execution are separate steps). Lightweight mocked controls pass projected append/overwrite rejection before writes, reserved failure/release space, output-buffer overflow, timeout preservation/reaping of only the active subject, transcript retention before close failure, and actual nonzero-status retention with malformed clock metadata explicitly unavailable. No product or benchmark subject ran in these instrument controls. No local Cargo or benchmark subject ran for these workflow instrument controls. Source-safe independent review cleared dispatch; hosted runtime now passed as detailed below. Independent source/runtime/claim review is complete; current required routed CI has now passed. Independent final exact-head REVIEW_READY confirms terminal CI and the addressed budget-claim scope; ordinary protected squash completed at 20:45:17 UTC; the landed receipt below binds the final delta. No efficiency gain is established.
Published head856db1669047e12ff9245bb3a23a051587cf0e04; tree5dfff3ab87e00219bb21aa969ddec5e475d509fd; parent452102e230add944d5764fb811be33727d46f4f4, branch basis ea55b3c. Published tree verified byte-identical to local repaired candidate 3c6c6078f6582f784dae0f6b194cf77d89452b7a. Rollback removes this optional input/job and the mode predicate; no product change.
Observed hosted execution: run 37228898991 / job 111514200409 succeeded. Official artifact 11313144233, 140,550 compressed / 2,984,518 retained bytes, SHA256
930962aca03f10392e2a9419a1b7193749f738cd954721cb9efca181bd788865, was downloaded, bounded-path checked and independently hashed. Raw JSONL SHA256ba92785c5e551a48227534eb933ae1d5cc151bdd7f9285df92f655a52e45fa97; driver SHA2560c34206709ee54ad67d0920f664e2cdc65bb8766c605eb4da5ca1d63c63a2cb7is AST-equivalent to the reviewed embedded driver.Exact source/tree/build-input binding assertions passed in the actual producer and the retained metadata matches the intended pair; identical lock/manifests/toolchain inputs, Rust1.95 locked/stripped release, three features, sequential isolated targets. Runner is Ubuntu22 image20260927.309.1 on AMD EPYC9V74, not a5700X result. Builder-attested payload hashes are
770b9e89282c6d94348634be52531e404c769f610a92ba22592c7c0da8b37993baseline /1919bc6425e8fd2d79fe876d9733da3bf0b906dd1b04d64477c24546d5f71baccandidate; these fresh builds are distinct from the earlier wheel-artifact executables. Executable payloads are not in this evidence ZIP, so these payload hashes were not independently rehashed locally.Measurement 19:51:30–19:51:52 UTC completed. Two CLI controls exit0 with valid complete six-finding JSON and byte-equivalent stdout/stderr. All twelve 30-response MCP transcripts are byte-identical, 191,781 bytes each, SHA256
f40917587b558f67de34d772e88e52b78234925b5ce59124bf8d8676f5d34d1a. Budget/selected-byte/omission/overflow fields are preserved and equal across captured responses; this experiment does not independently validate budget-limit or selector correctness. Six recorded pair-start fences report no competing compiler/subject; pre/post-session guards also passed. Twelve actual stale-snapshot rejections/retained-current recoveries and deliberate changed-response parity rejection passed. 360 RPC records and12 warm-refresh batch records belong to three A/A pairs and three A/B process-session pairs, not372 independent observations. Fourteen owned groups were checked absent; release confirmed19:51:52 UTC. Zero timeout/invalid/overflow/failed-block samples occurred; the twelve intentionally rejected stale-SID calls remain performance-ineligible. Allocation unavailable.Descriptive matched results, with every A/B pair retained in chronological AB, BA, AB order. Deltas are candidate minus baseline; lower is better. Medians describe these three sessions only.
No efficiency improvement established. CPU/wall changes are mixed; RSS differences are below A/A variation. The slower warm pair (+17.666ms wall/+30ms CPU) is explicitly retained, not discarded or causally attributed. CPU resolution is10ms, not evidence of zero list CPU cost. First refresh is application-new with shared cache, OS cache unflushed; RSS is the maximum sampled VmHWM, not a separately qualified exact terminal peak; batch wall includes observer/logging overhead. Weak n=3/shared-runner noise and only six findings cannot establish a gain or a causal regression. No cold-cache/whole-repo/LSP/allocation claim. CLI was a single validity/parity control pair (wall466.897→466.419ms; CPU180→170ms; RSS25.711→27.375MiB), not an independently qualified performance experiment.
Memory observer limitation: reported VmHWM decreased within baseline sessions control1a (172,032 bytes), control2a (331,776), and pair2 (425,984). All twelve sessions have unique, stable PID/start-time bindings; the source parser selects literal VmHWM and correct stat utime/stime/starttime fields. Raw samples remain unchanged. Linux /proc documentation describes asynchronous RSS accounting imprecision; upstream Linux6.8 task_mem explicitly allows inconsistent high-water snapshots. That is a possible explanation, not a confirmed diagnosis of the deployed Azure kernel. No per-request memory saving or exact peak is inferred. Memory/observer qualification remains incomplete.
Review scope clarification: this experiment establishes full before/after equality of emitted budget, selected-byte, omission and overflow fields. Its local assertions require positive counts and retained snapshot identity. It does not establish independent budget algorithm, threshold or limit enforcement correctness; those shared policy behaviors remain with their existing owners and regression suites. No new budget-specific negative control or performance result is claimed.
Landed receipt: protected squash
c51d10940a08cb9aa19ff48151af5e2cdc0ed46c, treea5bae11b0804d7a83c7165dfbd158e321842bc47, parent8f29e0cfefe77488136ea1e3cf3ac4e269ca636b, merged 2026-10-04 20:45:17 UTC. Exact +392/−0 one-file delta matches the reviewed PR patch and workflow blob7184063971be7891b7af340261b90a2f71e69923; default behavior preserved. Independent final REVIEW_READY and freshly resolved threads/live main protection/app-bound required result preceded the ordinary merge. Required routed run 37228329651 / worker 111519449382 succeeded: 12,087 passed/2 skipped, doctests 2 passed/1 ignored, required Result 111524566883/app15368 success on exact head856db166. Actual checkout635c871fd42fdd6c8fdedce5cec224a291641afb/ tree4817b6ea46c6976ce4dd031f2d062800bfb63907, parents86c50d29f9fe62c4cd22f23482aabc49a93d2b00and candidate. Policy, all-target, strict Clippy, golden/fixture and PR evidence contracts passed. Tested integration is distinct from final squash; ordinary final-main push run37233315063 completed cancelled, and later mainf595cb895e581cae5aa7763d88f6a860d66ec209 contains this squash. No final-main pass or efficiency gain is claimed.Resource closeout: no owned local runtime or Cargo invocation; no Cargo target or installation created. All 14 hosted process groups were absent at terminal release 19:51:52 UTC. The clean linked
hosted-sourceworktree was removed through ordinary Git at 20:53:10 UTC after exact path/head/tree/branch/common-store checks, a fresh zero-process-reader check and the independent reviewer's zero queued-reader confirmation. This released 2,529,126 bytes including linked metadata. Task footprint is 108,539,657 bytes at 2026-10-04T20:56:34.2526211Z, below the 512 MiB cumulative allowance. Original matched artifact archives, unique successful/rejected raw evidence, hosted artifact, CI logs and receipts remain retained. The common source Git store and branches remain because they contain unique committed/unpublished proof-contract work and exact source/review history. Superseded expanded executable copies had already been released after verified restoration from the original archives. No permanent proof purge or unrelated state change.#5301 stays open for broader CPU/memory qualification. This matched small-diff smoke experiment is complete with no demonstrated efficiency benefit; corpus and observer expansion remain with their dedicated owners. Updated 2026-10-04 20:56:31 UTC.