GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — ci: treefmt check fails fleet-wide — flags files outside PR diffs (nixos/home/*), main pushes red since ~18:24Z 2026-10-28 · Issue #1784 · developing-today/code

ci: treefmt check fails fleet-wide — flags files outside PR diffs (nixos/home/*), main pushes red since ~18:24Z 2026-10-28 #1784

New issue
Copy link
New issue
Copy link
Closed
Closed
ci: treefmt check fails fleet-wide — flags files outside PR diffs (nixos/home/*), main pushes red since ~18:24Z 2026-10-28#1784
Copy link
Assignees
dezren39
Labels
area/ciCI/CD pipelines, workflows, and build automation (area)kind/ciCI/CD pipelines, workflows, and build automationpriority/highImportant and time-sensitivesource/creatorFiled by the new-issue-creator jobtask/triageQueue packet kind: verify, reproduce, and route this item

Description

@dezren39
dezren39
opened on Oct 28, 2026
Issue body actions

Problem

On 2026-10-28 the treefmt check job in nix-ci.yml became the fleet's dominant false-red: of the last 28 completed nix-ci runs sampled 19:12Z (17 success / 8 failure / 3 cancelled), all 8 failures are the treefmt check job — including runs on main pushes (e.g. run 40744776742 @ 18:24Z, run 40748461479 @ 18:48Z) — while Nix flake evaluation passed throughout.

Worse, PR runs fail for files outside the PR's diff: PR #1731 (diff = pkgs/id/web/src/navigation.ts + test only, per gh pr diff) failed treefmt with 13 flagged files, all unrelated: nixos/home/laptop-autocommit.nix, nixos/home/laptop-backups.nix, nixos/home/*.sh, .github/workflows/flake-inputs-update.yml (job 122995015603 log). A later failed job (123028438014) flags nixos/home/laptop-repo-keeper.sh. The flagged set looks like files that landed on main unformatted (laptop-autocommit family) being swept into other branches' changed-file computations — the job diffs $base_sha...$GITHUB_SHA (nix-ci.yml:51), so the base/head semantics for pull_request merge commits vs moved main need checking.

Impact

Every PR's nix-ci verdict is currently unreliable; queue workers park merge-ready PRs (tasks 1841/#1578 today, plus at least PRs in runs 40741007599, 40741900122, 40743077092, 40744747559, 40747684674) and burn shifts re-diagnosing the same red.

Acceptance criteria

  • Root cause identified: why files outside a PR's three-dot diff are format-checked (or, if the files are simply unformatted on main, why main pushes pass the pre-merge gate)
  • The currently-flagged files on main are formatted (or the check's changed-file set is corrected), and nix-ci on main is green again
  • A PR whose diff touches none of the flagged files shows a green treefmt check

Found by queue task 1076's investigation of #774 (Lane B shift, 2026-10-28) — related but distinct: #774 is Magic Nix Cache 418s, which were NOT observed in today's sample.

Activity

  1. dezren39
    added
    kind/ciCI/CD pipelines, workflows, and build automation
    priority/highImportant and time-sensitive
    area/ciCI/CD pipelines, workflows, and build automation (area)
    on Oct 28, 2026
  2. developing-today commented on Oct 28, 2026

    @developing-today
    developing-todayBot
    on Oct 28, 2026 – with developing.today
    Contributor
    More actions

    CODE-726

  3. github-actions
    assigned
    dezren39
    on Oct 28, 2026
  4. dezren39
    added
    queue/queuedHas a queued queue task
    source/creatorFiled by the new-issue-creator job
    status/needs-triageNot yet triaged; needs a first look
    task/triageQueue packet kind: verify, reproduce, and route this item
    on Nov 3, 2026
  5. developing-today commented on Nov 3, 2026

    @developing-today
    developing-todayBot
    on Nov 3, 2026 – with developing.today
    Contributor
    More actions

    agent-note:v1
    state: reviewed (coverage loop-back)
    Coverage pass 2026-11-03, loop-back review: this issue was re-reviewed (drift / overlap / already-handled / stale / blockers / ordering) so every open issue in the four repos is reviewed and in the system. Verdict: still live; in the system as task 7254 (triage, queued, priority 50) in repo-health-code-pilot. Labels audited and synced. If it is already handled at current main, its triage closes it with evidence; if oversized, the triage files the split; blockers belong on this issue.
    Found via: coverage loop-back 2026-11-03

  6. dezren39
    added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    status/needs-triageNot yet triaged; needs a first look
    queue/queuedHas a queued queue task
    on Nov 3, 2026
  7. dezren39 commented on Nov 3, 2026

    @dezren39
    dezren39
    on Nov 3, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up

    • Agent: queue worker (repo-worker-code), lane code-i
    • Session / ID: task 7254
    • Found via: queue claim
    • Task: Triage issue ci: treefmt check fails fleet-wide — flags files outside PR diffs (nixos/home/*), main pushes red since ~18:24Z 2026-10-28 #1784 at current main — verify whether the treefmt check still fails fleet-wide / on main, name blockers, and route a fix path or close with evidence.
    • Expectation: s — done looks like a verified current-state verdict posted on issue ci: treefmt check fails fleet-wide — flags files outside PR diffs (nixos/home/*), main pushes red since ~18:24Z 2026-10-28 #1784 and task 7254 completed as triaged (or closed with evidence).
    • Links: n/a yet
  8. dezren39 commented on Nov 3, 2026

    @dezren39
    dezren39
    on Nov 3, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done

    • Agent: queue worker (repo-worker-code), lane code-i
    • Session / ID: task 7254
    • Found via: queue claim
    • Task: Triage of issue ci: treefmt check fails fleet-wide — flags files outside PR diffs (nixos/home/*), main pushes red since ~18:24Z 2026-10-28 #1784 at current main — verdict: already resolved; closing with evidence.
    • Expectation: done — state verified fresh 2026-11-03 ~23:10Z, evidence below.

    Findings (verified fresh this shift):

    1. The treefmt merge gate no longer exists. Commit 4dc6cb057 (2026-10-29T07:12Z, "ci: formatting leaves the merge tier — auto-format bot on main, proxy fallbacks stay basic (ci: Phase 2 — PR-tier slimming (basic validation on PRs, full suite on main) #1781)") removed formatting from the merge tier. Current .github/workflows/nix-ci.yml on main has no treefmt check job; the proxy-port-fallbacks job header states: "This job used to also run the treefmt format check; formatting is no longer a merge gate — it is auto-fixed on main by .github/workflows/auto-format.yml (see .github/ci-policy.md)." Since commit 285e425b7 (2026-11-02) nix-ci does not trigger on pull requests at all, so no PR can fail a treefmt check for files outside its diff — acceptance criterion 3 is superseded by construction.
    2. nix-ci on main is green. Last 100 main-branch runs sampled 2026-11-03: completed = 37 success / 10 cancelled / 0 failure (window 16:46–19:34Z). Latest completed run 41704564554 (19:34Z) jobs: Nix flake evaluation ✓, NixOS host evaluation ✓, proxy port fallbacks ✓.
    3. Flagged files are handled by the auto-format bot on main. 45 style(treefmt): auto-format on main commits exist; latest 87582f1 at 2026-11-03T09:48Z — the bot continuously formats whatever lands unformatted, instead of red-flagging unrelated PRs.
    4. Root cause per the original report (unformatted files on main swept into other branches' changed-file sets) is therefore moot: there is no changed-file format gate left to sweep them into.

    One unrelated observation, not a blocker for issue #1784: auto-format schedule run 41684257818 (2026-11-03T17:26Z) failed on a push race (error: could not apply 2b36e5430... style(treefmt): auto-format on main — main moved under it). That is auto-format reliability territory (cf. #4787), not the fleet-wide false-red this issue tracked.

    Closing issue #1784 as completed/superseded by the #1781 change. Task 7254 completes as already_done.

  9. dezren39
    removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 3, 2026
  10. dezren39
    closed this as completedon Nov 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @dezren39
    dezren39

Labels

area/ciCI/CD pipelines, workflows, and build automation (area)kind/ciCI/CD pipelines, workflows, and build automationpriority/highImportant and time-sensitivesource/creatorFiled by the new-issue-creator jobtask/triageQueue packet kind: verify, reproduce, and route this item

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.