Repository navigation
Description
Part of #4743. Independently add complete client Rust evidence; do not change remote PR job conditions in this step.
Exact files
push, ci/local_gate.py, local-gate.toml, ci-attestations.yml, ci/tests/test_push_rungs.py, ci/test_local_gate.py, ci/test_gate_dylint.py. Preserve host Dylint lane/cache work from #3892/#3899/#3913. No Rust implementation/C test/header edits.
Implement
- Add explicit
client-lintandclient-testlanes.client-lintruns the existing formatting/ratchet/self-test lint work, host Dylint, and clippy and Dylint for the other five shipping target triples. The full set is exactly x86_64-unknown-linux-gnu, aarch64-unknown-linux-gnu, x86_64-pc-windows-msvc, aarch64-pc-windows-msvc, x86_64-apple-darwin, aarch64-apple-darwin. On non-Linux hosts choose their native triple once and cross-check the others; do not duplicate or omit the host. All Rust execution/toolchain provisioning goes through soldr. - Refactor shared target iteration so the existing two-target cross link lane stays intact, while the all-target client lint lane does not require linking every target. Keep existing cross exclusions (obs-c-oracle) and host feature-set clippy checks. Never advertise lint as native runtime or test linking.
client-testinvokes the existing workspace Rust Tiers 1–3 lane with its required features and GNU-oracle link coverage where applicable; native-unavailable cases emit no native test gate. Gates identify actual target and check. Do not stamp success for an optional command that exits not-applicable.- Have
./pushorchestrate these actual lanes through prooft (prooft runfor repo lanes,prooft soldronly where its porcelain covers the exact requested command). Declare gates/inputs in both policy files. Do not infer full coverage merely from prooft's exit 0 or fabricate porcelain fields. Record only successful gates. Run all proof commands before final stamp/sign/push; a dirty tree or command changing tracked inputs invalidates evidence. - Preserve the deprecated soldr+ghd fallback for older installations, but report its partial gate coverage truthfully so it cannot opt into the complete fast path. Default missing-tool/failed-proof behavior remains ordinary PR real CI;
PUSH_REQUIRE_ATTESTATION=1refuses before any push if required selected evidence is incomplete. The final stamped commit must be signed for the verified-member fast path: honor configured signing, sign after all message amendments, then verify the final object locally. No key available means real PR CI in default mode; never prompt for secrets in chat. - Safe input keys must include every linted source, target cfg/toolchain, Dylint source, manifests/lockfile/config and runner script. A source-only edit must invalidate evidence for the source being linted; do not narrow keys to Dylint libraries alone. Use soldr's cache to make repeated execution cheap.
RED first / acceptance
Extend ci/test_local_gate.py to capture commands and assert all six targets each receive clippy and Dylint, host once, including release-only targets today; this must fail on current master. Include feature checks, command failure and unsupported target cases. Extend ci/tests/test_push_rungs.py so successful old prooft soldr with only fmt/host clippy does not count as full evidence; strict mode never pushes partial coverage. Mock commands, git signing and transport; tests must never push/create PRs. Cover final sign occurring after stamping and stale signatures losing fast-path eligibility.
RED then GREEN: uv run --no-project ci/test_local_gate.py, uv run --no-project ci/test_gate_dylint.py, uv run --no-project ci/tests/test_push_rungs.py. Add an integration fixture with a clean temporary repo and real pinned prooft to verify emitted gate inventory without expensive cross builds. Record one real client invocation with per-target results or honest environment failure; never claim unavailable target passes. Remote behavior remains unchanged until the cutover sibling lands.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
zackees commentedon Nov 12, 2026
Claiming: #4745 on ci/4745-client-all-target-lint in obs-studio10. 1. Commit RED command-capture and push-proof tests. 2. Add complete six-target client lint/test evidence and final signing while preserving fallback and existing cross lanes. 3. Run focused tests and final lint, then push a PR in this session. No remote job-condition changes or ci/pr_attestation.py edits.
zackees commentedon Nov 18, 2026
Landed on master in #4757 (f9365c7); verified the merge is an ancestor of origin/master and ci/local_gate.py exists there.