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 crate test failure blocks NixOS deploys from main: version_probe_records_the_reported_version records empty version · Issue #8173 · developing-today/code

id crate test failure blocks NixOS deploys from main: version_probe_records_the_reported_version records empty version #8173

New issue
Copy link
New issue
Copy link
Closed
#10950
Closed
id crate test failure blocks NixOS deploys from main: version_probe_records_the_reported_version records empty version#8173
#10950
Copy link
Assignees
dezren39
Labels
effort/mMedium: expected under 1 day of workexpediteImportant - do this very soon, before anything not expeditedkind/bugSomething isn't working (prefixed form of the classic bug label)priority/highImportant and time-sensitivestatus:donetask/ci-investigationQueue packet kind: investigate a CI failure

Description

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

Observed

Building the amd NixOS toplevel from main (58369f9, 2026-11-10 ~15:00Z) fails in the id package's check phase:

  • Derivation: id-0.1.0.drv — cargo test -p id --lib: 3180 passed, 1 failed, 6 ignored
  • Failing test: world_compile::tests::version_probe_records_the_reported_version (src/world_compile.rs:794)
    • assertion left == right failed: left "", right "roc version 9.9-test" — the version probe recorded an empty string instead of the reported version.
  • Cascade: unit-id-primary.service → system-units → etc → toplevel all fail, so no generation switch from current main is possible while this fails.

