Skip to content

build(id): worker_poc_reference test still includes examples/tic-tac-toe after df3f836e moved it to apps/ (breaks toplevel build at main) #4111

Closed

Description

@dezren39

Sixth breakage in the #3720 fold chain, found by the fold switch itself (2026-11-01 19:2x CST): the toplevel build of the laptop's id service derivation failed in checkPhase:

error: couldn't read `tests/../examples/tic-tac-toe/tic-tac-toe.wasm`: No such file or directory
error: could not compile `id` (test "worker_poc_reference")

Root cause: df3f836e (#3926, packaging tic-tac-toe as the first apps/ folder) moved the example from examples/tic-tac-toe/ to apps/tic-tac-toe/program/ and updated the include_bytes! sites in src/sandbox.rs, but missed:

  • tests/worker_poc_reference.rs:26 — include_bytes!("../examples/tic-tac-toe/tic-tac-toe.wasm") (compile-time; breaks the test build)
  • worker-poc/compare/isolate-runner.mjs:31 — "../../examples/tic-tac-toe/tic-tac-toe.wasm" (same stale path in the compare runner)

The move target apps/tic-tac-toe/program/tic-tac-toe.wasm exists. The stale test path survived because the branch that fixed #4015/#4047/#4073 (PR #4027) forked before df3f836e landed; the combination was first compiled by the fold switch's toplevel build. Fix = point both references at the apps/ location. Blocks the #3720 fold switch.

Activity

  1. added a commit that references this issue on Nov 2, 2026
  2. dezren39 commented on Nov 2, 2026

    @dezren39
    MemberAuthor

    Close-out verification (auto-closed by PR #4112): merge commit 11cb8966 confirmed as a git object and ancestor of origin/main; both corrected paths grep in origin/main's tree (tests/worker_poc_reference.rs:26, worker-poc/compare/isolate-runner.mjs:31). Host verification on the laptop: lib suite 1569 passed / 0 failed; worker_poc_reference target ok. Fold switch re-running on this main.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

priority/highImportant and time-sensitive

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions