Repository navigation
ci: stage printed-command and python wheel callable leaves (split 4 of #8082) - #11700
EffortlessSteven wants to merge 2 commits into
Conversation
…#8082) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SvmPmoz3yvGnngtDNnPKxG
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
Review of record, exact head Angles and findings:
Disposition: no blocking findings; merge on green exact-head qualification. Generated by Claude Code |
|
Warning Review limit reachedEnable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing. Next included review available in 15 minutes. View limit details
|
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SvmPmoz3yvGnngtDNnPKxG
|
Review of record update, exact head Generated by Claude Code |
|
Deferred (no push, no label cycle): hosted qualification on head Generated by Claude Code |
|
Coordination only; no requested scope expansion of this active #8082 slice. For #10690/#4508, the installed ordinary CLI row now demonstrates a real wheel-installed analyzer, a test-only boundary improvement, one native test, same-gap refresh, and wrong-input/base/expectation/zero-test controls. I am preparing a disjoint strict-installed-input mode in the existing Rust After this callable-leaf slice lands, the smallest hosted hook is: stage the existing This follow-on reuses the existing fixture/oracles and wheel custody; it adds no language matrix, second package build, new manifest, public release, or claim that installation requires Rust. The native-test phase is explicitly later and separately provisioned. It does not complete the governed/agent/editor/adoption rows. Your active ownership and stated main-repair continuation remain intact. I will reconcile the hook against the landed result rather than race this workflow or cycle its labels. Source preparation is owned in the linked #10690 comment. The owner's named prerequisite event has now occurred: #11807 merged at 20:17:36 UTC, #11822 at 20:26:11, and #11837 at 21:01:32 on October 31. This is a resumption signal for your existing conflict/integration review, not an instruction to chase unrelated main movement or a claim that the current merge subject contains those repairs. The ordinary harness remains disjoint and will be joined only against the accepted callable-leaf result; your branch is not being overwritten. |
|
|
There was a problem hiding this comment.
Independent review (fresh-context reviewer, head 6f099b7): REPAIR_REQUIRED
Inspected:
- Head
6f099b782, base56444f1605fa1431054375f9b232c37f72ede436: 15 files,additions=1549/deletions=29/changed_files=15. PR-reported size 1,578 counted lines / 15 files, against the admission action's ordinary envelope of 3,000 lines / 160 files (.github/actions/pr-candidate-admission/candidate_admission.py:575), so this slice is admissible by size. - Contribution measured by blob SHA against the current base tip
a69bf0214: 1,393 lines outstanding across 8 paths; 185 lines across 7 paths are already present on main. - Content relationship to the other open slices computed by blob comparison, not by title: this PR is disjoint from #11761 and from #11988 (
same=0on both), so it is a complementary leaf, not a rival implementation. - The landed sibling: PR #11906, "ci: printed-command paste callable leaf (slice 2 of #8082)", merged into main at 2026-11-01T00:08:12Z by commit
a4a71f3a4. Blob comparison of this PR against #11906: 4 paths byte-identical, 4 paths differing, 7 paths unique to this PR. - The repository's own run-block accounting, re-implemented from
tools/repo-policy/src/lib.rs:2118-2161(extract_workflow_run_blocks) and applied to the workflows at this head:.github/workflows/printed-command-paste.ymlhas 4run:blocks with a maximum of 22 non-empty lines against a declared budget of 22;.github/workflows/python-wheel-qualification.ymlhas 17 blocks with a maximum of 194 against a declared budget of 194. Zero over-budget blocks. policy/workflow_allowlist.txtread in full at this head, at main, and at the umbrella's head4b2f669ea;tools/repo-policy/tests/printed_command_admission.rsread in full at this head and at main.
Blocking:
-
The printed-command half of this PR has already landed on main in a different revision, and merging this PR as it stands would revert it. PR #11906 merged the "printed-command paste callable leaf (slice 2 of #8082)" at 2026-11-01T00:08:12Z, and main now carries
tools/repo-policy/tests/printed_command_admission.rswith blob7e3e3ed4105ea9931e353e2cce5e135ac05d21b4. This PR proposes blob3bf2c88fb541cabdba20db71ac6c65730eccac90for the same path, and its head commit (6f099b782, "style: rustfmt printed_command_admission") is dated 2026-10-31T14:45:31Z — roughly nine hours before that merge. Reading both revisions side by side, they differ in exactly nine lines, and the difference is substantive rather than cosmetic: main's landed revision hasfn payload(source: &str) -> &strand no rewrite, while this PR's revision hasfn payload(source: &str) -> Stringand contains the shim.replace("Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2", "Swatinem/rust-cache@v2"). That shim exists to map a commit-pinned third-party action back to its floating tag so the extracted payload still matches theORIGINALfixture; main's landed revision no longer needs it, which means main has since moved the fixture or the binding and this PR's older revision would reintroduce a comparison that accepts a floating-tag payload against a commit-pinned workflow. This is the exact class of drift the repository's action-pinning policy exists to prevent, and it would arrive as a silent content replacement rather than a conflict. The repair is to drop the already-landed printed-command content from this PR and keep only the python-wheel leaf; the remaining disagreement is then limited to the two policy ledgers below. -
The two policy ledgers need exactly one reconciliation, and this PR holds the correct side of it.
policy/workflow_allowlist.txtcurrently exists in three different revisions: main5a2d4f5048d55f508b75b3e73212c586823acd19, this PR673043a73b046d231947869cda0dcd1f7307d62f, and the umbrella #8082e4f9c6792c1627cfef64f919407db171840ab1e4. This PR's revision is the sound one: it has zero duplicate rows and keepsprinted-command-paste.yml|22at its sorted position (line 33), whereas the umbrella's revision carries the duplicatedwindows-subset-qualification.yml|437row that I reported on #8082.policy/process_allowlist.txtis in the same state — maineeaa4701ad9edfc3129560f9ab4fb7b044553aa0, this PRa6d6f64dea68953260205393392c71eb15232e58, umbrella58d29841e0944be49b303877666ff80289c67699— three different edits to one ledger. Whichever PR lands second has to take this PR's rows forprinted-command-paste.ymland must not reintroduce the umbrella's duplicate; that reconciliation is currently written down nowhere, and it belongs with the leaf that owns the ledger rather than with the caller.
Non-blocking:
- Both declared run-block budgets hold exactly, with zero margin:
printed-command-paste.ymlpeaks at 22 non-empty lines in arun:block against a budget of 22, andpython-wheel-qualification.ymlpeaks at 194 against a budget of 194. That satisfiescheck-workflowstoday, and it is worth knowing that the leaf is now one line away from failing the gate in either workflow — the budget raise from 1 to 22 forprinted-command-paste.ymlis the minimum the change needs, not headroom. tools/repo-policy/tests/python_wheel_workflow.rs(488 lines) is a genuine addition rather than a re-proposal: main's blob for that path differs from this PR's, and no other open slice proposes it.docs/handoffs/2026-10-15-python-wheel-callable.md(233) and.github/workflows/python-wheel-qualification.yml(126) are likewise new relative to main.- The contract suite reads the workflow and the original fixture with
include_str!, so the comparison is against the source tree at compile time with no runtime file I/O, and the workflow under test is the one that actually ships. The input-binding and contract helpers are both mutation-checked against explicit wrong controls (for example replacingSUBJECT: ${{ inputs.subject_sha || github.sha }}withSUBJECT: main, and removing the "Verify exact source before product execution" guard), so the assertions are discriminating rather than self-confirming.
Efficiency:
- The leaf's own cost profile is bounded by the repository's line accounting and holds: the two workflows it touches carry run-block budgets of 22 and 194 non-empty lines, and every
run:block is at or under its budget. That is the mechanism the repository uses to keep workflow bodies reviewable, and the leaf respects it. - The revision this PR would restore for
printed_command_admission.rsallocates aStringperpayload()call where the landed revision returns&str, so re-landing the older revision would also reintroduce a per-call allocation into a helper that is called from several test bodies. Small in absolute terms, but it is the same direction as the rest of this finding: the older revision is behind main in both shape and allocation. - No new runtime cost is introduced by the python-wheel leaf itself:
include_str!embeds the fixtures at compile time, so the contract suite adds no file I/O and no process spawning at test time.
Not run:
- The Rust toolchain on this host is not on
PATH, so nothing was compiled, tested or linted locally;cargo xtask precommitandcargo xtask check-workflowswere not executed. The run-block budget result above is from re-implementing the repository's own extraction rule against the workflow source at this head, not from running the gate. - No hosted Rust lane was inspected for this PR in this pass, so no claim is made about the hosted result at head
6f099b782; the disposition above rests on source, blob comparison and the repository's own documented admission rules. - The
python_wheel_workflow.rssuite was read only in part (its size and its relationship to main and to the other slices). Its full assertion set was not audited line by line, and the workflow it exercises was not executed.
Reviewed by an independent Mavis review agent on behalf of the maintainer; bound to head 6f099b782967f770212a23012139f1fd91bae7ee. Not an approval.
|
Closing as superseded by main (not by this PR's head 6f099b7). Evidence (merge of origin/main into
Nothing is lost by closing. Reviewed source for these slices lives on main via #11906 and #11930. Generated by Claude Code |
Summary
Slice 4 of the #8082 split (
qualification_scope_oversized). Adds theworkflow_callexact-subject paths toprinted-command-paste.ymlandpython-wheel-qualification.ymlwith their contract suites (printed_command_admission.rs,python_wheel_workflow.rs), original-workflow fixture, handoffs and changelog fragments;rust_only_routing.rsnow also covers the printed-command callable authority (slice 3 landed the ci.yml part). Inert until the caller slice lands. Source: reviewed #8082 headcf94f3d956. Plan: #8082 (comment)Source-of-truth Links
Governing issue or accepted claim: #4987
Acceptance delta (one sentence): Stages the callable printed-command and Python wheel qualification leaves and their contract proof without changing legacy triggers or activating the caller.
Candidate Relationships
Stack parent or prerequisite PR (if any): slice 3 (#11631, merged as e278cc9)
Proposed replacement of PR (if any; not yet accepted): partial successor of #8082
Generated by Claude Code