Skip to content

XC4 fails under Node in composability's clean clone at c21e598 #505

Description

@taras

main went red at c21e598 (#495) on the composability job only. One Node test failed:

not ok 4 - XC4: this runtime's entrypoint relaunches a worker from another directory
location: '/tmp/xmd-verify-clean-04LRd0/packages/test-support/bdd.ts:1:1897'
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
duration_ms: 32663.08767

Suite totals: 3463 tests, 3462 pass, 1 fail.

What the test does

It spawns the real CLI from a scratch temp directory and asserts the worker
relaunch exits 0:

runCli(["test", path.resolve("smoke-test/test-agent/README.md")], {
  cwd: elsewhere, inheritEnv: true, timeout: 180_000,
})

The relaunch entry path comes from import.meta.url, so it is meant to stay
valid wherever the CLI started. The worker exited 1 after ~33s.

Open question

Regression or flake — one run cannot tell them apart, and no intermittence
evidence exists yet, so this is deliberately not labelled flake.

composability runs only on a main push and on a ci-main-red-fix pull
request, so no ordinary PR check would have caught this before merge.

Next step

Re-run the composability job on the identical revision. A green re-run makes
this a flake issue with the evidence attached; a second failure makes it a
regression to bisect against #495.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions