Skip to content

fix(ci): make Bosn proof advisory so hosted validation cannot be blocked #1698

Closed

Description

@zackees

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions