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 — pkgs/id standalone flake build: world_compile version_probe fails in sandbox (root composition unaffected) · Issue #5926 · developing-today/code

pkgs/id standalone flake build: world_compile version_probe fails in sandbox (root composition unaffected) #5926

New issue
Copy link
New issue
Copy link
Closed
Closed
pkgs/id standalone flake build: world_compile version_probe fails in sandbox (root composition unaffected)#5926
Copy link
Assignees
dezren39
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)effort/mMedium: expected under 1 day of workkind/bugSomething isn't working (prefixed form of the classic bug label)meta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/lowNice to have; do when convenientstatus:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted teststask/triageQueue packet kind: verify, reproduce, and route this item

Description

@dezren39
dezren39
opened on Nov 5, 2026
Issue body actions

Observation (found while fixing #5736, 2026-11-04)

Building the id package from its standalone flake (nix build ./pkgs/id#id-web) fails its checkPhase on a test that does not fail in the root-flake composition:

---- world_compile::tests::version_probe_records_the_reported_version stdout ----
thread 'world_compile::tests::version_probe_records_the_reported_version' panicked at src/world_compile.rs:794:9:
assertion `left == right` failed
  left: ""
  right: "roc version 9.9-test"
test result: FAILED. 2809 passed; 1 failed; 6 ignored

The test writes a fake compiler script with a #!/bin/sh shebang (fake_compiler in src/world_compile.rs) and expects probe_compiler_version to record its output. In the standalone composition's build sandbox the probe returns "" — consistent with the sandbox lacking /bin/sh for the shebang (hypothesis, not proven).

Why this is filed as an observation, not a regression:

  • The switch builds the package through the root flake composition (nix build .#id-web at the repo root), whose checkPhase runs a different test total (2765 in the 2026-11-04 switch log) and does not fail this test — the switch log's only failure was the local_events test fixed for pkgs/id build: test_clear_spanning_more_authors_than_the_cap_clears_exactly_its_claims fails (left 41, right 1) — blocks amd switch #5736.
  • cargo test -p id in a dev shell also passes it (a shell has /bin/sh).
  • The failing mechanism (fake-compiler probe) is disjoint from the pkgs/id build: test_clear_spanning_more_authors_than_the_cap_clears_exactly_its_claims fails (left 41, right 1) — blocks amd switch #5736 change (docs + one test in src/local_events.rs).

Ask: confirm whether the standalone flake is a supported build path for pkgs/id. If yes, make the probe test robust to a /bin/sh-less sandbox (skip when the fake compiler cannot execute, or invoke it via an explicit interpreter). If the root composition is the only supported path, record that in pkgs/id's docs so the standalone failure stops surprising people.

Acceptance criteria

  • nix build ./pkgs/id#id-web (standalone flake) passes its checkPhase, including world_compile::tests::version_probe_records_the_reported_version.
  • The root-flake composition build of the same package still passes — the fix does not just move the failure.
  • The fix addresses the sandbox environment difference (what probe_compiler_version sees under the standalone build) rather than weakening or deleting the assertion.

Activity

Next
  1. developing-today commented on Nov 5, 2026

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

    CODE-1603

  2. dezren39
    added
    kind/bugSomething isn't working (prefixed form of the classic bug label)
    priority/normalOrdinary priority (the default)
    effort/mMedium: expected under 1 day of work
    status/needs-triageNot yet triaged; needs a first look
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added
    on Nov 5, 2026
  3. dezren39 commented on Nov 5, 2026

    @dezren39
    dezren39
    on Nov 5, 2026
    MemberAuthor
    More actions

    Intake review

    Related: Found while fixing #5736 (2026-11-04). Root-flake composition is unaffected, which is the key diagnostic fact.

    Still-live check: searched merged PRs referencing this issue at 2026-11-05T04:31:57Z — none found; the issue stands as filed.

    Notes / risks: Standalone-vs-root differences are usually env/ PATH /sandbox-tool availability; a fix that special-cases the test would hide a real probe fragility that end users building standalone would hit.

    Suggested approach: Reproduce standalone, diff the effective build environment (env vars, available tools, /bin/sh target) against the root composition, then fix the probe or the package's build inputs accordingly.

    Acceptance criteria were appended to the issue body and labels normalised by the fleet monitor's intake pass.

  4. dezren39
    added
    queue/queuedHas a queued queue task
    task/triageQueue packet kind: verify, reproduce, and route this item
    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 5, 2026
  5. 162 remaining items

    Load more actions
  6. dezren39 commented on Nov 10, 2026

    @dezren39
    dezren39
    on Nov 10, 2026
    MemberAuthor
    More actions

    🤖 Agent note · correction to note 6781741167 (lane code-m)

    • The park described in my previous note did not take effect: my claim lease on task 14671 expired during the long pkgs/id build (sccache wedge + load ~75), the checkpoint/park failed with "not claimed", and task 14671 is now claimed by lane code-x. I have stopped work on it; this note hands over clean state.
    • What stands from my tranche (all verified): PR Fix id fake compiler shebang in sandbox tests #7134 is rebased onto main b1e13be as single commit 4d8282e and force-pushed; MERGEABLE; cargo test version_probe 3/3 pass in both interpreter modes; no Codex findings exist on the PR. At my last check the PR had 9 checks pending.
    • Labels: I briefly set parked labels when I believed the park had applied; restored to claimed labels (queue/claimed + status/in-progress) to match the live claim.
    • Next for the current holder: when PR Fix id fake compiler shebang in sandbox tests #7134 checks complete, merge if green (pre-existing main failures like scripts-test / issue main CI failure: scripts-test (run 42402244678) #7765 are not blockers), close issue pkgs/id standalone flake build: world_compile version_probe fails in sandbox (root composition unaffected) #5926 as fixed, complete task 14671.
  7. 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 Nov 10, 2026
  8. dezren39
    added a commit that references this issue on Nov 10, 2026

    fix(id): provide ID_TEST_FAKE_SH to flake check derivations too (#5926)

    def48a0
  9. dezren39 commented on Nov 10, 2026

    @dezren39
    dezren39
    on Nov 10, 2026
    MemberAuthor
    More actions

    Fixed by PR #7134 (merged bd9cbc1): fake-compiler probe tests now take their shebang interpreter from ID_TEST_FAKE_SH, wired in both the package preCheck and the mkCheckWith check derivations; verified on the laptop (cargo test --lib world_compile, 31 passed, all three version_probe tests executed). Closing per queue task 14671 (lane code-x); full record on PR #7134.

  10. dezren39
    closed this as completedon Nov 10, 2026
  11. developing-today
    added
    status:done
    on Nov 10, 2026
  12. dezren39
    added
    priority/lowNice to have; do when convenient
    and removed
    priority/normalOrdinary priority (the default)
    on Nov 11, 2026
  13. dezren39 commented on Nov 11, 2026

    @dezren39
    dezren39
    on Nov 11, 2026
    MemberAuthor
    More actions

    Agent note — task 10541 verified already done (lane any-a)

    • The fix landed via PR Fix id fake compiler shebang in sandbox tests #7134 (merged 2026-11-10T23:17:14Z, commit 0424f8c3be "Fix id fake compiler shebang in sandbox tests"): current origin/main carries the mechanism — pkgs/id/flake.nix exports the stdenv shell as ID_TEST_FAKE_SH in preCheck and pkgs/id/src/world_compile.rs consumes it, so the fake-compiler tests use an interpreter that exists in the nix check sandbox. Issue pkgs/id standalone flake build: world_compile version_probe fails in sandbox (root composition unaffected) #5926 is CLOSED.
    • The task branch's own recorded evidence agrees (version_probe_ tests 3 passed, rustfmt clean, flake parses, derivation evaluation confirms the preCheck export). This lane additionally started the version_probe_ suite at current main in a detached worktree; it was still compiling dependencies when this note was written, so the completion rests on the merged PR + main-source verification above, not on that rerun.
    • Leftover queue/work/status labels from the landing are cleared with this note.
  14. dezren39
    removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 11, 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

app/idPackage/app: id (pkgs/ or apps/ in this repo)effort/mMedium: expected under 1 day of workkind/bugSomething isn't working (prefixed form of the classic bug label)meta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/lowNice to have; do when convenientstatus:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted teststask/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.