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 — id(ci): just-recipes.json drifts from the justfile with no guard — crash-gate-sampled's doc is already stale on main, and a recipe added without `just lockfiles` silently gets no nix app · Issue #2729 · developing-today/code

id(ci): just-recipes.json drifts from the justfile with no guard — crash-gate-sampled's doc is already stale on main, and a recipe added without just lockfiles silently gets no nix app #2729

New issue
Copy link
New issue
Copy link
Closed
#3054
Closed
id(ci): just-recipes.json drifts from the justfile with no guard — crash-gate-sampled's doc is already stale on main, and a recipe added without just lockfiles silently gets no nix app#2729
#3054
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/lowNice to have; do when convenientsource/creatorFiled by the new-issue-creator jobtask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

Description

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

Problem

pkgs/id/flake.nix generates every nix run .#<recipe> app from the checked-in
pkgs/id/just-recipes.json (justRecipes = builtins.fromJSON (builtins.readFile ./just-recipes.json),
flake.nix:255; apps generated at flake.nix:727-728 from publicRecipes, flake.nix:276-278).
pkgs/id/AGENTS.md makes the sync a rule: when adding or modifying justfile commands, add the
corresponding nix app — which in practice means re-running just lockfiles
(justfile:185-203, just-recipes recipe) so the JSON matches the justfile.

Nothing checks that sync, and the file has already drifted on main.

Evidence (verified this run, main a0625480bc9e692243b384e0edcb5cc96bc4fa27)

Regenerated the dump on the laptop (just 1.58.0, just --dump --dump-format json in
pkgs/id/, laptop clone at the same HEAD) and compared parsed JSON against the checked-in file:

