Skip to content

Nix Playwright E2E suite fails after vendoring dependencies #176

Open

Description

@dezren39

Summary

After the test-e2e derivation was made offline-reproducible and Playwright was aligned with the Nix-provided browser, the Firefox suite launches but the Nix check still fails: 113 passed, 17 failed.

Reproduced locally with:

nix build ./pkgs/id#checks.x86_64-linux.test-e2e -L

Failures span autosave, the empty-home state, editor/image features, rename/delete/search, and WebSocket save tests. Examples include:

  • Expected saved content but received the autosave retry… state; some later API reads ended with socket hang up.
  • File list/search/rename assertions could not find files created by their tests.
  • /hash/{hash} redirected to a different test's alt-text-test-… file rather than the expected redirect-test-… name.

The Playwright config runs one worker against a single ephemeral server. Investigate test-state isolation, repeated-content/hash alias behavior, and server lifecycle under the Nix sandbox. This surfaced once the missing Cargo Git dependencies could be built; PR #175 does not fix these failures yet.

Related follow-up: #175

Activity

  1. dezren39 commented on Oct 24, 2026

    @dezren39
    MemberAuthor

    id train triage (2026-10-24): too-big-needs-design — Nix Playwright E2E stabilization after vendoring (113 passed / 17 failed).

  2. dezren39 commented on Oct 29, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · picked up

    • Agent: queue worker (repo-worker-code), Lane A shift
    • Session / ID: queue task 2020
    • Found via: queue claim · repo-health-code-pilot
    • Task: Triage Nix Playwright E2E suite fails after vendoring dependencies #176 — verify whether the Nix Playwright test-e2e suite still fails at current main (17 failures at filing: autosave, empty-home, editor/image, rename/delete/search, WebSocket save), or whether later work fixed/superseded it; route a scoped fix or close with evidence.
    • Expectation: effort s — done = triage verdict posted, follow-up enqueued or issue closed with evidence, task 2020 completed.
    • Links: issue Nix Playwright E2E suite fails after vendoring dependencies #176
  3. dezren39 commented on Oct 29, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · done (triage verdict: CONFIRMED — still red at HEAD, narrowed since filing)

    • Agent: queue worker (repo-worker-code), Lane A shift
    • Session / ID: queue task 2020 (triage)
    • Found via: queue claim · repo-health-code-pilot
    • Task: Triage complete — the suite still does not pass at current main, but the problem has narrowed since filing; routed to a scoped follow-up (queue task 2965).
    • Evidence:
    • Expectation: follow-up task 2965 (small_fix, dedupe repo-health:v1:fix:developing-today/code:issue:176) — done = fresh per-spec inventory posted here, residual failing specs fixed (or proven infra-only with re-run evidence), test-e2e green.
    • Links: follow-up task 2965 · nightly run https://github.com/developing-today/code/actions/runs/40511024415
  4. added and removed
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Oct 29, 2026
  5. dezren39 commented on Oct 29, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · parked

    • Agent: queue worker (repo-worker-code), lane A shift
    • Session / ID: queue task 2965
    • Found via: queue claim
    • Task: Nix Playwright E2E suite fails after vendoring dependencies #176 residual test-e2e failures — step 1 (fresh per-spec inventory at HEAD) is running in CI; task parked on that run, resume = read its per-spec results and fix the failing specs.
    • Expectation: on resume: extract the per-spec pass/fail inventory from run 40850100317, post it here replacing the stale filing numbers, fix each failing spec (or prove infra-only with re-run evidence), PR + green test-e2e.
    • Links: fresh inventory run (workflow_dispatch on main, 2026-10-29): https://github.com/developing-today/code/actions/runs/40850100317 · prior triage: task 2020 verdict on this issue

    Progress — inventory run dispatched

    Revalidated fresh: #176 is OPEN, no hard-stop labels; the packet's evidence holds — last scheduled nightly on main 2026-10-27 (run 40511024415) failed, 2026-10-28 nightly (40702501780) was cancelled in the runner stall, and no green nightly exists since the per-spec isolation fix (#229/PR #987) merged.

    Step 1 of the packet is a fresh per-spec inventory at HEAD. That run takes ~2h in CI (recent nightlies: 1h57m–3h00m), far beyond a worker shift's CI-wait limit, so instead of waiting: I dispatched id e2e nightly on main — run 40850100317 (queued at dispatch) — and parked this task on it. The per-spec runner reports every failing file, which is exactly the inventory the resumed worker needs; infra noise (FlakeHub auth / Magic Nix Cache rate limits seen in earlier logs) must be separated from real spec failures when reading it.

  6. added
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    work/assignedQueue worker lifecycle state
    status/parkedDeliberately paused with a recorded resume condition
    and removed on Oct 29, 2026
  7. 77 remaining items

  8. dezren39 commented on Nov 8, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · handed off

  9. added
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    and removed
    queue/claimedQueue worker lifecycle state
    on Nov 8, 2026
  10. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    Picked up for triage by queue task #18034 (lane code-h). Revalidating issue state and current E2E failure evidence; scope is issue #176 only.

  11. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    Triage verdict (task 18034): still actionable; current evidence still lacks a fresh per-spec inventory

    Verified 2026-11-17: #176 remains OPEN. The latest id e2e nightly, run 43915062937, is queued on main at bbe8d38. The three completed runs on Nov 13–15 failed. The latest usable per-spec inventory remains the Oct 29 result already recorded here (118 passed / 13 failed); prior triage notes establish that newer nightly runs did not reach/report per-spec results. Tasks 11866 and 13575 are completed, but neither resolved the issue scope.

    Disposition: keep #176 open and parked, not closed as fixed and not blocked on Drew. The next actionable step is to inspect run 43915062937 when it completes; if it reaches the per-spec loop, record the fresh inventory (including the newer world-surface.spec.ts), then enqueue scoped fix work. If it fails before specs, route a narrowly scoped CI/harness investigation rather than repeating the stale spec-fix task. No additional duplicate packet is enqueued while the nightly is already queued; its result is the immediate resume condition.

  12. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    Follow-on check for task 19396 (triage follow-on of task 18034) on issue #176.

    Fresh state checked this run: issue #176 is OPEN, no held / user/owned / do-not-merge / do-not-auto-edit labels; it carries user/review (worker-first review — handled here), status/triaged, and queue/parked / status/parked.

    The next step named by the task 18034 triage verdict was to inspect nightly run 43915062937 when it completed. That run is now completed: conclusion cancelled (updated 2026-11-17T05:04:52Z, head bbe8d38), its single job (nix flake check (full)) cancelled, and it produced no per-spec inventory. The Nov 13-15 nightly runs all failed. So the latest usable per-spec inventory remains the Oct 29 result already on this issue (118 passed / 13 failed; clusters: save/autosave, WebSocket convergence, image rendering).

    Verdict: the task 18034 triage stands — keep #176 open and parked, not closed as fixed and not blocked on Drew. No scoped fix packet is enqueued yet, because the fresh per-spec inventory that triage made the precondition still does not exist; the resume condition is a nightly run that reaches the per-spec loop. Completing task 19396 as triaged with this evidence.

  13. removed their assignment
    on Nov 20, 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

    queue/parkedQueue task is parked (waiting on CI, time, or an event)source/creatorFiled by the new-issue-creator jobstatus/parkedDeliberately paused with a recorded resume conditionstatus/triagedTriaged and routed (see agent note)task/triageQueue packet kind: verify, reproduce, and route this itemuser/reviewNeeds a user-look: Muse reviews first and handles what it canwork/assignedQueue worker lifecycle state

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions