Repository navigation
Description
Context
Six fixes tracked by #1689 stalled because fbuild requires Bosn local proof before hosted CI may run. The owner prohibits additional fbuild clones/worktrees and explicitly requested skipping Bosn. ci/local_gate.py invokes bosn ci run; Bosn's crates/bosn-service/src/ci/snapshot.rs::snapshot copies the source and initializes a Git repository including HEAD/history. This isolates CI from concurrent edits and supports workflow Git commands, but violates that workspace constraint.
The blocking coupling is in fbuild: local-gate.toml uses mode = "enforce"; generated ci-minimal.yml requires its verifier before Linux, board planning, and extended/full selections. Missing proof therefore prevents real hosted validation instead of letting it establish correctness.
Proposal
Make local proof advisory in fbuild. Keep optional source-bound proof generation available, document its copy behavior, and allow ordinary hosted CI to run without Bosn or local attestations. Preserve every actual test, board selector and aggregate failure check. Make verifier infrastructure failures advisory too, since local-proof diagnostics must not gate hosted validation.
Acceptance criteria
- RED -> GREEN: execute the generated verifier shell with a failing/unavailable verifier and confirm PR validation can continue.
- Configure shared local-gate policy as shadow/advisory; preserve proof validation diagnostics.
- Keep actual hosted Ubuntu, board, Dylint and extended/full validation required with their current commands and selections.
- Render existing workflows through
ci/render_workflows.py; create no new workflow files. - Focused workflow, replay-contract and generator-drift checks pass.
- Document why optional Bosn snapshots exist and that agents must not block shipping on them when hosted validation is available.
Decisions
- Fix the dependency in FastLED/fbuild rather than redesign Bosn's isolation model: the user explicitly requested skipping Bosn.
- Local proof is advisory for everyone, so the same constraint cannot strand future sessions. No fabricated attestations or admin merge bypass.
- Run the verifier independently as a diagnostic job with advisory failures; real hosted job failures remain blocking.
Related issues
- feat(ci): source-bound Linux proofs through bosn and act2 #1635 introduced source-bound Linux proof and originally specified shadow rollout.
- Complete ordinary-PR Dylint parity and cold/warm measurement through Bosn → act2 #1643 tracks optional Dylint replay parity.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsTriage
Activity
fix(ci): make optional Bosn proof independent of hosted validation (#…
fix(ci): stop optional Bosn proof from blocking hosted validation (#1699