Skip to content

./push: prove lint + host unit tests on the pushed head (prooft), push, open PR #5372

Done

Description

@zackees

Goal

Give FastLED a ./push that proves the local gate on the committed head, pushes the branch and opens its PR, the way FastLED/fbuild and FastLED/cli already do. Hosted CI should then skip the lanes that were proven.

Why

What exists elsewhere

  • FastLED/fbuild ./push: runs the lanes linux-minimal, lint and dylint through ci.local_gate, stamps HEAD with prooft trailers, pushes and opens the PR. ci/prooft_verify.py plans skips in CI from the base branch's verifier and policy.
  • FastLED/cli: the same pattern. ci-attestations.yml maps the lanes lint and test to gates, and the gates to the jobs they replace.
  • FastLED/FastLED: no prooft plumbing at all: no ci-attestations.yml and no verifier step.

Proposed plan

  1. Policy. Add ci-attestations.yml with two lanes:

    • lint, running ./lint;
    • test, running the host unit tests (./test --cpp; the exact mode is to be decided).

    Their inputs are src/**, tests/**, ci/**, examples/**, lint, test, push, pyproject.toml, uv.lock and ci-attestations.yml. Gates map only to the Linux lint and unit jobs; board compiles are never attested.

  2. Verifier. Add ci/prooft_verify.py, copied from FastLED/cli: plan skips from the base checkout, pinned to the same prooft commit.

  3. ./push. Refuse the default branch, a detached HEAD and a dirty tree. Run prooft run <lane> -- <cmd> per lane (reusing a cached proof when the inputs are unchanged), push with --force-with-lease, then open or reuse the PR.

  4. CI. Add a skip-plan step to the Linux lint and unit workflows that reads the verifier's output. The merge queue keeps running everything.

  5. Docs. Add ./push to the contributor docs and to AGENTS.md/CLAUDE.md.

Start in shadow mode (trailers are judged and reported, nothing is skipped). Flip to skipping once a week of PRs shows the verdicts agree with hosted results.

Out of scope

Board/platform compile workflows; the merge-queue run.

Activity

  1. added
    sanitized
    on Nov 21, 2026
  2. zackees commented on Nov 22, 2026

    @zackees
    MemberAuthor

    Status, from the issue sweep: this needs a maintainer decision before anyone builds it.

    • prooft 0.3.0 has shipped. forge-ci policy GATE-014 says ./push should be a thin Python delegate to prooft --push. The rollout so far covers FastLED/cli, FastLED/fbuild, soldr and zccache, but not FastLED/FastLED.
    • Open PR ci: add ./push, which runs the platform emulator gate first #5230 adds a different ./push (emulator gate first).

    Question for the maintainer: should FastLED/FastLED adopt the GATE-014 delegate (which would supersede #5230), or land #5230? Until that's decided, this stays open and nobody is working on it.

  3. moved this from Triage to Done in FastLED Trackeron Dec 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    sanitized

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions