Skip to content

node_api_host_e2e fails on main (invisible: e2e-scoped only runs it when a diff names the file) #11204

Description

@proggeramlug

crates/perry/tests/node_api_host_e2e.rs fails on pristine main (83feb3b). Main's CI doesn't show it. e2e-scoped runs this suite only when a PR's diff names the file, and the sweep tier's cargo test --workspace stops at an earlier failing binary (cjs_wrap_builtin_require.rs) before it gets here.

Reproduced on macOS with cargo build --release -p perry -p perry-runtime-static -p perry-stdlib-static, then cargo test --release -p perry --test node_api_host_e2e. 5 tests fail, the same on main and on #11186:

  • four fail with cannot inspect imports ... Invalid Mach-O symbol library ordinal (macOS only);
  • parcel_watcher_facade_matches_real_watcher_snapshot_stream fails with TypeError: (boolean).writeSnapshot is not a function. That is the same watcher failure the Linux e2e-scoped job shows on refactor: replace utility dependencies with opt-in Perry helpers #11186.

On Linux, CI also reports real_node_api_addon_resolves_from_host_and_authenticates_sidecar (panic at :384) and a host-executable size-budget failure ("delta is 3133672 bytes; budget is 614400"). Those haven't been reproduced on a main build yet, but both the host and control executables link the same runtime, so they're probably pre-existing too.

Any PR that touches this file will go red on e2e-scoped until this is fixed. #11186 is the first one to hit it.

Activity

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