Context / hypotheses (unverified)

  • The laptop was under heavy fleet load at the time (load average ~18) — a probe subprocess returning empty output is consistent with a timeout/starvation flake, but that is a hypothesis, not established.
  • A retry build was launched to distinguish flake from deterministic failure; result will be appended here.
  • This is independent of the change that needed the switch (_openai provider: self-contained main OpenAI door that does it all without Codex (Drew top priority) #8163 opencode pin + _openai config): the id package is untouched by it.

Ask

Determine whether version_probe_records_the_reported_version is load-sensitive (probe timeout yields empty string instead of an error) and harden it — a probe that returns "" should presumably fail loudly or retry, not record an empty version. Until then, main cannot be deployed to amd.

Activity

  1. dezren39
    added
    expediteImportant - do this very soon, before anything not expedited
    on Nov 10, 2026
  2. developing-today commented on Nov 10, 2026

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

    CODE-2415

  3. dezren39 commented on Nov 10, 2026

    @dezren39
    dezren39
    on Nov 10, 2026
    MemberAuthor
    More actions

    Update (2026-11-10 ~15:35Z): the retry build of the identical toplevel (same main, same derivations) succeeded — exit 0, new configuration built and later switched live (generation 553). The id derivation rebuilt and its check phase passed on the retry under comparable load. One data point for the load-flake hypothesis; the underlying ask stands (a probe returning "" should not be recordable as a version), but this no longer blocks deploys.

  4. github-actions
    assigned
    dezren39
    on Nov 12, 2026
  5. dezren39
    added
    task/ci-investigationQueue packet kind: investigate a CI failure
    priority/highImportant and time-sensitive
    effort/mMedium: expected under 1 day of work
    kind/bugSomething isn't working (prefixed form of the classic bug label)
    status/triagedTriaged and routed (see agent note)
    queue/queuedHas a queued queue task
    on Nov 17, 2026
  6. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up + triaged

    • Agent: queue worker (repo-worker-code), lane any-e
    • Session / ID: task 18596
    • Found via: repo-health-code-pilot atomic claim (unfiltered, lane any-e)
    • Task: Triage issue id crate test failure blocks NixOS deploys from main: version_probe_records_the_reported_version records empty version #8173: id crate test failure blocks NixOS deploys from main — version_probe_records_the_reported_version records empty version
    • Fresh verification (2026-11-17): issue id crate test failure blocks NixOS deploys from main: version_probe_records_the_reported_version records empty version #8173 OPEN; its only label was expedite (Drew's set — left untouched) and it had never been triaged, so triaged inline per runbook §1c. No hard-stop labels. The 2026-11-10 retry comment stands: the identical rebuild succeeded and generation 553 switched, so deploys are NOT currently blocked — the flake is the remaining defect.
    • Verdict: work kind task/ci-investigation · priority/high · effort/m · kind/bug (labels applied this run, plus status/triaged and queue/queued for the follow-on)
    • Priority why: the issue carries Drew's expedite label (priorities brief: expedite ⇒ band 10–20); when the flake recurs in the Nix check phase it blocks NixOS deploys from main, and the item is in the expedite set verified still open on 2026-11-16.
    • Key finding: the compile-path behaviour the issue questions is settled design, recorded in the code itself (pkgs/id/crates/id-worlds/src/world_compile.rs): the version probe is informational provenance only, a failed probe records an empty string rather than failing a compile whose artifact identity is pinned by compiler_blake3, and version_probe_failure_records_empty asserts exactly that. What is NOT settled is the test surface: probe_compiler_version returns "" identically for spawn error, deadline kill, and non-zero exit, so the failing assertion cannot say which branch fired under the load-average-~18 build; the test still probes a shell-script fake compiler with a 5s bound, and no commit since 2026-11-10 hardens it.
    • First step: reproduce/instrument under load to identify the branch (spawn / deadline / non-zero exit), then harden the test surface (load-robust fake or branch-distinguishing assertion/retry) — without changing compile-path semantics unless the investigation proves a healthy real compiler's version is mis-recorded.
    • Acceptance: branch identified with evidence (or load-reproduction + hardening removes the flake across repeated loaded runs); the two settled-semantics probe tests still pass in intent; id-worlds suite passes via the fleet build lock.
    • Fix packet: repo-health:v1:fix:developing-today/code:issue:8173 → enqueued as task 20082 (queue repo-health-code-pilot, status queued, priority 20 expedite band).
  7. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up

    • Agent: queue worker (repo-worker-code), lane any-g
    • Session / ID: task 20082
    • Found via: repo-health-code-pilot atomic claim (unfiltered, lane any-g); execution-lane assignment: direct (fix(queue): single-session by default — launch-on-handoff, lane works, inline triage (reverses #8097 Rule 3) #8187)
    • Task: Fix id crate test failure blocks NixOS deploys from main: version_probe_records_the_reported_version records empty version #8173: harden load-flaky version_probe test in id-worlds (Nix check phase blocks deploys)
    • Fresh verification (2026-11-17): issue id crate test failure blocks NixOS deploys from main: version_probe_records_the_reported_version records empty version #8173 OPEN; labels kind/bug, task/ci-investigation, priority/high, effort/m, status/triaged, expedite — no hard-stop labels (held / user/owned / do-not-merge / do-not-auto-edit). On current origin/main, probe_compiler_version in pkgs/id/crates/id-worlds/src/world_compile.rs still returns an empty string identically for spawn error, deadline kill, and non-zero exit, and version_probe_records_the_reported_version still probes a shell-script fake compiler with a 5s bound.
    • Plan: add a branch-distinguishing detailed probe outcome used by the tests (compile-path wrapper keeps the exact settled empty-on-failure semantics), make the records-the-reported-version test retry only transient branches (spawn failure / timeout) and name the branch on failure, keep the hung-compiler and failure tests asserting their specific branches, then run the id-worlds suite repeatedly under load via the fleet build lock.
  8. dezren39
    added
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    queue/queuedHas a queued queue task
    status/triagedTriaged and routed (see agent note)
    on Nov 17, 2026
  9. developing-today
    added
    status:in-review
    on Nov 17, 2026
  10. dezren39
    added a commit that references this issue on Nov 17, 2026

    Merge pull request #10950 from developing-today/queue/20082-8173-vers…

    c770846
  11. dezren39
    closed this as completedin #10950on Nov 17, 2026
  12. developing-today
    added
    status:done
    and removed
    status:in-review
    on Nov 17, 2026
  13. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done — fixed_merged (task 20082, lane any-g)

    • PR: fix(id-worlds): make version-probe test branch-diagnosable and load-robust (#8173) #10950 MERGED, merge commit c770846 (branch queue/20082-8173-version-probe-hardening, commit cc474d3). This issue auto-closed via the PR's Fixes line.
    • Root-cause branch: by construction the original assertion could not distinguish the branches — that was the diagnosability defect. The branches that can yield "" for a healthy fake compiler under load are the transient ones (spawn failure under fork/exec pressure; deadline kill when the shell-script fake is scheduling-starved past the 5s bound); a non-zero exit is deterministic and cannot explain a one-off flake that passed on an identical retry (2026-11-10, generation 553).
    • Fix: probe_compiler_version is now a wrapper over probe_compiler_version_outcome, which returns the branch (Reported / SpawnFailed / TimedOut / ExitedNonZero(code) / WaitFailed). The records-the-reported-version test retries only the transient branches (5 attempts) and names the branch on any failure; the hung-compiler and failure tests now assert their specific branch (TimedOut, ExitedNonZero(Some(3))). Compile-path semantics unchanged: every failure branch still records "" — the settled design (identity pinned by compiler_blake3).
    • Evidence: baseline cargo test -p id-worlds version_probe passed on origin/main; after the change cargo test -p id-worlds — 734 passed, 0 failed (fleet build lock, laptop); loaded repetition 30/30 version_probe runs passed under synthetic load 28–31 (24 CPU hogs on 16 cores), above the ~18 load average of the original flake.
    • Codex gate: Codex review on PR fix(id-worlds): make version-probe test branch-diagnosable and load-robust (#8173) #10950 could not run (usage limits exhausted — known fleet-wide state); it presented no findings. Disposition recorded on the PR.
  14. dezren39
    removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on 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

effort/mMedium: expected under 1 day of workexpediteImportant - do this very soon, before anything not expeditedkind/bugSomething isn't working (prefixed form of the classic bug label)priority/highImportant and time-sensitivestatus:donetask/ci-investigationQueue packet kind: investigate a CI failure

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.