Repository navigation
Description
Context and maintainer decision
PR checks should be as light as possible: verify client evidence before admission, then run the heavy checks on the actual merge result in the merge queue. ./push must run lint, clippy and Dylint for all six supported platform/architecture targets and stamp only completed passes. This is an authorized migration task, not an invitation to remove coverage.
Audit: 2026-11-12, master cba99f2f60864c13be2b49c1be9c4a2633b2f9ba. Read AGENTS.md, docs/ci-tooling.md, local-gate.toml, ci/ci_scope.py, push, and the existing workflow/called-job graph. No code was changed for this audit.
Measured PR inventory and disposition
The required gh run list --event pull_request --limit 30 --json databaseId cohort includes many Claim bot runs. Five most recent Pull runs sampled: 43311469790, 43309681983, 43299675903, 43287646182, 43230460324. Jobs API was paginated: 36–38 jobs per run, not just the first 30. Durations below are successful executed-job medians, start-to-completion, excluding runner wait, skipped jobs and failures; n is the number of successful observations. These are a small, source-heavy cohort, not population estimates or billed minutes. — means no executed observation, not zero cost.
Current skip distinction: “Local-Gate” below means existing local-gate verification, which also emits Ci-Attestation trailers. A Ci-Attestation produced by prooft soldr alone is not currently wired to the skip outputs: the newer verifier only reports. Do not infer an accepted client stamp merely from observing a skipped job; hosted lane proofs also exist.
| PR job / existing workflow job id | What runs today | Observed median (n); range where useful | Already skippable? | Destination |
|---|---|---|---|---|
Event Data / build-project.yaml:check-event |
Event parsing, path scope, platform/build matrices | 18s (5), 14–24s | No | Keep on PR; inexpensive scope selection |
CI Mode / build-project.yaml:ci-mode |
Local-gate trust verification, optional trailer report, three hosted proof lookups | 29s (5), 26–44s | No | Keep on PR; one base-owned prooft-backed decision |
Format / check-format.yaml:checks |
Swift diff, Flatpak manifest and Qt XML validation, ci self-tests | 2m03s (5), 1m24s–2m06s | No | Client+attest; real PR fallback; queue reruns |
Format / check-format.yaml:swift-format |
Swift formatting on macOS when Swift changes | — | No | Client+attest when tool available; real PR fallback; queue reruns |
Fast Gate / build-project.yaml:rust-tests-linux |
clang-format, gersemi, ruff/ratchets, rustfmt, host clippy and Dylint, changed-crate tests incl. relevant GNU-oracle link, touched Linux targets | 9m46s (1); 2 skipped and 2 failed executions (7m09s/7m25s) | Local-Gate lint+dylint+rust-test; hosted rust-test proof may skip test step | Client+attest lint/tests; touched Linux target compilation moves to queue for trusted PRs; full real PR fallback |
Windows Link Check / rust-windows-link |
Linux-hosted MSVC link of every test binary | 4m50s (5), 4m37s–5m49s | Explicitly no | Merge queue only for trusted PRs; real PR fallback for outsiders |
Cross Compile / cross-compile |
Path-selected C/C++ Windows/macOS host-group cross compile | — | No | Merge queue only for trusted PRs; real PR fallback |
Rust Cross Lint / rust-cross-lint, Windows x64 |
clippy, Dylint and test --no-run, own runner |
5m28s (1) | Local-Gate cross or hosted cross proof | Client+attest; queue reruns; expand lint targets below |
| Rust Cross Lint / same, macOS arm64 | Same | 6m19s (1) | Same | Same |
Rust Cross Lane Proof / rust-cross-proof |
Publish combined pass only after both targets succeed | 4s (1) | Not a check; absent when no pass to publish | Remove PR runner allocation on attested path; queue reporting may publish, never skip heavy queue execution |
Rust Tests Windows / rust-tests-windows |
Native Rust tests, format/clippy, applicable Qt SDK validation | 10m12s (3), 7m17s–11m25s | Local-Gate native coverage; Linux-only stamp insufficient | Merge queue only for trusted PRs; real PR fallback |
Rust Tests macOS / rust-tests-macos |
Native Rust tests, format/clippy, applicable Qt SDK validation | 12m09s (3), 9m03s–14m58s | Same, macOS-native | Same |
Rust Tier 2 Windows / rust-tier2-windows |
Unchanged C tests against hybrid and C reference, native platform harness | 16m11s (5), 14m56s–19m04s | Local-Gate windows-native | Merge queue only for trusted PRs; real PR fallback |
Rust Tier 2 macOS / rust-tier2-macos |
Native Tier 2 against both implementations | 16m37s (3), 15m22s–19m30s | Local-Gate macos-native | Same |
Rust Tier 2 Linux build / rust-linux-tier2-build |
Build C reference/hybrid suite and test bundle | 12m23s (3), 8m28s–18m05s | Existing Tier 2 Local-Gate output or hosted proof guards build | Merge queue only for trusted PRs; real PR fallback |
Rust Tier 2 Linux tests OFF / rust-linux-tier2 matrix |
Complete C reference suite | 6m15s (3), 6m07s–6m20s | Indirect: build skipped, shards do not run | Same |
| Rust Tier 2 Linux tests ON / same | Complete hybrid suite | 6m26s (3), 6m08s–6m27s | Same | Same |
Qt Frontend Linux / linux-qt-frontend |
Path-selected Qt frontend compilation/tests | — | No | Merge queue only for trusted PRs; real PR fallback |
Validate Data / ci.yml:validate-data |
Compatibility and services JSON/schema checks when data changes (runner always allocated on PR) | 19s (5), 16–33s | No | Client+attest, scoped before allocation; queue reruns; real PR fallback |
CI Gate / ci.yml:ci-gate |
Aggregate direct/called job results; jobs API catches cancellations | 12s (3), 8–21s | No | Keep required name CI Gate ✅; validate explicit expected coverage |
Tier 2 Lane Proof / ci.yml:tier2-lane-proof |
Publish successful Tier 2 evidence after gate | 4s (1) | Not a check | No PR allocation on attested path; optional queue publication outside gate |
Claim bot / claim-bot.yaml:claim → org claim/claim |
Issue ownership/governance, independent workflow | 16s (1), 43313224044 | No | Keep only meaningful PR governance events; unrelated-event allocation filtering already belongs to #4460 |
Hardware Windows / vcam-audio-hardware.yaml:windows |
Download previously scheduled package, install VB-Cable, saved profile/recorded audio qualification | 1m38s (2), 1m34s–1m42s | No | Existing nightly/manual exception: remove PR trigger, schedule existing workflow; not admission evidence for merge SHA |
Hardware macOS / same macos |
Previous package + virtual microphone HAL driver/tone qualification | 2m30s (2), 2m26s–2m34s | No | Same |
Hardware timing uses its two latest successful PR runs, 42146564678 and 42145282792, 2026-11-06; these jobs trigger only for the workflow or ci/vcam_audio_hw.py changing. They are not in the five Pull samples.
Declared but not executable on a normal obs-rust PR today: ci-pre:cache-janitor (master push only), ci.yml:cancel-superseded and final cache-janitor (queue only), update-documentation (obsproject owner only), Flatpak runtime reuse/setup/cache transport probes and consumers (manual only), full macOS/Windows/Ubuntu/Flatpak builds and rust-cross-lint-release (full/release events), rust-linux-tier2-done (master push only). Keep their event boundaries. welcome.yaml uses pull_request_target, not pull_request; it is governance, outside this compile/test inventory. Security scans/sanitizers/packaging remain nightly/manual/release, not PR or queue.
Wiring verified today
push:121-161: prooft >=0.1 first (prooft soldr); deprecatedsoldr lint rust --attest --format json→ghd attest stamp --evidencefallback. Missing/failed evidence warns and can still push unlessPUSH_REQUIRE_ATTESTATION=1.build-project.yaml:1619-1633:ci_lint local-gate verify --trustsets skip outputs;ci_lint attest verifyis gated byATTEST_MODE, verifies only host fmt/clippy/Dylint/test, and explicitly never changes skips. NoATTEST_MODErepository variable was returned at audit time.ci-attestations.ymlmaps host fmt/clippy/Dylint/test, two cross lint targets and optional native gates; it has no gates for the three extra release lint targets, Windows linking, format validators or JSON validation.ci/local_gate.py:710-756: cross = Windows x64 + macOS arm64; release adds Windows arm64, macOS x64 and Linux arm64. Host is Linux x64 in the standard lane. Cross also links tests for the two main targets; extra targets lint only.- forge-ci/prooft README: per-gate, tree/parent or declared-input binding, freshness and base-owned policy; missing gates mean real CI. These trailers are an honesty contract, not signed execution evidence. Its queue-credit feature is intentionally not adopted by this plan: the queue must recompute heavy checks.
Decisions and trust boundary
- Trusted fast path: same-repository PR, author AND authenticated head signer are active obs-rust org members, GitHub reports the final exact HEAD commit signature valid, and every selected client gate has fresh valid evidence under base-owned policy. Resolve identity/membership using authenticated APIs; author association alone is insufficient (private membership exists). An unavailable/denied lookup, unknown signer or unsigned final stamp uses real PR CI, never a skip. Verification proves identity only; a trusted member can still lie about running a command.
- Read verifier code, gate mappings and tool pins from the immutable PR base. PR edits to trust surfaces (
push,ci/**,.github/**,local-gate.toml,ci-attestations.yml, toolchain/config manifests) force real selected PR checks. Do not execute head code to obtain skip decisions. Nopull_request_targetcompilation, privileged token on fork code, or write-token expansion to resolve membership. - Client evidence can replace PR formatting, self-tests, lint/clippy/Dylint and actually executed unit/differential tests, only gate by gate. Cross compilation never proves native tests, Tier 2 runtime, hardware/packaged behavior or ABI execution. Compile-only/link-only and native/test gates stay distinct. Preserve the old real-run path for forks, non-members, malformed/stale/missing evidence, trust edits and API errors. Outsiders can open RED PRs without a working local toolchain.
- All targets means exactly Linux x64/arm64 (
x86_64-unknown-linux-gnu,aarch64-unknown-linux-gnu), Windows x64/arm64 MSVC (x86_64-pc-windows-msvc,aarch64-pc-windows-msvc), macOS x64/arm64 (x86_64-apple-darwin,aarch64-apple-darwin). Run clippy AND Dylint for all six through soldr. Keep existing oracle exclusions for cross lint, but preserve required links as separate queue coverage. - The queue recomputes the selected heavy lanes on immutable merge-group base/head diff, even with valid client trailers or hosted input proofs. Shared/core changes retain native runtime coverage; path scope is allowed, proof skips are not. Restore queue coverage before removing PR execution. Runnerless cancellations, missing or unexpectedly skipped required matrix legs block. Preserve
MQ_RUNNER_LABELS, hosted fallbacks, independent maintenance and requiredCI Gate ✅name. - Strict client refusal remains opt-in during rollout; a complete stamp is required for the fast path, never for contributing. Stamping changes the message, so any trusted signed fast path must sign the final stamped commit; never treat a pre-amend signature as valid. If signing is unavailable use normal PR CI.
- No new workflow files, changes to public headers/C tests, product Rust ports, speculative security integrations, admin merges or ruleset bypasses. Hardware qualification moves to a schedule in its existing workflow because it tests an older package, not the merge candidate; this follows the existing nightly packaging policy.
Prior decisions, duplicates and changes of policy
Searched open/closed issues for attestation, local gate, client, prooft, Cross Lint, dylint, shift left, plus open PRs and attestation-only titles/bodies. No equivalent open issue covers this complete migration. The following overlap is deliberate and should not create parallel implementations:
- docs: PR CI is the merge gate; the local gate is optional for contributors #689 closed/completed: optional local gate, real PR CI and early RED PRs unblock external contributors. Preserve external fallback; update the blanket “PR is the only heavy gate” wording for the new trusted-member path.
- docs: say who the local-gate stamp helps, and that a private org membership counts as a non-writer #2808 closed/completed: document writer-only trust and private-member association failure. New verifier fixes identity resolution by failing closed on API uncertainty, not by requiring public membership.
- ci: Cross Dylint targets: PR gate win-x64/mac-arm64/linux-x64; release gate adds win-arm64, mac-x64, linux-arm64 #955 closed/completed: split three normal lint targets from three release-only targets. This maintainer direction supersedes that split for client lint, without deleting release validation.
- Local Dylint is not cacheable: it sits inside lanes whose keep-lists always change #3892 open, host separation partly landed in merged ci: extract host Dylint into a script-backed local gate lane #3899 and ci: publish the Dylint lane proof for exact inputs #3913; cross Dylint remains embedded. Preserve its cache work and source inputs. Upstream Dylint library store: key churns ~800 MB trees and never covers --target forge-ci/soldr#4118 is a performance dependency, not permission to omit target passes.
- ci: Let local native lanes attest the macOS and Windows jobs #443 open: native attest-or-run policy; optional native lanes already exist. Preserve distinct native evidence but move trusted-member native admission execution to queue. Do not claim cross lint closes this issue.
- ci: Fast PR path (Dylint + cargo check + path-scoped platform jobs), full suite after merge; prebuilt Qt libs for the Linux fast path #992 closed/completed: earlier fast PR/light queue policy. Merged ci: resolve merge-group scope independently and keep the queue Linux-only #3634 and current
docs/ci-tooling.md:864-878intentionally keep queue Linux-only because native runner starvation blocked it. The new instruction deliberately changes placement: queue becomes the heavy gate. Capacity problems remain failures, not a reason to silently skip. - ci: Fast multi-agent merges: lane proofs in the merge queue, no queue bypass #806 closed/completed and ci: 2026-11-09 queue stall — filter claim-bot runs before allocation; credit merge-group entries with keyed proofs #4460 open: earlier queue proof-reuse optimization; ci: 2026-11-09 queue stall — filter claim-bot runs before allocation; credit merge-group entries with keyed proofs #4460 also owns claim-bot filtering. Keep filtering separate; do not implement its queue proof-credit proposal as part of this migration because it conflicts with mandatory heavy queue reruns.
- Merged ci: add ./push as the single push entry point #4102 introduced
./push; merged ci(push): let prooft orchestrate the attestation #4138 put prooft first but retained legacy fallback. Build on these instead of introducing another push entry point.
Delivery and validation
Native sub-issues carry the independently landable work, exact files, RED tests and acceptance criteria. Implement the base-owned verifier, full client target evidence and client validators, then restore and enforce queue coverage, then cut over PR routing. Hardware scheduling is independent. Each implementation records focused local RED → GREEN evidence and observes normal PR/queue checks; do not create extra CI workflows or fork CI to prevalidate.
The final rollout must show a trusted fully attested PR with only scope/verifier/aggregate runner allocation (plus necessary governance), an unattested fork/non-member with real selected PR checks, and a queue run executing every selected heavy leg despite valid stamps. Report per-event job count, successful execution time and runner wait separately; do not assert latency savings from this small audit sample.
Recommended implementation order: #4744 (base-owned verifier), #4745 (all-target client Rust evidence), #4746 (client validators), #4747 (heavy queue execution), then #4748 (PR routing cutover). #4749 (nightly hardware scheduling) is independent and can land at any time. These six work items are attached as native sub-issues, each with an exact file list, RED test and acceptance criteria. #4748 requires all four preceding implementation contracts merged; #4747 must land before heavy PR coverage is removed. All six are fully specified and labeled ready.
Sub-issues
Collapse Sub-issuesSub-issues
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsTracker
Activity
zackees commentedon Nov 13, 2026
Claiming: prooft ecosystem compatibility in ./push (pool slot obs-studio3). 1. Record the installed writer rejecting the current data/swift policy. 2. Use the existing immutable upstream ecosystem-support pin for the client writer and add regression coverage. 3. Verify attestation, lint, and publish a focused PR. This is a partial follow-up and will only reference this issue.
zackees commentedon Nov 13, 2026
Claiming: end-to-end attested-skip verification in pool slot obs-studio3 (maintainer-assigned scope). 1. Clarify the host-only lint entry point versus complete ./push client evidence without touching the verifier trust surface. 2. Run PUSH_REQUIRE_ATTESTATION=1 ./push and inspect every PR job and attestation decision. 3. Fix blockers with RED/GREEN evidence, compare an unattested baseline, and queue the resulting PR. First PR after the strict client gate completes.
zackees commentedon Nov 13, 2026
End-to-end probe #4828 reached the real hosted verifier with a signed final head and 19 valid gates (local immutable-base verification: trusted=true, fast_path=true). Hosted CI Mode job 131743539181 instead timed out after 120 seconds executing the base-owned ci/gh_graphql.py fallback. That fallback installs ghd from the initial git source pin, whose soldr PEP 517 backend compiles the Rust CLI on a cold runner. PR checks therefore fell back to Fast Gate, Windows linking and cross lint. I am fixing the cold bootstrap to consume the exact published ghd 0.2.1 binary wheel with source builds disabled, with RED/GREEN regression coverage, then will re-run the ordinary probe after the fix is in its immutable base. Auto-merge on #4828 is held during this repair.
zackees commentedon Nov 13, 2026
Probe result: complete client evidence did not produce hosted skips because the cold base-owned GraphQL wrapper timed out after 120s; selected Fast Gate, Windows MSVC link and cross lint really executed. #4828 now repairs that bootstrap using the exact published ghd 0.2.1 wheel with source builds disabled (RED then GREEN, focused tests, fresh-cache launch in 2.261s, and another complete strict client gate). Auto-merge is armed on signed head 8f5b6ff; required run 43386672253 is waiting for runners. This CI trust-surface repair must run real checks. Actual hosted verification-only allocation is still unproven and must be tested after it lands; native sub-issue #4834 is ready with the precise probe and evidence requirements. Initial full job/log inventory and baselines are retained in the pool report directory. Returning the slot clean and retiring as requested.
zackees commentedon Nov 13, 2026
Claiming: ./push CI-pinned soldr bootstrap and clean toolchain environment (pool slot obs-studio3). 1. Add and run RED regression tests for pin selection and inherited overrides. 2. Resolve the exact existing CI pin automatically through uv, isolate the proof environment, and document PATH/explicit selection. 3. Run ./lint and a strict complete attested push, then open and queue a focused PR. This is the assigned reproducibility follow-up; it does not take over the verifier probe owned by #4828/#4834. First PR expected this session.
fix(push): bootstrap the CI-pinned soldr for client proof (obs-rust#4836
ci: defer attested Tier 2 cross-links to the merge queue
ci: defer attested Tier 2 cross-links to the merge queue (obs-rust#5745)
ci: skip Clippy and Dylint in the merge queue (Refs obs-rust#4743) (o…
ci: link Windows test binaries once per merge group (Refs obs-rust#4743…