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: root just-recipes.json has no drift guard — a recipe added to root.just without `just just-recipes` silently gets no nix app · Issue #8029 · developing-today/code

ci: root just-recipes.json has no drift guard — a recipe added to root.just without just just-recipes silently gets no nix app #8029

New issue
Copy link
New issue
Copy link
Closed
Closed
ci: root just-recipes.json has no drift guard — a recipe added to root.just without just just-recipes silently gets no nix app#8029
Copy link
Assignees
dezren39
Labels
area/ciCI/CD pipelines, workflows, and build automation (area)design/ci-programDesign: ci-program - all issues of this effort carry iteffort/xsTrivial: expected under 30 minutes of workepic/github-dynamic-computeEpic: epic/github-dynamic-compute (fleet reprioritization 2026-11-12)kind/ciCI/CD pipelines, workflows, and build automationpriority/normalOrdinary priority (the default)source/creatorFiled by the new-issue-creator jobtask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests
Milestone
GitHub + dynamic compute

Description

@developing-today
developing-today
bot
opened on Nov 9, 2026
Issue body actions

Problem

The root just-recipes.json — the file lib/default.nix reads to generate nix run .#<recipe> apps — has no drift guard. A recipe added to root.just without running just just-recipes silently gets no nix app, and a changed doc/parameter silently keeps the old description. The pkgs/id copy of this exact file has a guard (just-recipes-drift, from #2729); the root copy does not.

Evidence (verified on origin/main d71ad6057e, laptop worktree)

  • Consumer: lib/default.nix:641-653 — justRecipes = builtins.fromJSON (builtins.readFile ../just-recipes.json), then publicRecipes filters private/default; the comment above it says: "To add a new nix app: add a recipe to root.just, run just lockfiles, and the app appears automatically". Nothing enforces the second step.
  • Guard gap: repo-wide grep for just --dump returns exactly one hit — pkgs/id/scripts/just-recipes-check.sh:13, which cds to pkgs/id and certifies only the pkgs/id file. No script, workflow step, or flake check touches the root file. (id-check.yml runs one job per check in .github/scripts/id-pr-checks.txt, whose just-recipes-drift entry maps to the pkgs/id script.)
  • Recurrence, not hypothetical: 6 commits changed root.just without touching just-recipes.json (7c2c8191ff, ac91b09acd, 076da3a68e, 19597b5262, 051d8e19a7, 30623a69f7). 7c2c8191ff ("add rebuild recipe") states it explicitly: "just-recipes.json intentionally NOT regenerated here: regeneration embeds the generating checkout absolute path (source field) and the committed file is already stale" — i.e. past drift was worked around by skipping regeneration, which is exactly what a guard would have caught at review time.
  • Current state is clean (verified this run: just --dump --dump-format json at the root, projected to recipe presence/doc/parameters/dependencies/private + alias targets exactly as the id guard does → 35 recipes, zero diff). So this is a missing-guard filing, not live drift.

Why it matters

The failure mode is silent omission: nix run .#<new-recipe> fails with "no such app" (or an old doc string renders) while just <new-recipe> works, so the author who added the recipe never sees the break. #2729 already proved this shape bites on the pkgs/id copy (crash-gate-sampled's doc went stale on main).