recipes only in fresh:   []
recipes only in checked: []
recipes differing:       ['bench', 'crash-gate-sampled']
  • crash-gate-sampled doc — real content drift. Current justfile doc (justfile:238-248,
    ending “…losing all PR coverage.”) vs checked-in JSON doc (“excluded everywhere (they rewrite
    the checked-in corpus files).”). Commit 5b0a3031 (id(ci): crash-gate PR splits silently drop any future #[ignore]d crash test — no coverage guard for the #1310 partition #1635) appended the guard paragraph to the
    justfile comment and touched only the justfile; 859726d5 (id(ci): F11.4 fast CI lane under 15 minutes #551) was the last commit to touch
    both files. Because mkRecipeApp takes the app description from recipe.doc
    (flake.nix:264-269), nix run .#crash-gate-sampled's description is the pre-id(ci): crash-gate PR splits silently drop any future #[ignore]d crash test — no coverage guard for the #1310 partition #1635 text.
  • bench body + top-level source — generation noise a guard must handle. The bench
    body serialises one argument list one nesting level differently under just 1.58.0, and the
    checked-in file's source is an absolute path from the machine that generated it
    (/home/hatch/git/worktrees/queue-1283-551/pkgs/id/justfile). A naive byte-diff guard would
    false-positive on both, forever.
  • No guard exists. No flake check (flake.nix checks, :308ff), workflow, or script
    references just-recipes outside flake.nix's generation and the justfile's lockfiles
    recipe (grep this run).

Why it matters

Today the drift is one stale description. The same silent path turns a future justfile change
into a missing or wrong nix app: a recipe added without just lockfiles gets no
nix run .#<recipe> at all, and a recipe whose parameters change keeps the old app signature —
exactly the Nix/justfile desync pkgs/id/AGENTS.md warns against, with no signal anywhere.

Acceptance criteria

  • pkgs/id/just-recipes.json is regenerated so crash-gate-sampled's doc matches the
    current justfile (and any other semantic drift at the time is resolved).
  • An automated check (flake check or CI job, in the style of the existing id checks)
    fails when the justfile and just-recipes.json disagree on the semantic recipe fields
    (presence, doc, parameters, dependencies, private flag).
  • The check normalises the known generation noise — the absolute source path and
    just-version serialisation differences such as the bench body nesting — so it is
    green on a correctly regenerated file regardless of which machine/just produced it.
  • The check is demonstrated failing on the pre-fix tree (stale crash-gate-sampled doc)
    and passing after regeneration.

Related, distinct: #1797 (justfile formatting in CI / build hygiene) — this issue is only the
generated-file drift guard.

Activity

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

    @dezren39
    dezren39
    on Oct 30, 2026
    MemberAuthor
    More actions

    🤖 Agent note · filed

    • Agent: new-issue-creator-code-a (issue creator, lane A)
    • Session / ID: cron job new-issue-creator-code-a, run 2026-10-30 07:05 CDT
    • Found via: filed this run
    • Task: Filed after regenerating the just dump on the laptop at main a062548: pkgs/id/just-recipes.json (from which flake.nix generates every nix run app) has drifted from the justfile — crash-gate-sampled's doc is pre-id(ci): crash-gate PR splits silently drop any future #[ignore]d crash test — no coverage guard for the #1310 partition #1635 — and no check guards the sync pkgs/id/AGENTS.md mandates.
    • Expectation: effort/s triage — regenerate the JSON and add a drift check that normalises the absolute source path and just-version serialisation noise (bench body).
    • Links: body evidence in the issue; related distinct id: build hygiene — build-variants as a cargo artifact, justfile formatting in CI, just ci duplicated test blocks #1797 (justfile formatting / build hygiene).
  3. github-actions
    assigned
    dezren39
    on Oct 30, 2026
  4. 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 Oct 31, 2026
  5. 37 remaining items

  6. dezren39
    removed
    queue/claimedQueue worker lifecycle state
    on Oct 31, 2026
  7. dezren39 commented on Oct 31, 2026

    @dezren39
    dezren39
    on Oct 31, 2026
    MemberAuthor
    More actions

    🤖 Agent note · parked — CI verification pending

    • Agent: repo-worker-code (openchamber scheduled lane)
    • Session / ID: queue task 4094 · ses_e5e6dcfb20bffeq9s2cEgWfiYi
    • Progress: Review found false greens for parameter/dependency fields and projection errors. Regression fixes and targeted tests are committed and pushed on PR fix(id): guard just-recipes.json against justfile drift (#2729) #3054, head 1de77d40b98463ed5e1a587e7de3b0968d73c7d8; local shell regression tests and Nix drift check passed.
    • Resume: Review the new commit and verify CI/checks on this head before merging; no GitHub checks were reported at park time. The id workflow previously appeared not to run on PRs. Branch queue/4094-2729-just-recipes-drift, worktree /home/user/git/fleet/4094-2729-just-recipes-drift. At attempt cap; fleet cap repair may be needed.
  8. dezren39 commented on Oct 31, 2026

    @dezren39
    dezren39
    on Oct 31, 2026
    MemberAuthor
    More actions

    🤖 Agent note · test evidence correction

    • Agent: repo-worker-code (openchamber scheduled lane)
    • Task: queue task 4094, PR fix(id): guard just-recipes.json against justfile drift (#2729) #3054 head 1de77d40.
    • Correction: The Nix guard passed before the regression tests were wired into the flake. A subsequent Nix build failed before a test-script fix; a final Nix rerun was not yet confirmed at park time. Standalone regression test and guard passed. Verify the final Nix build before merging.
  9. dezren39 commented on Oct 31, 2026

    @dezren39
    dezren39
    on Oct 31, 2026
    MemberAuthor
    More actions

    🤖 Agent note · final local Nix verification

    • Agent: repo-worker-code (openchamber scheduled lane)
    • Task: queue task 4094, PR fix(id): guard just-recipes.json against justfile drift (#2729) #3054 head 1de77d40.
    • Update: Final-commit nix build --no-link -L .#checks.x86_64-linux.id-just-recipes-drift passed, including the wired regression tests. The task remains parked pending PR checks and review of the new head.
  10. dezren39 commented on Oct 31, 2026

    @dezren39
    dezren39
    on Oct 31, 2026
    MemberAuthor
    More actions

    🤖 Agent note · parked — CI dispatched, queued in runner backlog

    • Agent: queue worker (repo-worker-code), lane F
    • Session / ID: queue task 4094 (resume)
    • PR: fix(id): guard just-recipes.json against justfile drift (#2729) #3054 (@1de77d40b)
    • New facts this shift: (1) Codex review COMPLETED on the current head with no findings (has_any_findings: false, 13:48Z). (2) The reason no CI ever reported: no id workflow run existed for this branch at all — the PR trigger never fired. I dispatched it manually: run 41208914413 (workflow_dispatch on queue/4094-2729-just-recipes-drift), currently queued behind the fleet runner backlog.
    • Resume: run 41208914413 green → merge PR 3054 → close id(ci): just-recipes.json drifts from the justfile with no guard — crash-gate-sampled's doc is already stale on main, and a recipe added without just lockfiles silently gets no nix app #2729 → complete task 4094 as fixed_merged. If the run fails, read the failing matrix leg first (the just-recipes guard is one of the new checks in id-pr-checks.txt).
  11. dezren39
    added
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    on Oct 31, 2026
  12. dezren39
    added a commit that references this issue on Oct 31, 2026

    fix(id): guard just-recipes.json against justfile drift (#2729) (#3054)

    2a746a8
  13. dezren39
    closed this as completedin #3054on Oct 31, 2026
  14. dezren39
    removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Oct 31, 2026
  15. dezren39 commented on Oct 31, 2026

    @dezren39
    dezren39
    on Oct 31, 2026
    MemberAuthor
    More actions

    agent-note:v1 — task 4094 done: PR #3054 squash-merged (2a746a8). Codex clean @1de77d40b, no unresolved threads; laptop first-hand: just-recipes-check.sh pass (regenerated JSON matches justfile) and just-recipes-check-test.sh pass (fail-first permutations covered). CI note: the id workflow run 41208914413 stayed queued in the runner backlog from 14:10Z through the merge — merged under the standing directive on first-hand verification; the new just-recipes-drift flake check is registered in id-pr-checks.txt for future PRs.

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/lowNice to have; do when convenientsource/creatorFiled by the new-issue-creator jobtask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

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.