Skip to content

fix(push): bootstrap the CI-pinned soldr for client proof - #4836

Merged
zackees merged 2 commits into
masterfrom
ci/push-pinned-soldr
Nov 13, 2026
Merged

zackees merged 2 commits into
masterfrom
ci/push-pinned-soldr

Conversation

@zackees

@zackees zackees commented Nov 13, 2026 •

Copy link
Copy Markdown
Member

Agent hosts could lose complete client evidence because ./push inherited an incompatible soldr or toolchain override. The proof path now resolves the exact CI version from the existing CMake pin, which repository tests keep equal to every setup-soldr input, and uses uv’s cached binary wheel with source builds disabled. Its executable directory leads PATH throughout the prooft lanes, and inherited SOLDR_* and Rust executable/toolchain/wrapper selectors are cleared. The caller environment is restored before transport. An explicit PUSH_SOLDR path must report the same pinned version. Bootstrap failures retain ordinary PR CI, while strict mode refuses the push.

RED commit 1acd63d adds four regressions: before implementation the focused run fails with one failure and five errors, including proof execution despite a bootstrap failure. GREEN adds the bootstrap and environment isolation; the complete push test module and ./lint pass. The focused tests cover CI pin agreement, automatic wheel selection, environment scrubbing/restoration, explicit-path version mismatch, and bootstrap failure. A read-only pre-push review found no actionable issues. This is a CI tooling change; no product implementation, C compatibility tests, public headers, or workflows change.

A strict PUSH_REQUIRE_ATTESTATION=1 ./push succeeded with SOLDR_DYLINT_TOOLCHAIN=nightly-broken and RUSTUP_TOOLCHAIN=nightly-broken injected. It selected soldr 0.9.45, passed all six target clippy/Dylint pairs, all 8,452 workspace tests and 916 feature-variant tests, doctests and GNU Windows linking, and stamped all 19 required gates before signing the final head. Optional Swift evidence was unavailable and was not selected by these changes. Because this PR changes a trust surface, normal selected hosted PR checks remain required.

Refs #4743

Refs #4743. RED: PinnedSoldr has one failure and five errors before the bootstrap exists; failed bootstrap currently still reaches proof commands.
Resolve the shared CI pin through a cached uv wheel, validate explicit PUSH_SOLDR selections, and clear inherited Rust toolchain selectors during evidence collection. Restore the caller environment before transport. Refs #4743.

