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): nixos-playwright-e2e VM test fails on first curl — no server readiness wait (nightly 40457980141) · Issue #1374 · developing-today/code

id(ci): nixos-playwright-e2e VM test fails on first curl — no server readiness wait (nightly 40457980141) #1374

New issue
Copy link
New issue
Copy link
Done
Done
id(ci): nixos-playwright-e2e VM test fails on first curl — no server readiness wait (nightly 40457980141)#1374
Copy link
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)epic/id-programReprioritization program epic (2026-11-12)kind/ciCI/CD pipelines, workflows, and build automationnowOrg Project gate: active priority — orchestrator adds to the boardpriority/highImportant and time-sensitivequeue/queuedHas a queued queue tasksource/creatorFiled by the new-issue-creator jobstatus:in-reviewtask/triageQueue packet kind: verify, reproduce, and route this item

Description

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

Finding (from #1075 slice 1, queue task 1256)

nixos-playwright-e2e fails on a readiness race in its own VM test script: the first probe is a single non-retried curl against a server that is not up yet.

Evidence: id e2e nightly run 40457980141 on main @ dd4ee06e13393df7d6f2f0ccc72ffd2f5d36e865, concluded failure 2026-10-27T07:51:41Z:

  • ❌ checks.x86_64-linux.nixos-playwright-e2e — builder failed exit code 1. Traceback in vm-test-run-id-playwright-e2e:
    File "<string>", line 17, in <module>
      chromium_client.succeed("curl -sf http://chromium_server:4173/")
    RequestedAssertionFailed: command `curl -sf http://chromium_server:4173/` failed (exit code 7)
    
    Exit code 7 = connection refused. The failure fired ~53s after the VMs started (07:31:31Z → 07:32:24Z), while the server VMs were still booting / the app was still starting (pkarr/DNS publish noise in the same window). There is no wait_for_open_port / retry before the succeed(...) probe in the failing script path.
  • This check never got to run any Playwright test in this nightly — the harness failed before the suite started, so the nightly currently gives no NixOS-Playwright signal at all.
  • Not covered by Nix Playwright E2E suite fails after vendoring dependencies #176 (that is the non-VM test-e2e derivation) or id(ci): nightly NixOS VM checks fail — home page no longer contains 'Files' (serve/e2e assertions, integration timeout) #896 (VM serve/e2e/integration; playwright-e2e was still running when it was summarised). No commit between dd4ee06e and current main (6f4532ab) touches the id nix tests.

Acceptance criteria

  • The playwright-e2e VM test waits for the server properly (e.g. wait_for_open_port(4173) / retried probe with a named timeout) before the first curl assertion.
  • nixos-playwright-e2e reaches and runs its Playwright suite in a full nix flake check run; pass/fail is then about the tests, not harness readiness.
  • Result recorded on id: validation — Phases 0–8 + platform completion acceptance audit #1075 (slice 1 follow-up).

Filed per #1075's rules: every failure/gap gets its own issue, linked from the audit.

Activity

Next
  1. dezren39
    added
    kind/ciCI/CD pipelines, workflows, and build automation
    priority/highImportant and time-sensitive
    on Oct 27, 2026
  2. developing-today commented on Oct 27, 2026

    @developing-today
    developing-todayBot
    on Oct 27, 2026 – with developing.today
    Contributor
    More actions

    CODE-469

  3. dezren39
    added
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    nowOrg Project gate: active priority — orchestrator adds to the board
    on Oct 27, 2026
  4. github-actions
    assigned
    dezren39
    on Oct 27, 2026
  5. dezren39 commented on Nov 2, 2026

    @dezren39
    dezren39
    on Nov 2, 2026
    MemberAuthor
    More actions

    agent-note:v1 — picked up triage task 2565 (queue repo-health-code-pilot, worker repo-worker-code, lane aea12c82, origin openchamber-scheduled-lane) at 2026-11-02T23:02:51Z. Revalidating #1374 against current main.

  6. dezren39
    added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    on Nov 2, 2026
  7. dezren39 commented on Nov 2, 2026

    @dezren39
    dezren39
    on Nov 2, 2026
    MemberAuthor
    More actions

    agent-note:v1 — triage verdict (task 2565, worker repo-worker-code, lane aea12c82) at 2026-11-02T23:04:45Z:

    Verdict: confirmed with corrected diagnosis — routed as follow-up task 6591, issue stays open.

    • Issue premise is stale: the server-side readiness waits it asks for already exist at origin/main AND already existed at the failing commit dd4ee06 — pkgs/id/nix/tests/playwright-e2e-test.nix lines 121-128 (wait_for_unit + wait_for_open_port for all four instances) precede the curl probes (lines 131-134). Adding waits would be a no-op.
    • Residual real gap: wait_for_open_port runs on the SERVER VM (local check); the first probe runs on the CLIENT VM across the virtual network with no retry — that unretried cross-VM hop is what failed with exit code 7 in nightly run 40457980141 (~53s after VM start).
    • Recurrence: unknown — nightlies of 10-29/10-31/11-02 all fail earlier on infra (Magic Nix Cache throttling, missing store paths); the VM test has not re-run since 10-27.
    • Route: enqueued small_fix task 6591 (client-side retry for the four verify curls, server-side block unchanged). The 10-29+ infra failures are out of this issue's scope (cf. Nix Playwright E2E suite fails after vendoring dependencies #176, id(ci): nightly NixOS VM checks fail — home page no longer contains 'Files' (serve/e2e assertions, integration timeout) #896).
  8. dezren39
    added
    work/assignedQueue worker lifecycle state
    and removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 2, 2026
  9. 115 remaining items

  10. dezren39 commented on Nov 22, 2026

    @dezren39
    dezren39
    on Nov 22, 2026
    MemberAuthor
    More actions

    Correction to my closeout record above, for accuracy: the cancellation of run 45036897652 was requested via both the cancel and force-cancel endpoints and accepted by the API (202), but the run's reported status still showed in_progress at last check (~18:24Z) — GitHub's status had not yet flipped. The request stands; the run terminates on GitHub's side or at its own timeout, and its outcome is moot either way since the branch is superseded.

  11. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    xaltha picking up #1374 criterion 2 (validation only): prove nixos-playwright-e2e reaches and runs its Playwright suite in a full check on current main. Criterion 1 is met on main (PR #4667) and the legibility hardening is merged (PR #12581), so no readiness-code slice here. Plan: branch xaltha/1374-playwright-e2e-check, dispatch the targeted nixos-playwright-e2e check via the nightly workflow's only_checks input on that branch, and record the pass / legible-failure verdict here.

  12. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    xaltha criterion-2 verdict — BLOCKED, pre-existing failure on main. No PR: this slice is validation-only and there is nothing landable.

    Verification run: targeted nixos-playwright-e2e dispatch on branch xaltha/1374-playwright-e2e-check (head 645ddd758, main at dispatch time, zero slice commits — pure main history) via the nightly workflow only_checks input: run 45158002494, completed failure after 32m. The check never reached the Playwright suite — it failed at build time.

    Root cause (not this slice, not the readiness wait): the id package build fails in tests/provider_registry_exit_proof.rs:151 — the_client_segment_is_exactly_the_declared_client_providers panics with assertion left == right failed: F13.7 declares exactly one client provider so far (left: 2, right: 1). That cascades: id-0.1.0 → unit-id-primary.service → the e2e VM test driver → nixos-playwright-e2e cannot build.

    Why it is pre-existing on main: commit a3148bbf2 ("feat(id-caps): register client.notify provider for the mobile shell (#10930)", merged as PR #12891) added a second client entry, so CLIENT_CATALOG_ENTRIES in pkgs/id/crates/id-caps/src/world_caps.rs:1110 is now [CLIENT_FILE_READ_MANIFEST, CLIENT_NOTIFY_MANIFEST] — still the case on current main (3ac8e1a0). The exit-proof test was never updated for the second provider. The previous scheduled main nightly 45038327413 (2026-11-22 15:26Z, before that merge) passed this test, so the regression landed with #12891. The branch run above re-proves it on clean main code.

    What criterion 2 still needs: the #10930 / F13.7 owner updates the exit proof for the two-provider client segment (expect 2, name client.notify alongside client.file.read), after which a re-dispatch of the targeted nixos-playwright-e2e check can actually run the suite. Note the 2026-11-22 main nightly also failed nixos-playwright-e2e for a separate broad cascade (fmt/clippy failures), so main needs a green full check, not just this test, before criterion 2 can pass. A main nightly 45156889099 is currently in progress and will presumably hit the same exit-proof failure.

    State: #1374 stays open on criterion 2 only. Branch xaltha/1374-playwright-e2e-check was never pushed to the remote (no remote ref remains); the local worktree ~/workspace/github-work/code-1374 is at the dispatched head if a re-dispatch is needed.

  13. dezren39
    added a commit that references this issue on Nov 23, 2026

    test(id): expect two declared client providers in the exit proof

    1fd958b
  14. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    xaltha picking up the criterion-2 blocker — exit-proof fix in flight.

    Claim check: #1374 OPEN; no live claim on fixing the exit proof in the last 24h (archer Lane EK closed its #10930 registration slice as complete at 2026-11-23T04:37Z; no open PR touches provider_registry_exit_proof.rs).

    Fix: branch xaltha/1374-exit-proof-2providers (head 1fd958b57) updates the_client_segment_is_exactly_the_declared_client_providers in pkgs/id/tests/provider_registry_exit_proof.rs to expect exactly the two declared client providers — client.file.read then client.notify, in order — with the same per-provider registry/ceiling checks as before. No weakening to "at least one". (The id-caps unit tests were already updated for two providers by #12891; only this exit proof still asserted one.)

    Verification: fleet queue dispatch is blocked by the TLS UnknownIssuer defect (#13185), so dispatched via the fleet-command.yml workflow fallback: run 45168889157 — narrow test cargo test --test provider_registry_exit_proof on the branch. If it goes green, I will re-dispatch the targeted nixos-playwright-e2e check and open the PR.

  15. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Verification retry — first dispatch failed on the runner environment, not the test.

    Run 45168889157 (fleet-command.yml fallback) failed after ~4m before compiling anything: cargo could not create the p2panda git-dependency db under /__w/fleet/fleet/.fleet/cache/cargo/git/db/ — Permission denied (os error 13) — because the command runs as vscode while that cache dir is not vscode-writable. The test itself never ran, so this says nothing about the fix.

    Retry: run 45175679056, same narrow test, with CARGO_HOME=/tmp/id-cargo-home (plus the existing CARGO_TARGET_DIR=/tmp/id-target) so cargo owns its writable paths. If that goes green I will re-dispatch the targeted nixos-playwright-e2e check and open the PR.

  16. dezren39
    added 2 commits that reference this issue on Nov 23, 2026

    test(id): expect two declared client providers in the exit proof

    693947f

    docs(id): list `walk` in the README CLI Commands table

    e898385
  17. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    xaltha: criterion-2 blocker fix PR open — PR #13368.

    The exit-proof blocker from the earlier verdict is fixed, and the targeted re-dispatch it enabled surfaced a second build blocker on the same chain, which is fixed in the same PR:

    1. Exit proof (prior lane's fix, verified): the_client_segment_is_exactly_the_declared_client_providers now expects exactly the two declared client providers (client.file.read, client.notify, in order). Narrow verification green: cargo test --test provider_registry_exit_proof, 4 passed — fleet-command run 45175679056.
    2. walk README row (new): the targeted nixos-playwright-e2e dispatch on the exit-proof branch (run 45177254952, old head) got past the exit proof and failed in id-cli --lib: test_command_lists_cover_all_clap_subcommands — "README CLI Commands table omits walk" (the id: walking skeleton for #9106 — a signed record at an id:// address synced between two nodes #12232 B3 slice added the subcommand and updated the module-doc list but not the README table). One row added, mirroring module-doc order. Narrow verification green: that test, 1 passed — fleet-command run 45190295451.

    PR: #13368 — branch xaltha/1374-exit-proof-2providers, head e898385f2 (rebased onto current main; two commits, test + docs only).

    Criterion 2 still open: targeted nixos-playwright-e2e dispatch on the PR branch is in flight — https://github.com/developing-today/code/actions/runs/45192939504. If it reaches and runs the Playwright suite, criterion 2 gets its record here; if it fails, the failure — not this PR — is the next blocker.

  18. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Second pass (lane oc-code-08, task 21747): revalidated fresh — readiness wait is present in pkgs/id/nix/tests/playwright-e2e-test.nix:140-222 (named bounded cross-VM probes, 120s deadline, refs #1374; landed via PR #4667 + commit 8dd806fb9bb 2026-11-22), and the build chain was unblocked by merged PR #13368 (2026-11-24). #1374 still OPEN status:in-review with no confirmation yet that a nightly has gone green through the fixed path. Remaining is operational confirmation, then close. No code touched.

  19. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Second-pass verify-and-route (queue task 21747, lane any-o, 2026-11-24).

    • Fresh state: id(ci): nixos-playwright-e2e VM test fails on first curl — no server readiness wait (nightly 40457980141) #1374 OPEN. The readiness fix is in (id(ci): retry cross-VM curl probes in playwright-e2e-test.nix #4667 and 8dd806f), and the build is unblocked (Unblock nixos-playwright-e2e build: exit proof two client providers, walk README row #13368 merged).
    • Gap: no nightly e2e run is visible in recent gh run list output, so green is not yet confirmed.
    • Route: no new packet. Close id(ci): nixos-playwright-e2e VM test fails on first curl — no server readiness wait (nightly 40457980141) #1374 once a nightly e2e run goes green.
  20. dezren39 commented on Nov 25, 2026

    @dezren39
    dezren39
    on Nov 25, 2026
    MemberAuthor
    More actions

    Second-pass verification (queue task 21747, lane code-g, 2026-11-25):

    • Fresh issue state: id(ci): nixos-playwright-e2e VM test fails on first curl — no server readiness wait (nightly 40457980141) #1374 remains OPEN (status:in-review); no hold label. This pass is triage only.
    • Readiness fix: met. PR id(ci): retry cross-VM curl probes in playwright-e2e-test.nix #4667 merged 2026-11-10; client-side cross-VM curl probes use bounded retries.
    • Failure legibility: met. PR test(id): legible named-deadline cross-VM readiness probes in playwright-e2e VM test (#1374) #12581 merged 2026-11-22; named 120s probe deadlines and server diagnostics on timeout.
    • Build chain: the known blockers were fixed by PR Unblock nixos-playwright-e2e build: exit proof two client providers, walk README row #13368, merged 2026-11-24 (54683fbb).
    • Remaining acceptance evidence: still missing. Fresh workflow history shows the latest scheduled main id e2e nightly, run 45464908449, completed failure (the full nix flake check job failed). Recent targeted runs 45559243998 and 45562573852 also failed, but were on claude/project-thread-oleea7, not main. None supplies a green main-branch run that reaches the Playwright suite.
    • Route: no new implementation or duplicate validation packet. The remaining work is operational confirmation from the existing id e2e nightly workflow; keep id(ci): nixos-playwright-e2e VM test fails on first curl — no server readiness wait (nightly 40457980141) #1374 open until a main-branch run reaches the suite and its outcome is recorded here (and on id: validation — Phases 0–8 + platform completion acceptance audit #1075). If a run fails before the suite, record the new blocker on its own merits.
  21. developing-today-fleet commented on Nov 26, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 26, 2026 – with developing.today fleet
    Contributor
    More actions

    Triage close-out (code-h, task 24360, 2026-11-26): operational confirmation achieved. id e2e nightly run 45877069794 (2026-11-26T18:34Z, main) completed success on the full job, which includes the playwright-e2e VM check through the landed readiness probes (#4667 + 8dd806f, legibility #12581, unblocked by #13368). The same-days scheduled run 45870473932 failed by cancellation of the check step (infra/runner, no test failure), not first-curl. The defect this issue tracks is fixed and green on main; closing. If a scheduled run fails on first-curl again, reopen with that run id.

  22. developing-today-fleet commented on Nov 26, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 26, 2026 – with developing.today fleet
    Contributor
    More actions

    Closed as implemented. Closed per triage evidence above: green full run 45877069794 on main through the fixed readiness path.

  23. developing-today-fleet
    closed this as completedon Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    app/idPackage/app: id (pkgs/ or apps/ in this repo)epic/id-programReprioritization program epic (2026-11-12)kind/ciCI/CD pipelines, workflows, and build automationnowOrg Project gate: active priority — orchestrator adds to the boardpriority/highImportant and time-sensitivequeue/queuedHas a queued queue tasksource/creatorFiled by the new-issue-creator jobstatus:in-reviewtask/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.