Skip to content

vitest run failed with SIGTERM signal #231

Description

@cometkim

vitest run is failing here:

https://github.com/cometkim/rescript-vitest/actions/runs/15218765005/job/42810167426

>>>> Finish compiling 39 mseconds
    at getFinalError (file:///home/cometkim/Workspace/src/github.com/cometkim/rescript-vitest/node_modules/execa/lib/return/final-error.js:6:9)
    at makeError (file:///home/cometkim/Workspace/src/github.com/cometkim/rescript-vitest/node_modules/execa/lib/return/result.js:108:16)
    at getAsyncResult (file:///home/cometkim/Workspace/src/github.com/cometkim/rescript-vitest/node_modules/execa/lib/methods/main-async.js:168:4)
    at handlePromise (file:///home/cometkim/Workspace/src/github.com/cometkim/rescript-vitest/node_modules/execa/lib/methods/main-async.js:151:17)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5) {
  shortMessage: 'Command was killed with SIGTERM (Termination): rescript build -with-deps -w',
  command: 'rescript build -with-deps -w',
  escapedCommand: 'rescript build -with-deps -w',

Even the compilation succeeded.

I think the command should not use -w flag on vitest run.

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