Suggested fix shape (triage call)

  • A root variant of pkgs/id/scripts/just-recipes-check.sh: anchor to the repo root, just --dump --dump-format json, project out source (absolute path, per the 7c2c8191ff note) and recipe bodies (just-version serialization drift, per the id script's #2729 comment), diff the semantic projection.
  • Wire it where it runs: either a scripts-test.yml-style explicit step (following the test_check_provider_retirement_gate.py pattern from ci(scripts): test_check_provider_retirement_gate.py (19 tests, #5610 gate pins) is run by no workflow — the retirement gate is verified nowhere #7789) or the check-each mechanism — but note the root regeneration recipe also runs biome format --write (root.just:102-104), so the guard must compare against the formatted output or normalize first.
  • Dedupe: 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 (CLOSED — delivered the pkgs/id guard only), id(just-recipes-check): the drift guard reads just-recipes.json relative to the caller's CWD — invoked by path from elsewhere it fails raw or certifies the wrong file #6957 (CLOSED — that guard's CWD anchoring), Preserved branch: queue/4094-2729-just-recipes-drift — decision needed (merge / cherry-pick / drop) #3566 (CLOSED — preserved branch). Nothing tracks the root file.

Acceptance

  • A check exists that fails when root just-recipes.json's semantic projection (recipes + alias targets) differs from just --dump of the root justfile.
  • The check runs in CI (workflow step or flake check), not just as documentation.
  • The source/formatting normalization is pinned by a test, so the guard itself does not false-positive across machines or just versions.

Activity

  1. developing-today
    added
    kind/ciCI/CD pipelines, workflows, and build automation
    task/small-fixQueue packet kind: bounded fix with reproduction and targeted tests
    source/creatorFiled by the new-issue-creator job
    priority/normalOrdinary priority (the default)
    area/ciCI/CD pipelines, workflows, and build automation (area)
    effort/xsTrivial: expected under 30 minutes of work
    on Nov 9, 2026
  2. dezren39
    added
    status/needs-triageNot yet triaged; needs a first look
    on Nov 9, 2026
  3. developing-today commented on Nov 9, 2026

    @developing-today
    developing-todayBot
    on Nov 9, 2026 – with developing.today
    ContributorAuthor
    More actions

    Re-verified on current main 9fbddc76c6 (17 commits after the filing's d71ad6057e):

    • Root just-recipes.json still has no guard: the only just --dump invocation in the repo remains pkgs/id/scripts/just-recipes-check.sh:13, which anchors to pkgs/id and certifies only that copy.
    • Root copy is still clean today — just --dump --dump-format json at the repo root, projected to recipe presence/doc/parameters/dependencies/private + alias targets: 35 recipes on both sides, zero missing, zero extra, zero field or alias differences. So this stays a missing-guard issue, not live drift.
  4. dezren39
    added
    design/ci-programDesign: ci-program - all issues of this effort carry it
    epic/github-dynamic-computeEpic: epic/github-dynamic-compute (fleet reprioritization 2026-11-12)
    on Nov 12, 2026
  5. dezren39
    added this to the GitHub + dynamic compute milestone on Nov 12, 2026
  6. github-actions
    assigned
    dezren39
    on Nov 12, 2026
  7. dezren39
    removed
    status/needs-triageNot yet triaged; needs a first look
    on Nov 12, 2026
  8. dezren39 commented on Nov 12, 2026

    @dezren39
    dezren39
    on Nov 12, 2026
    Member
    More actions

    Agent: triage-step; state: triaged\nwork kind: task/small-fix\npriority: priority/normal (from drew-priorities-brief.md)\neffort: effort/xs\nfirst step: add a drift guard to root.just or enforce recipe registration\nacceptance: fails if a root.just recipe lacks a nix app entry

  9. dezren39
    added
    queue/queuedHas a queued queue task
    on Nov 12, 2026
  10. dezren39 commented on Nov 12, 2026

    @dezren39
    dezren39
    on Nov 12, 2026
    Member
    More actions

    Dropped-thread catcher — launch repair (2026-11-12):

    The Action outbox processor's 10:04 CST run reported both prepared enqueues for this issue blocked on broken preparation: the packet file in /tmp is not a valid repo-task/v1 packet (payload nested under body with string-typed fields, no payload object), so validate/enqueue fail with "packet.payload: required object". No queue task was enqueued, and this issue carried no queue label at check time (gh read-back 2026-11-12T16:31Z, OPEN, updated 15:41Z).

    The processor cannot compose a substitute packet, and no other owner was named. Routing this issue through the standard feeder instead: adding queue/queued so the repo-health code pilot feeder enqueues a fresh, valid packet for it. The invalid /tmp packet should be disregarded.

  11. dezren39
    added a parent issue on Nov 12, 2026
    • epic: GitHub and dynamic compute — rulesets, CI capacity, and elastic compute across the orgs #8985
  12. dezren39
    added a commit that references this issue on Nov 17, 2026

    Merge pull request #10948 from developing-today/queue/18571-8029-root…

    bc94fb3
  13. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    Member
    More actions

    🤖 Agent note · done (fixed_merged — triage stood, fix done inline this shift)

    • Agent: queue worker (repo-worker-code), lane any-c
    • Session / ID: task 18571
    • Found via: queue claim (bulk-intake triage packet, 2026-11-16)

    The triage of record (triage-step, 2026-11-12: small-fix / priority/normal / effort/xs) stood — but its fix packet never landed (the 2026-11-12 dropped-thread note on this issue: both prepared enqueues were blocked on broken preparation). This shift picked the fix up directly instead of re-filing it:

    • PR ci: drift guard for the root just-recipes.json (#8029) #10948 MERGED (merge commit bc94fb3): adds scripts/just-recipes-root-check.sh (the pkgs/id guard's twin for the root file — same semantic projection, anchored to its own tree), scripts/just-recipes-root-check-test.sh (fixture suite: drift cases for every projected field, invalid JSON, foreign-CWD decoys), and the flake check just-recipes-root-drift in lib/default.nix's root check set.
    • Verification: both scripts pass on the current tree (the committed file is in sync — this is the guard, not a regeneration); nix build .#checks.x86_64-linux.just-recipes-root-drift passes; treefmt clean. Codex review was quota-walled on the PR (no findings exist — disposition recorded on the PR).
    • Acceptance met: a root.just recipe added without regenerating now fails nix flake check via just-recipes-root-drift, exactly as the pkgs/id copy has since 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.

    Task 18571 completes as fixed_merged; this issue closes on the merge.

  14. dezren39
    removed
    queue/queuedHas a queued queue task
    on Nov 17, 2026
  15. dezren39
    closed this as completedon Nov 17, 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)design/ci-programDesign: ci-program - all issues of this effort carry iteffort/xsTrivial: expected under 30 minutes of workepic/github-dynamic-computeEpic: epic/github-dynamic-compute (fleet reprioritization 2026-11-12)kind/ciCI/CD pipelines, workflows, and build automationpriority/normalOrdinary priority (the default)source/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

    • GitHub + dynamic computeNo due date

    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.