Skip to content

test: server/legacy-env.test.ts fails locally on Bun 1.4.3 (Module not found supervisor-stand-in.ts) #1968

Closed as not planned

Description

@devswha

On a clean checkout of origin/main (7ab4bde), bun test server/legacy-env.test.ts fails 3 to 5 of its 13 tests (a supervisor started by the launcher of an install from before the rename > ..., e.g. "stops its Rust PTY host install when the supervisor stops"):

error: the supervisor exited 1:
error: Module not found '<tmp>/ovis-legacy-launcher-XXXXXX/supervisor-stand-in.ts'
  at startBridge (server/legacy-env.test.ts:122:56)
  • Happens with the default TMPDIR and with a custom one, across repeated runs (which tests fail varies a little).
  • Local Bun is 1.4.3; CI pins 1.4.2 (packageManager, workflows) and CI is green on main, so this is likely Bun 1.4.3 specific. It makes bun run check fast fail locally for anyone on 1.4.3.
  • Found while verifying the Sidebar: show a read-only access summary in Phone & devices #1604 branch; that branch does not touch the files involved.

Activity

  1. devswha commented on Oct 26, 2026

    @devswha
    OwnerAuthor

    Correction: this host's inotify instances are at the 128 limit (fs.inotify.max_user_instances), which makes watcher-based tests fail here with EMFILE. That is the likelier cause of the "Module not found ... supervisor-stand-in.ts" failures above than Bun 1.4.3; the version difference is unconfirmed. Treat this as a local environment issue unless it reproduces on a host below the limit.

  2. devswha commented on Oct 28, 2026

    @devswha
    OwnerAuthor

    Not reproduced on current main, so closing as a local environment issue (the inotify limit named in the comment above).

    • Host: P620, Linux 7.0.0-38, Bun 1.4.3 (the version in the report), fs.inotify.max_user_instances = 128 with about 70 in use during the runs.
    • Code: a fresh clone of origin/main 4d5edf38, bun install --frozen-lockfile.
    • Steps: bun test server/legacy-env.test.ts, 6 runs (3 of them through dori heavy).
    • Result: 13 pass, 0 fail in every run. No Module not found ... supervisor-stand-in.ts appeared.

    Reopen if it comes back on a host that is below the inotify limit.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions