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(id): every main run builds the pkgs/id checks twice — the PR-tier matrix and the full flake check both run on push/schedule since the main-only trigger change · Issue #3045 · developing-today/code

ci(id): every main run builds the pkgs/id checks twice — the PR-tier matrix and the full flake check both run on push/schedule since the main-only trigger change #3045

New issue
Copy link
New issue
Copy link
Closed
#4847
Closed
ci(id): every main run builds the pkgs/id checks twice — the PR-tier matrix and the full flake check both run on push/schedule since the main-only trigger change#3045
#4847
Copy link
Assignees
dezren39
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)effort/sSmall: expected under 2 hours of workkind/ciCI/CD pipelines, workflows, and build automationpriority/normalOrdinary priority (the default)queue/blockedQueue or user escalation statesource/creatorFiled by the new-issue-creator jobstatus/blockedQueue or user escalation statetask/triageQueue packet kind: verify, reproduce, and route this itemwork/assignedQueue worker lifecycle state

Description

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

ci(id): every main run builds the pkgs/id checks twice — the PR-tier matrix and the full flake check both run on push/schedule since the main-only trigger change

Evidence (main 0f84fe08, verified this run)

.github/workflows/id-check.yml has had no pull_request trigger since 814c5146 ("ci: main-only workflow triggers, cancel-in-progress everywhere", 2026-10-30, Drew's main-only order). Its on: block (id-check.yml:44-58) is now: push to main (paths pkgs/id/** + the workflow/guard files), a nightly schedule (41 8 * * *), and workflow_dispatch. But the job graph still contains BOTH tiers, and nothing gates either one off for push/schedule events:

  • PR tier: guard ("basic: guard PR check list") → check_each, a matrix over the 26 checks in .github/scripts/id-pr-checks.txt → the check aggregator ("nix flake check"). No if: on guard or check_each.
  • Main tier: full-flake-check ("full (main tier): nix flake check"), whose only gate is if: github.event_name != 'pull_request' — a dead condition, since the workflow can no longer receive that event. It has no needs: on the matrix, so it starts in parallel and cannot reuse the matrix jobs' cache uploads from the same run.

The matrix set is a subset of the full check by construction: the guard script check-id-pr-checks.sh exists to keep id-pr-checks.txt in sync with pkgs/id/flake.nix's checks (every flake check is either listed or explicitly excluded as heavy), and the workflow's own comment on full-flake-check says the full check is the PR set "including the heavy checks the PR list excludes". So every push-to-main run — and every nightly schedule run — builds each of the 26 fast derivations twice: once as its own matrix job, once inside the full flake check.

Live confirmation: run 41183833194 (push, 2026-10-31T08:15Z) — the jobs API shows, in one run, basic: guard PR check list, all 26 basic: nix flake check (<name>) matrix jobs, and full (main tier): nix flake check (28 jobs at query time; the aggregator is created once the matrix completes, for 29). The 2026-10-31 nightly main-broken report (#3038) likewise names both a basic: matrix failure and the full nix flake check failure from the same tree.

The docs still describe the pre-814c5146 world: the workflow header says it "Runs on push to main and PRs that touch pkgs/id/ files", the concurrency comment explains how "Pull-request runs keep sharing a per-ref group", and .github/ci-policy.md's table still lists the id PR tier as "guard + affected-crate matrix (id-pr-checks.txt)" — a tier that can never run on a PR again.

Why it matters

The matrix split (#869) and the PR-tier slimming (#1781) existed to stop paying for the same derivations repeatedly; the main-only trigger change silently reintroduced the duplication on the one event that now fires most — every merge to main that touches pkgs/id. That is ~26 extra Nix builds per merge (plus the guard and aggregator jobs), competing for the same runner pool the fleet already queues on (#1599), and doubling the surface for flaky-check noise on main (a matrix flake and the same check inside the full run can disagree, producing two differently-named failures for one tree, as #3038 shows). This is not a request to restore PR triggers — the main-only order stands — it is about making the job graph match it.

Acceptance criteria

  • A push-to-main (and schedule) run of the id workflow builds each pkgs/id check derivation at most once: e.g. the PR-tier jobs (guard/check_each/check) are removed or gated off for push/schedule, OR full-flake-check is restructured so it no longer re-runs the matrix set — with the chosen shape recorded in the workflow header.
  • The drift guards (check-id-pr-checks.sh, check-crash-gate-coverage.sh) still run exactly once per main run, in whichever job survives.
  • The dead github.event_name != 'pull_request' condition on full-flake-check is resolved, and the workflow header comment + .github/ci-policy.md's id row describe the main-only reality (no PR tier that cannot fire).
  • Evidence on the closing PR: the job list of a post-change push run, showing no check name appearing in both a matrix job and the full-tier job.

Distinct from: #3039 (host-eval job not a required check in nix-ci), #2936 / #1579 (pm-stack paths with no PR CI at all), #1780/#1781 (the original tier design, closed), #1599 (runner queueing — this issue reduces load, it is not the queueing bug).

Activity

Next
  1. dezren39
    added
    kind/ciCI/CD pipelines, workflows, and build automation
    task/triageQueue packet kind: verify, reproduce, and route this item
    status/needs-triageNot yet triaged; needs a first look
    source/creatorFiled by the new-issue-creator job
    priority/normalOrdinary priority (the default)
    queue/queuedHas a queued queue task
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    effort/sSmall: expected under 2 hours of work
    on Oct 31, 2026
  2. dezren39 commented on Oct 31, 2026

    @dezren39
    dezren39
    on Oct 31, 2026
    MemberAuthor
    More actions

    🤖 Agent note · filed

    • Agent: new-issue-creator-code-a
    • Session / ID: new-issue-creator-code-a cron run 2026-10-31 07:05 CDT
    • Found via: filed this run
    • Task: Filed this issue: ci(id): every main run builds the pkgs/id checks twice — the PR-tier matrix and the full flake check both run on push/schedule since the main-only trigger change
    • Expectation: s; done when the acceptance criteria in the issue body are met — a main run builds each pkgs/id check once, guards still run once, docs match the main-only triggers.
    • Links: Issue ci(id): every main run builds the pkgs/id checks twice — the PR-tier matrix and the full flake check both run on push/schedule since the main-only trigger change #3045 ci(id): every main run builds the pkgs/id checks twice — the PR-tier matrix and the full flake check both run on push/schedule since the main-only trigger change #3045
  3. dezren39 commented on Oct 31, 2026

    @dezren39
    dezren39
    on Oct 31, 2026
    MemberAuthor
    More actions

    Related-but-distinct sibling found while deduping this run (same creator run, 2026-10-31): .github/workflows/mcpx-conformance.yml also carries dead github.event_name != 'pull_request' conditions (jobs leg and records) and a comment claiming the spec-parity job "stays on PRs", but that workflow's on: block has no pull_request trigger either (push + workflow_dispatch only). No duplicated builds there — the jobs are distinct — so it is only stale conditions/comments, not part of this issue's fix; noted here so the sweep that fixes #3045 can sweep the wording in passing if it wishes. mcpx.yml itself is NOT affected: it deliberately re-added a pull_request trigger after 814c514 (see its header comment, #1966/#1973), so its event conditions are live.

  4. github-actions
    assigned
    dezren39
    on Oct 31, 2026
  5. dezren39
    added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    and removed
    status/needs-triageNot yet triaged; needs a first look
    queue/queuedHas a queued queue task
    on Nov 1, 2026
  6. 146 remaining items

  7. dezren39
    added
    status/in-progressQueue worker lifecycle state
    and removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    on Nov 10, 2026
  8. dezren39 commented on Nov 10, 2026

    @dezren39
    dezren39
    on Nov 10, 2026
    MemberAuthor
    More actions

    Lane code-l picked up task 14526 (issue #3045) — handed off to opencode claimant.

    • Fresh check: issue ci(id): every main run builds the pkgs/id checks twice — the PR-tier matrix and the full flake check both run on push/schedule since the main-only trigger change #3045 OPEN, no hard-stop labels (held / user/owned / do-not-merge / do-not-auto-edit absent), no status/needs-triage.
    • Execution lane: opencode, assignment row 5715, session_id null at handoff.
    • Handoff reason: scheduled shift is time-bounded; claimant is the persistent execution session.
    • Next: claimant launches the bound opencode session; task parked 1200s in the meantime.
  9. dezren39 commented on Nov 10, 2026

    @dezren39
    dezren39
    on Nov 10, 2026
    MemberAuthor
    More actions

    🤖 Agent note · handed off to opencode claimant — Agent: queue worker (repo-worker-code), lane code-t — Session/ID: task 14526, repo-queue-worker-shift-t 2026-11-10 run. Task 14526 (small_fix) for issue #3045: ci(id) every main run builds the pkgs/id checks twice. Fresh check: issue #3045 OPEN, no held/user/owned/do-not-merge/do-not-auto-edit labels, no status/needs-triage. Attempts 3/6. Execution lane row 5715 = opencode. Handoff reason (#8097 Rule 4): scheduled shift is time-bounded; claimant is the persistent execution session. Checkpointed handed_off; parking task 14526 for 20 minutes for the claimant window.

  10. dezren39 commented on Nov 10, 2026

    @dezren39
    dezren39
    on Nov 10, 2026
    MemberAuthor
    More actions

    agent-note:v1
    lane: code-u
    task: 14526
    issue: #3045
    stage: handed_off
    note: Task 14526 (small_fix, issue #3045) verified fresh by lane code-u: issue OPEN, no hard-stop labels, no status/needs-triage. Execution lane row 5715 = opencode; handed off per runbook 1b Rule 4 (scheduled shift is time-bounded; claimant is the persistent execution session). Attempts 3/6. Parking 1200s for the claimant window.

  11. dezren39 commented on Nov 10, 2026

    @dezren39
    dezren39
    on Nov 10, 2026
    MemberAuthor
    More actions

    🤖 Agent note · handed off

    • Agent: repo queue worker, lane code-n (repo-worker-code)
    • Session / ID: cron repo-queue-worker-shift-n run 2026-11-10 03:27 CST; task 14526
    • Found via: claimed task 14526 this shift; execution-lane assignment returned opencode (row 5715)
    • Task: Revalidated issue ci(id): every main run builds the pkgs/id checks twice — the PR-tier matrix and the full flake check both run on push/schedule since the main-only trigger change #3045 fresh: OPEN, no hard-stop labels (held / user/owned / do-not-merge / do-not-auto-edit), no status/needs-triage. Handed off to the opencode claimant — scheduled shift is time-bounded; the claimant is the persistent execution session. Parking 1200s for the claimant.
    • Expectation: claimant session drives task 14526 to a terminal state.
    • Links: task 14526 · issue ci(id): every main run builds the pkgs/id checks twice — the PR-tier matrix and the full flake check both run on push/schedule since the main-only trigger change #3045
  12. dezren39 commented on Nov 10, 2026

    @dezren39
    dezren39
    on Nov 10, 2026
    MemberAuthor
    More actions

    agent-note: task 14526 handed off to opencode claimant (lane row 5715) by lane code-m. Handoff reason: scheduled shift is time-bounded; claimant is the persistent execution session. Issue #3045 verified OPEN with no hard-stop labels and no status/needs-triage (fresh gh). Parked 1200s for the claimant.

  13. dezren39 commented on Nov 11, 2026

    @dezren39
    dezren39
    on Nov 11, 2026
    MemberAuthor
    More actions

    🤖 Agent note · blocked

    • Agent: repo-worker-code, lane ec118cad-0fd3-4652-91c4-27432f2f2efd; task 14526.
    • Finding: Existing owner-authored PR ci(id): split basic push and full scheduled tiers #4847 explicitly closes this issue. It remains open and its latest checks include failures. No competing PR was created and the existing PR was not modified.
    • Next: Recheck PR ci(id): split basic push and full scheduled tiers #4847 disposition and issue state. Queue task blocked with watched PR dependency.
  14. dezren39
    added
    queue/blockedQueue or user escalation state
    status/blockedQueue or user escalation state
    and removed
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    on Nov 11, 2026
  15. dezren39
    closed this as completedin #4847on Nov 11, 2026
  16. dezren39 commented on Nov 11, 2026

    @dezren39
    dezren39
    on Nov 11, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done — fixed by PR #4847 (task 14526)

    • Agent: repo-worker lane any-d
    • This task was previously blocked (2026-11-11T02:04Z note) watching owner-authored PR ci(id): split basic push and full scheduled tiers #4847, which explicitly closes this issue. Fresh verification today: ci(id): every main run builds the pkgs/id checks twice — the PR-tier matrix and the full flake check both run on push/schedule since the main-only trigger change #3045 CLOSED as COMPLETED at 2026-11-11T08:12:26Z, and the fix is live on main — .github/workflows/id-check.yml now splits the tiers by event: check_each runs on push only (line 145), and full-flake-check runs on schedule / workflow_dispatch only (line 283), so a push to main no longer builds the 26 PR-tier checks twice. The task completes as already_done; no further work is needed here.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @dezren39
    dezren39

Labels

app/idPackage/app: id (pkgs/ or apps/ in this repo)effort/sSmall: expected under 2 hours of workkind/ciCI/CD pipelines, workflows, and build automationpriority/normalOrdinary priority (the default)queue/blockedQueue or user escalation statesource/creatorFiled by the new-issue-creator jobstatus/blockedQueue or user escalation statetask/triageQueue packet kind: verify, reproduce, and route this itemwork/assignedQueue worker lifecycle state

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.