Ci-Attestation: {"at":1794557168,"gate":"data/all/compatibility","host":"linux-x86_64","key":"","lane":"client-checks","parents":["1acd63dc040ed8c115169494c9a83208df05ceca"],"secs":126,"stamp":"4a64180257122f2b59ff4a5412a1d264","tree":"6a0702b626b0d2e1818a0372085d34db0e73c41a","v":1,"via":"run"}
Ci-Attestation: {"at":1794557168,"gate":"data/all/flatpak-manifest","host":"linux-x86_64","key":"","lane":"client-checks","parents":["1acd63dc040ed8c115169494c9a83208df05ceca"],"secs":126,"stamp":"0ed18ed164e4985864c265d381e6c7ac","tree":"6a0702b626b0d2e1818a0372085d34db0e73c41a","v":1,"via":"run"}
Ci-Attestation: {"at":1794557168,"gate":"data/all/qt-xml","host":"linux-x86_64","key":"","lane":"client-checks","parents":["1acd63dc040ed8c115169494c9a83208df05ceca"],"secs":126,"stamp":"098affc18760ccc2efe0ccb3a1cb41eb","tree":"6a0702b626b0d2e1818a0372085d34db0e73c41a","v":1,"via":"run"}
Ci-Attestation: {"at":1794557168,"gate":"data/all/services-schema","host":"linux-x86_64","key":"","lane":"client-checks","parents":["1acd63dc040ed8c115169494c9a83208df05ceca"],"secs":126,"stamp":"528a879ff16210721aea15b45a98e75e","tree":"6a0702b626b0d2e1818a0372085d34db0e73c41a","v":1,"via":"run"}
Ci-Attestation: {"at":1794557041,"gate":"general/all/client-lint","host":"linux-x86_64","key":"3754a720ccb067d02c7666d4e1f36ccd1ca516c1d497a6dccf694260b40d7436","lane":"client-lint","parents":["1acd63dc040ed8c115169494c9a83208df05ceca"],"secs":18,"stamp":"970ac8af9c44daad17bac3be82a03352","tree":"6a0702b626b0d2e1818a0372085d34db0e73c41a","v":1,"via":"run"}
Ci-Attestation: {"at":1794557168,"gate":"python/all/self-test","host":"linux-x86_64","key":"","lane":"client-checks","parents":["1acd63dc040ed8c115169494c9a83208df05ceca"],"secs":126,"stamp":"5290bddd27219d22bf66ec9dfecdbb5c","tree":"6a0702b626b0d2e1818a0372085d34db0e73c41a","v":1,"via":"run"}
Ci-Attestation: {"at":1794557041,"gate":"rust/aarch64-apple-darwin/client-clippy","host":"linux-x86_64","key":"3754a720ccb067d02c7666d4e1f36ccd1ca516c1d497a6dccf694260b40d7436","lane":"client-lint","parents":["1acd63dc040ed8c115169494c9a83208df05ceca"],"secs":18,"stamp":"42ade1e1e498868570c6ac5bb8ab3ee5","tree":"6a0702b626b0d2e1818a0372085d34db0e73c41a","v":1,"via":"run"}
Ci-Attestation: {"at":1794557041,"gate":"rust/aarch64-apple-darwin/client-dylint","host":"linux-x86_64","key":"3754a720ccb067d02c7666d4e1f36ccd1ca516c1d497a6dccf694260b40d7436","lane":"client-lint","parents":["1acd63dc040ed8c115169494c9a83208df05ceca"],"secs":18,"stamp":"a3bee9818fb751969889cfcfa2551e40","tree":"6a0702b626b0d2e1818a0372085d34db0e73c41a","v":1,"via":"run"}
Ci-Attestation: {"at":1794557041,"gate":"rust/aarch64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"3754a720ccb067d02c7666d4e1f36ccd1ca516c1d497a6dccf694260b40d7436","lane":"client-lint","parents":["1acd63dc040ed8c115169494c9a83208df05ceca"],"secs":18,"stamp":"ae75fde2ccbeb2ea7e4f1df809a80189","tree":"6a0702b626b0d2e1818a0372085d34db0e73c41a","v":1,"via":"run"}
Ci-Attestation: {"at":1794557041,"gate":"rust/aarch64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"3754a720ccb067d02c7666d4e1f36ccd1ca516c1d497a6dccf694260b40d7436","lane":"client-lint","parents":["1acd63dc040ed8c115169494c9a83208df05ceca"],"secs":18,"stamp":"aa816d8bb852d3257b445ef6c03e9766","tree":"6a0702b626b0d2e1818a0372085d34db0e73c41a","v":1,"via":"run"}
Ci-Attestation: {"at":1794557041,"gate":"rust/aarch64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"3754a720ccb067d02c7666d4e1f36ccd1ca516c1d497a6dccf694260b40d7436","lane":"client-lint","parents":["1acd63dc040ed8c115169494c9a83208df05ceca"],"secs":18,"stamp":"6525b735100c317b70f0d0e8acceb8b1","tree":"6a0702b626b0d2e1818a0372085d34db0e73c41a","v":1,"via":"run"}
Ci-Attestation: {"at":1794557041,"gate":"rust/aarch64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"3754a720ccb067d02c7666d4e1f36ccd1ca516c1d497a6dccf694260b40d7436","lane":"client-lint","parents":["1acd63dc040ed8c115169494c9a83208df05ceca"],"secs":18,"stamp":"6879026202660b35387c11bdd1c264cf","tree":"6a0702b626b0d2e1818a0372085d34db0e73c41a","v":1,"via":"run"}
Ci-Attestation: {"at":1794557041,"gate":"rust/x86_64-apple-darwin/client-clippy","host":"linux-x86_64","key":"3754a720ccb067d02c7666d4e1f36ccd1ca516c1d497a6dccf694260b40d7436","lane":"client-lint","parents":["1acd63dc040ed8c115169494c9a83208df05ceca"],"secs":18,"stamp":"160aad5a81502d63c58af54389fef28d","tree":"6a0702b626b0d2e1818a0372085d34db0e73c41a","v":1,"via":"run"}
Ci-Attestation: {"at":1794557041,"gate":"rust/x86_64-apple-darwin/client-dylint","host":"linux-x86_64","key":"3754a720ccb067d02c7666d4e1f36ccd1ca516c1d497a6dccf694260b40d7436","lane":"client-lint","parents":["1acd63dc040ed8c115169494c9a83208df05ceca"],"secs":18,"stamp":"8267272daf8c0c5238e7cfa6802614d8","tree":"6a0702b626b0d2e1818a0372085d34db0e73c41a","v":1,"via":"run"}
Ci-Attestation: {"at":1794557041,"gate":"rust/x86_64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"3754a720ccb067d02c7666d4e1f36ccd1ca516c1d497a6dccf694260b40d7436","lane":"client-lint","parents":["1acd63dc040ed8c115169494c9a83208df05ceca"],"secs":18,"stamp":"f3203f636c3a52ee9bc00c872accd849","tree":"6a0702b626b0d2e1818a0372085d34db0e73c41a","v":1,"via":"run"}
Ci-Attestation: {"at":1794557041,"gate":"rust/x86_64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"3754a720ccb067d02c7666d4e1f36ccd1ca516c1d497a6dccf694260b40d7436","lane":"client-lint","parents":["1acd63dc040ed8c115169494c9a83208df05ceca"],"secs":18,"stamp":"3dac10f3475c5be6a207b6b4a34babcb","tree":"6a0702b626b0d2e1818a0372085d34db0e73c41a","v":1,"via":"run"}
Ci-Attestation: {"at":1794557041,"gate":"rust/x86_64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"3754a720ccb067d02c7666d4e1f36ccd1ca516c1d497a6dccf694260b40d7436","lane":"client-lint","parents":["1acd63dc040ed8c115169494c9a83208df05ceca"],"secs":18,"stamp":"73270cfac34b854f861e97c64134b1bb","tree":"6a0702b626b0d2e1818a0372085d34db0e73c41a","v":1,"via":"run"}
Ci-Attestation: {"at":1794557041,"gate":"rust/x86_64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"3754a720ccb067d02c7666d4e1f36ccd1ca516c1d497a6dccf694260b40d7436","lane":"client-lint","parents":["1acd63dc040ed8c115169494c9a83208df05ceca"],"secs":18,"stamp":"3f911168763be504e6885bb5f5a9aff8","tree":"6a0702b626b0d2e1818a0372085d34db0e73c41a","v":1,"via":"run"}
Ci-Attestation: {"at":1794557572,"gate":"rust/x86_64-unknown-linux-gnu/client-test","host":"linux-x86_64","key":"138a4a40d1881d4e4f5fdc46487f2b84ec512c88c508196cb25f3dd56030188e","lane":"client-test-x86_64-unknown-linux-gnu","parents":["1acd63dc040ed8c115169494c9a83208df05ceca"],"secs":402,"stamp":"233b6a57e5f0b7be5d8f715711dcb523","tree":"6a0702b626b0d2e1818a0372085d34db0e73c41a","v":1,"via":"run"}

Client-Checks: {"checks":{"base":"9800296f87232b7c89478333bcc5666f6c21f1f7","coverage":"all-tracked-applicable-files","diff":["ci/tests/test_push_rungs.py","docs/ci-tooling.md","push"],"head":"96c499361e5bcaf9e36bc569621311ad6a1a47fc","tools":{"orchestrator-python":"3.13.15 (main, Aug 14 2026, 15:34:59) [Clang 22.1.3 ]","schema-dependencies":"3.13.15 (main, Aug 14 2026, 15:34:59) [Clang 22.1.3 ]\n{'jsonschema': '4.26.0', 'json_source_map': '1.0.5'}","uv":"uv 0.13.5 (x86_64-unknown-linux-gnu)","xmllint":"xmllint: using libxml version 21504\n   compiled with: Threads Tree Output Push Reader Patterns Writer SAXv1 DTDValid HTML C14N Catalog XPath XPointer XInclude Iconv ISO8859X Regexps Automata RelaxNG Schemas Modules Debug"},"tracked-digest":"67a28617f6649a4421ef504feb8dc624ed0183b16014644e22bed1c2a65fc98e","tree":"6a0702b626b0d2e1818a0372085d34db0e73c41a"}}
@zackees
zackees marked this pull request as ready for review November 13, 2026 08:14
@zackees
zackees enabled auto-merge November 13, 2026 08:14
@zackees

zackees commented Nov 13, 2026

Copy link
Copy Markdown
Member Author

Handed off to the coordinator.

The assigned pinned-soldr fix is ready on exact signed head 398a762, and auto-merge is enabled. The strict push succeeded with deliberately invalid SOLDR_DYLINT_TOOLCHAIN and RUSTUP_TOOLCHAIN values inherited from the caller: the bootstrap selected soldr 0.9.45, six target clippy/Dylint pairs passed, 8,452 workspace tests and 916 feature-variant tests passed, and prooft emit validates all 19 required gates. ./lint passed (exit 0), the full push test module passed, and the read-only review was clean. RED is 1acd63d. Optional Swift is unselected and absent. This trust-surface change still needs the real selected PR checks and the normal merge queue; no hosted admission skip or merge is claimed.

The body uses Refs #4743 only and closingIssuesReferences is empty. Per the pool assignment, the worker is returning obs-studio3 clean and detached at origin/master and retiring; the coordinator owns waiting for CI and queue admission. Logs and the evidence inventory are in /home/niteris/dev/obs-rust/.worker-pool/ci-push-pinned-soldr/.

@zackees
zackees added this pull request to the merge queue Nov 13, 2026
Merged via the queue into master with commit 664083b Nov 13, 2026
42 checks passed
@zackees
zackees deleted the ci/push-pinned-soldr branch November 13, 2026 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant