wallabyjs / public

Repository for Wallaby.js questions and issues
http://wallabyjs.com
760 stars 45 forks source link

Add vitest@1.1.2 support #3313

Closed inverted-capital closed 10 months ago

inverted-capital commented 10 months ago

Issue description or question

When I am working in a source file, changes are detected and the tests rerun after a small delay of about a second (be great if this was shorter but not sure how to change that) - however when I alter the test file, the coverage does not update and the code does not get recognized, as tho wallaby is frozen on the test file that it started with and never updates it.

Also changes to the test file do not trigger a test rerun at all.

Wallaby diagnostics report

{
  editorVersion: '1.85.1',
  pluginVersion: '1.0.371',
  editorType: 'VSCode',
  osVersion: 'linux 6.2.7-100.fc36.x86_64',
  nodeVersion: 'v21.0.0',
  coreVersion: '1.0.1516',
  checksum: 'N2M3ZGU1MzBhMjg0Njk1YThiOWZiZWU5YWE0NzcyY2MsMTcwODQ3MzYwMDAwMCww',
  config: {
    diagnostics: {
      vitest: {
        file: {
          config: "import { defineConfig } from 'vite'\nimport react from '@vitejs/plugin-react-swc'\n\n// https://vitejs.dev/config/\nexport default defineConfig({\n  plugins: [react()],\n})\n"
        },
        config: {
          config: {
            allowOnly: true,
            isolate: true,
            watch: true,
            globals: false,
            environment: 'node',
            pool: 'threads',
            clearMocks: false,
            restoreMocks: false,
            mockReset: false,
            include: [ '**/*.{test,spec}.?(c|m)[jt]s?(x)' ],
            exclude: [
              '**/node_modules/**',
              '**/dist/**',
              '**/cypress/**',
              '**/.{idea,git,cache,output,temp}/**',
              '**/{karma,rollup,webpack,vite,vitest,jest,ava,babel,nyc,cypress,tsup,build,eslint,prettier}.config.*'
            ],
            testTimeout: 5000,
            hookTimeout: 10000,
            teardownTimeout: 10000,
            watchExclude: [ '**/node_modules/**', '**/dist/**' ],
            forceRerunTriggers: [ '**/package.json/**', '**/{vitest,vite}.config.*/**' ],
            update: false,
            reporters: [ 'default' ],
            silent: false,
            hideSkippedTests: false,
            api: { middlewareMode: true },
            ui: false,
            uiBase: '/__vitest__/',
            open: true,
            css: { include: [], modules: { classNameStrategy: 'stable' } },
            coverage: {
              provider: 'v8',
              enabled: false,
              all: true,
              clean: true,
              cleanOnRerun: true,
              reportsDirectory: './coverage',
              exclude: [
                'coverage/**',
                'dist/**',
                '**/[.]**',
                'packages/*/test?(s)/**',
                '**/*.d.ts',
                '**/virtual:*',
                '**/__x00__*',
                '**/\x00*',
                'cypress/**',
                'test?(s)/**',
                'test?(-*).?(c|m)[jt]s?(x)',
                '**/*{.,-}{test,spec}.?(c|m)[jt]s?(x)',
                '**/__tests__/**',
                '**/{karma,rollup,webpack,vite,vitest,jest,ava,babel,nyc,cypress,tsup,build}.config.*',
                '**/vitest.{workspace,projects}.[jt]s?(on)',
                '**/.{eslint,mocha,prettier}rc.{?(c|m)js,yml}'
              ],
              reportOnFailure: false,
              reporter: [ [ 'text', {} ], [ 'html', {} ], [ 'clover', {} ], [ 'json', {} ] ],
              extension: [
                '.js',    '.cjs',
                '.mjs',   '.ts',
                '.mts',   '.cts',
                '.tsx',   '.jsx',
                '.vue',   '.svelte',
                '.marko'
              ],
              allowExternal: false,
              processingConcurrency: 16
            },
            fakeTimers: { loopLimit: 10000, shouldClearNativeTimers: true, toFake: [ 'setTimeout', 'clearTimeout', 'setInterval', 'clearInterval', 'setImmediate', 'clearImmediate', 'Date' ] },
            maxConcurrency: 5,
            dangerouslyIgnoreUnhandledErrors: false,
            typecheck: {
              checker: 'tsc',
              include: [ '**/*.{test,spec}-d.?(c|m)[jt]s?(x)' ],
              exclude: [
                '**/node_modules/**',
                '**/dist/**',
                '**/cypress/**',
                '**/.{idea,git,cache,output,temp}/**',
                '**/{karma,rollup,webpack,vite,vitest,jest,ava,babel,nyc,cypress,tsup,build,eslint,prettier}.config.*'
              ],
              enabled: false
            },
            slowTestThreshold: 300,
            poolOptions: { threads: {}, forks: {} },
            config: '<homeDir>/repos/artifact/vite.config.js',
            defines: {},
            root: '<homeDir>/repos/artifact',
            mode: [],
            inspect: false,
            inspectBrk: false,
            fileParallelism: true,
            deps: {
              moduleDirectories: [ '/node_modules/' ],
              optimizer: { ssr: { enabled: true }, web: { enabled: true } },
              web: { transformAssets: true, transformCss: true, transformGlobPattern: [] }
            },
            server: { deps: { inline: [ {}, {}, {}, '@nuxt/test-utils' ], moduleDirectories: [ '/node_modules/' ], cacheDir: 'node_modules/.vitest' } },
            snapshotOptions: { expand: false, snapshotFormat: {}, updateSnapshot: 'new', snapshotEnvironment: null },
            poolMatchGlobs: [],
            setupFiles: [],
            globalSetup: [],
            cache: { dir: '<homeDir>/repos/artifact/node_modules/.vitest' },
            sequence: { hooks: 'parallel' },
            environmentMatchGlobs: [],
            browser: { enabled: false, headless: false, slowHijackESM: false, isolate: true, api: { middlewareMode: true } },
            testTransformMode: {}
          },
          projects: [
            {
              path: '<homeDir>/repos/artifact',
              config: {
                allowOnly: true,
                isolate: true,
                watch: true,
                globals: false,
                environment: 'node',
                pool: 'threads',
                clearMocks: false,
                restoreMocks: false,
                mockReset: false,
                include: [ '**/*.{test,spec}.?(c|m)[jt]s?(x)' ],
                exclude: [
                  '**/node_modules/**',
                  '**/dist/**',
                  '**/cypress/**',
                  '**/.{idea,git,cache,output,temp}/**',
                  '**/{karma,rollup,webpack,vite,vitest,jest,ava,babel,nyc,cypress,tsup,build,eslint,prettier}.config.*'
                ],
                testTimeout: 5000,
                hookTimeout: 10000,
                teardownTimeout: 10000,
                watchExclude: [ '**/node_modules/**', '**/dist/**' ],
                forceRerunTriggers: [ '**/package.json/**', '**/{vitest,vite}.config.*/**' ],
                update: false,
                reporters: [ 'default' ],
                silent: false,
                hideSkippedTests: false,
                api: { middlewareMode: true },
                ui: false,
                uiBase: '/__vitest__/',
                open: true,
                css: { include: [], modules: { classNameStrategy: 'stable' } },
                coverage: {
                  provider: 'v8',
                  enabled: false,
                  all: true,
                  clean: true,
                  cleanOnRerun: true,
                  reportsDirectory: './coverage',
                  exclude: [
                    'coverage/**',
                    'dist/**',
                    '**/[.]**',
                    'packages/*/test?(s)/**',
                    '**/*.d.ts',
                    '**/virtual:*',
                    '**/__x00__*',
                    '**/\x00*',
                    'cypress/**',
                    'test?(s)/**',
                    'test?(-*).?(c|m)[jt]s?(x)',
                    '**/*{.,-}{test,spec}.?(c|m)[jt]s?(x)',
                    '**/__tests__/**',
                    '**/{karma,rollup,webpack,vite,vitest,jest,ava,babel,nyc,cypress,tsup,build}.config.*',
                    '**/vitest.{workspace,projects}.[jt]s?(on)',
                    '**/.{eslint,mocha,prettier}rc.{?(c|m)js,yml}'
                  ],
                  reportOnFailure: false,
                  reporter: [ [ 'text', {} ], [ 'html', {} ], [ 'clover', {} ], [ 'json', {} ] ],
                  extension: [
                    '.js',    '.cjs',
                    '.mjs',   '.ts',
                    '.mts',   '.cts',
                    '.tsx',   '.jsx',
                    '.vue',   '.svelte',
                    '.marko'
                  ],
                  allowExternal: false,
                  processingConcurrency: 16
                },
                fakeTimers: { loopLimit: 10000, shouldClearNativeTimers: true, toFake: [ 'setTimeout', 'clearTimeout', 'setInterval', 'clearInterval', 'setImmediate', 'clearImmediate', 'Date' ] },
                maxConcurrency: 5,
                dangerouslyIgnoreUnhandledErrors: false,
                typecheck: {
                  checker: 'tsc',
                  include: [ '**/*.{test,spec}-d.?(c|m)[jt]s?(x)' ],
                  exclude: [
                    '**/node_modules/**',
                    '**/dist/**',
                    '**/cypress/**',
                    '**/.{idea,git,cache,output,temp}/**',
                    '**/{karma,rollup,webpack,vite,vitest,jest,ava,babel,nyc,cypress,tsup,build,eslint,prettier}.config.*'
                  ],
                  enabled: false
                },
                slowTestThreshold: 300,
                poolOptions: { threads: {}, forks: {} },
                config: '<homeDir>/repos/artifact/vite.config.js',
                defines: {},
                root: '<homeDir>/repos/artifact',
                mode: [],
                inspect: false,
                inspectBrk: false,
                fileParallelism: true,
                deps: {
                  moduleDirectories: [ '/node_modules/' ],
                  optimizer: { ssr: { enabled: true }, web: { enabled: true } },
                  web: { transformAssets: true, transformCss: true, transformGlobPattern: [] }
                },
                server: { deps: { inline: [ {}, {}, {}, '@nuxt/test-utils' ], moduleDirectories: [ '/node_modules/' ], cacheDir: 'node_modules/.vitest' } },
                snapshotOptions: { expand: false, snapshotFormat: {}, updateSnapshot: 'new', snapshotEnvironment: null },
                poolMatchGlobs: [],
                setupFiles: [],
                globalSetup: [],
                cache: { dir: '<homeDir>/repos/artifact/node_modules/.vitest' },
                sequence: { hooks: 'parallel' },
                environmentMatchGlobs: [],
                browser: { enabled: false, headless: false, slowHijackESM: false, isolate: true, api: { middlewareMode: true } },
                testTransformMode: {}
              }
            }
          ],
          package: {
            version: '1.1.2',
            urls: { hooks: 'file://<homeDir>/.vscode-server/extensions/wallabyjs.wallaby-vscode-1.0.371/wallaby716729/runners/node/hooks.mjs' },
            paths: { root: '<homeDir>/repos/artifact/node_modules/vitest', dist: '<homeDir>/repos/artifact/node_modules/vitest/dist' }
          }
        }
      }
    },
    testFramework: { version: 'vitest@0.14.0', configurator: 'vitest@0.14.0', reporter: 'vitest@0.14.0', starter: 'vitest@0.14.0', autoDetected: true },
    preserveComments: false,
    extractComments: true,
    files: [
      { pattern: '**/*.{test,spec}.?(c|m)[jt]s?(x)', ignore: true, trigger: true, load: true, file: true },
      { pattern: '**/node_modules/**', ignore: true, trigger: true, load: true, file: true, test: true },
      { pattern: '**/dist/**', ignore: true, trigger: true, load: true, file: true, test: true },
      { pattern: '**/cypress/**', ignore: true, trigger: true, load: true, file: true, test: true },
      { pattern: '**/.{idea,git,cache,output,temp}/**', ignore: true, trigger: true, load: true, file: true, test: true },
      { pattern: '**/{karma,rollup,webpack,vite,vitest,jest,ava,babel,nyc,cypress,tsup,build,eslint,prettier}.config.*', ignore: true, trigger: true, load: true, file: true, test: true },
      { pattern: '**/*.*', ignore: false, trigger: true, load: true, order: 1 }
    ],
    tests: [
      { pattern: '**/node_modules/**', ignore: true, trigger: true, load: true, test: true, file: false },
      { pattern: '**/dist/**', ignore: true, trigger: true, load: true, test: true, file: false },
      { pattern: '**/cypress/**', ignore: true, trigger: true, load: true, test: true, file: false },
      { pattern: '**/.{idea,git,cache,output,temp}/**', ignore: true, trigger: true, load: true, test: true, file: false },
      { pattern: '**/{karma,rollup,webpack,vite,vitest,jest,ava,babel,nyc,cypress,tsup,build,eslint,prettier}.config.*', ignore: true, trigger: true, load: true, test: true, file: false },
      { pattern: '**/*.{test,spec}.?(c|m)[jt]s?(x)', ignore: false, trigger: true, load: true, test: true, order: 2 }
    ],
    workers: { initial: 1, regular: 1, recycle: false },
    dot: true,
    captureConsoleLog: true,
    filesWithNoCoverageCalculated: [],
    runAllTestsInAffectedTestFile: false,
    updateNoMoreThanOneSnapshotPerTestFileRun: false,
    compilers: {},
    logLimits: { inline: { depth: 5, elements: 5000 }, values: { default: { stringLength: 200 }, autoExpand: { elements: 5000, stringLength: 8192, depth: 10 } } },
    preprocessors: {},
    maxConsoleMessagesPerTest: 100,
    autoConsoleLog: true,
    delays: { run: 0, edit: 100, update: 0 },
    teardown: undefined,
    hints: {
      ignoreCoverage: '__REGEXP /ignore coverage|istanbul ignore|c8 ignore/',
      ignoreCoverageForFile: '__REGEXP /ignore file coverage/',
      commentAutoLog: '?',
      testFileSelection: { include: '__REGEXP /file\\.only/', exclude: '__REGEXP /file\\.skip/' }
    },
    automaticTestFileSelection: true,
    runSelectedTestsOnly: false,
    mapConsoleMessagesStackTrace: false,
    extensions: {},
    env: {
      type: 'node',
      params: {},
      runner: '<homeDir>/.local/share/fnm/node-versions/v21.0.0/installation/bin/node',
      viewportSize: { width: 800, height: 600 },
      options: { width: 800, height: 600 },
      bundle: true
    },
    reportUnhandledPromises: true,
    slowTestThreshold: 75,
    lowCoverageThreshold: 80,
    runAllTestsWhenNoAffectedTests: true,
    symlinkNodeModules: true,
    configCode: 'auto.detect#-869259263'
  },
  packageJSON: {
    dependencies: {
      '@isomorphic-git/lightning-fs': '^4.6.0',
      '@mui/icons-material': '^5.15.3',
      '@mui/lab': '^5.0.0-alpha.159',
      '@mui/material': '^5.15.3',
      'assert-fast': '^1.0.3',
      buffer: '^6.0.3',
      debug: '^4.3.4',
      'isomorphic-git': '^1.25.2',
      'markdown-to-jsx': '^7.4.0',
      openai: '^4.24.1',
      react: '^18.2.0',
      'react-audio-visualize': '^1.1.3',
      'react-audio-voice-recorder': '^2.2.0',
      'react-dom': '^18.2.0',
      'react-inspector': '^6.0.2',
      'use-file-picker': '^2.1.1'
    },
    devDependencies: {
      '@storybook/addon-essentials': '^7.6.7',
      '@storybook/addon-interactions': '^7.6.7',
      '@storybook/addon-links': '^7.6.7',
      '@storybook/blocks': '^7.6.7',
      '@storybook/react': '^7.6.7',
      '@storybook/react-vite': '^7.6.7',
      '@storybook/test': '^7.6.7',
      '@types/react': '^18.2.46',
      '@types/react-dom': '^18.2.18',
      '@vitejs/plugin-react-swc': '^3.5.0',
      chromatic: '^10.2.0',
      dotenv: '^16.3.1',
      eslint: '^8.56.0',
      'eslint-plugin-react': '^7.33.2',
      'eslint-plugin-react-hooks': '^4.6.0',
      'eslint-plugin-react-refresh': '^0.4.5',
      'eslint-plugin-storybook': '^0.6.15',
      'prop-types': '^15.8.1',
      storybook: '^7.6.7',
      vite: '^5.0.10',
      vitest: '^1.1.2'
    }
  },
  fs: { numberOfFiles: 57 },
  debug: [
    '2024-01-04T22:00:35.690Z project waiting for initial run signal\n',
    '2024-01-04T22:00:35.699Z config Attempting automatic configuration for angular\n',
    '2024-01-04T22:00:35.702Z angular/cli config Angular CLI not found.\n',
    '2024-01-04T22:00:35.702Z config Finished attempting automatic configuration for angular (3ms)\n',
    '2024-01-04T22:00:35.702Z config Attempting automatic configuration for jest\n',
    "2024-01-04T22:00:35.703Z jest/config Error: Module jest-cli is not found in '<homeDir>/repos/artifact'.\n" +
      '    at Object.loadJest (<homeDir>/.vscode-server/extensions/wallabyjs.wallaby-vscode-1.0.371/wallaby716729/server.js:508:1070)\n' +
      '    at n (<homeDir>/.vscode-server/extensions/wallabyjs.wallaby-vscode-1.0.371/wallaby716729/server.js:196:24440)\n' +
      '    at r.configure (<homeDir>/.vscode-server/extensions/wallabyjs.wallaby-vscode-1.0.371/wallaby716729/server.js:196:27605)\n' +
      '    at automaticConfigurationProviders.reduce.Promise.resolve.success (<homeDir>/.vscode-server/extensions/wallabyjs.wallaby-vscode-1.0.371/wallaby716729/server.js:144:12259)\n' +
      '    at async automaticConfigurationProviders.reduce.Promise.resolve.success (<homeDir>/.vscode-server/extensions/wallabyjs.wallaby-vscode-1.0.371/wallaby716729/server.js:144:12136)\n' +
      '    at async Config.load (<homeDir>/.vscode-server/extensions/wallabyjs.wallaby-vscode-1.0.371/wallaby716729/server.js:144:12076)\n',
    '2024-01-04T22:00:35.703Z config Finished attempting automatic configuration for jest (1ms)\n',
    '2024-01-04T22:00:35.703Z config Attempting automatic configuration for vitest\n',
    '2024-01-04T22:00:35.705Z vitest/config Detected Vitest (1.1.2).\n',
    '2024-01-04T22:00:36.177Z config Finished attempting automatic configuration for vitest (474ms)\n',
    '2024-01-04T22:00:36.178Z project Wallaby Node version: v21.0.0\n',
    '2024-01-04T22:00:36.178Z project Wallaby config: <homeDir>/repos/artifact/auto.detect\n',
    '2024-01-04T22:00:36.215Z fs File system starting\n',
    '2024-01-04T22:00:36.253Z fs File system scan completed\n',
    '2024-01-04T22:00:36.257Z project File cache: <homeDir>/.vscode-server/extensions/wallabyjs.wallaby-vscode-1.0.371/projects/6fd723bb7dc74284\n',
    '2024-01-04T22:00:36.302Z uiService Listening port 51235\n',
    '2024-01-04T22:00:36.306Z project package.json file change detected, invalidating local cache\n',
    '2024-01-04T22:00:36.315Z workers Parallelism for initial run: 1, for regular run: 1\n',
    '2024-01-04T22:00:36.315Z workers Starting run worker instance #0\n',
    '2024-01-04T22:00:36.316Z workers Web server is listening at 40667\n',
    '2024-01-04T22:00:36.316Z project File cache requires some updates, waiting required files from IDE\n',
    '2024-01-04T22:00:36.343Z project Stopping process pool\n',
    '2024-01-04T22:00:36.344Z project Promoting test run to full run because of test selection changes\n',
    '2024-01-04T22:00:36.344Z project Test run started; run priority: 3\n',
    '2024-01-04T22:00:36.345Z project Running all tests\n',
    '2024-01-04T22:00:36.348Z workers Starting test run, priority: 3\n',
    '2024-01-04T22:00:36.348Z nodeRunner Starting sandbox [worker #0, session #ldsy2]\n',
    '2024-01-04T22:00:36.348Z nodeRunner Preparing sandbox [worker #0, session #ldsy2]\n',
    '2024-01-04T22:00:36.399Z fs File changed in editor: src/artifact.test.js\n',
    '2024-01-04T22:00:36.431Z workers Started run worker instance (delayed) #0\n',
    '2024-01-04T22:00:36.431Z nodeRunner Prepared sandbox [worker #0, session #ldsy2]\n',
    '2024-01-04T22:00:36.432Z workers [worker #0, session #ldsy2] Running tests in sandbox\n',
    "2024-01-04T22:00:36.892Z workers 'Scheduling Vitest Run (ldsy2): 2024-01-04T22:00:36.862Z'\n",
    '2024-01-04T22:00:36.938Z fs File changed: src/artifact.test.js\n',
    '2024-01-04T22:00:36.938Z fs No changes detected for src/artifact.test.js\n',
    '2024-01-04T22:00:36.938Z extended-core File was not changed, but file markers may need to be synced\n',
    '2024-01-04T22:00:37.594Z workers [ldsy2.1] Test executed: boot\n',
    '2024-01-04T22:00:37.596Z workers [ldsy2.1] Loaded unknown number of test(s)\n',
    '2024-01-04T22:00:37.639Z project Test run is not cancelled because cancel requester does not have enough priority to cancel the run\n',
    '2024-01-04T22:00:37.639Z project Test run is not cancelled because cancel requester does not have enough priority to cancel the run\n',
    '2024-01-04T22:00:37.660Z workers [ldsy2.1] Test executed: have a chat\n',
    "2024-01-04T22:00:37.676Z workers 'Vitest Run Complete (ldsy2): 2024-01-04T22:00:37.674Z'\n",
    '2024-01-04T22:00:37.677Z workers [ldsy2] Run 2 test(s), skipped 0 test(s)\n',
    '2024-01-04T22:00:37.678Z workers [ldsy2] Sandbox is responsive, closing it\n',
    '2024-01-04T22:00:37.679Z project Test run finished\n',
    '2024-01-04T22:00:37.679Z project Processed console.log entries\n',
    '2024-01-04T22:00:37.679Z project Processed loading sequences\n',
    '2024-01-04T22:00:37.679Z project Processed executed tests\n',
    '2024-01-04T22:00:37.680Z project Processed code coverage\n',
    '2024-01-04T22:00:37.689Z project Test run result processed and sent to IDE\n',
    '2024-01-04T22:00:37.697Z project Test run started; run priority: 2\n',
    '2024-01-04T22:00:37.697Z testTask Test files from affected: 1, from deleted or manually requested: 0, from recently changed: 0, from loaded by: 0, from failing: 0\n',
    '2024-01-04T22:00:37.697Z testTask Running only selected or not excluded tests\n',
    '2024-01-04T22:00:37.698Z workers Starting test run, priority: 2\n',
    '2024-01-04T22:00:37.698Z nodeRunner Starting sandbox [worker #0, session #qjz7z]\n',
    '2024-01-04T22:00:37.698Z nodeRunner Preparing sandbox [worker #0, session #qjz7z]\n',
    '2024-01-04T22:00:37.698Z nodeRunner Prepared sandbox [worker #0, session #qjz7z]\n',
    '2024-01-04T22:00:37.698Z workers [worker #0, session #qjz7z] Running tests in sandbox\n',
    "2024-01-04T22:00:37.703Z workers 'Scheduling Vitest Run (qjz7z): 2024-01-04T22:00:37.702Z'\n",
    '2024-01-04T22:00:37.736Z fs File deleted: tmp/EnSZfc/hal/README.md\n',
    '2024-01-04T22:00:37.737Z workers Cancelling test run, cancel requester priority: 2, current run priority: 2\n',
    '2024-01-04T22:00:37.737Z project Test run was cancelled\n',
    '2024-01-04T22:00:37.737Z fs File deleted: tmp/EnSZfc/hal/loader.md\n',
    '2024-01-04T22:00:37.738Z workers Cancelling test run, cancel requester priority: 2, current run priority: 2\n',
    '2024-01-04T22:00:37.738Z project Test run was cancelled\n',
    '2024-01-04T22:00:37.739Z workers [qjz7z] Sandbox is responsive, closing it\n',
    '2024-01-04T22:00:37.739Z project Test run cancelled, re-queueing run data\n',
    '2024-01-04T22:00:37.739Z project Test run finished\n',
    '2024-01-04T22:00:37.740Z project Test run data re-queued\n',
    '2024-01-04T22:00:37.790Z project Test run started; run priority: 2\n',
    '2024-01-04T22:00:37.791Z testTask Test files from affected: 1, from deleted or manually requested: 0, from recently changed: 0, from loaded by: 0, from failing: 0\n',
    '2024-01-04T22:00:37.791Z testTask Running only selected or not excluded tests\n',
    '2024-01-04T22:00:37.792Z workers Starting test run, priority: 2\n',
    '2024-01-04T22:00:37.792Z nodeRunner Starting sandbox [worker #0, session #zfz19]\n',
    '2024-01-04T22:00:37.792Z nodeRunner Preparing sandbox [worker #0, session #zfz19]\n',
    '2024-01-04T22:00:37.792Z nodeRunner Prepared sandbox [worker #0, session #zfz19]\n',
    '2024-01-04T22:00:37.792Z workers [worker #0, session #zfz19] Running tests in sandbox\n',
    "2024-01-04T22:00:38.003Z workers 'Vitest Run Abandoned (qjz7z): 2024-01-04T22:00:38.002Z'\n",
    "2024-01-04T22:00:38.003Z workers 'Scheduling Vitest Run (zfz19): 2024-01-04T22:00:38.002Z'\n",
    '2024-01-04T22:00:38.237Z workers [zfz19.1] Test executed: boot\n',
    '2024-01-04T22:00:38.243Z workers [zfz19.1] Loaded unknown number of test(s)\n',
    '2024-01-04T22:00:38.250Z workers Cancelling test run, cancel requester priority: 2, current run priority: 2\n',
    '2024-01-04T22:00:38.250Z project Test run was cancelled\n',
    '2024-01-04T22:00:38.250Z workers Cancelling test run, cancel requester priority: 2, current run priority: 2\n',
    '2024-01-04T22:00:38.250Z project Test run was cancelled\n',
    '2024-01-04T22:00:38.252Z workers [zfz19] Sandbox is responsive, closing it\n',
    '2024-01-04T22:00:38.252Z project Test run cancelled, re-queueing run data\n',
    '2024-01-04T22:00:38.252Z project Test run finished\n',
    '2024-01-04T22:00:38.252Z project Test run data re-queued\n',
    '2024-01-04T22:00:38.309Z project Test run started; run priority: 2\n',
    '2024-01-04T22:00:38.310Z testTask Test files from affected: 1, from deleted or manually requested: 0, from recently changed: 0, from loaded by: 0, from failing: 0\n',
    '2024-01-04T22:00:38.310Z testTask Running only selected or not excluded tests\n',
    '2024-01-04T22:00:38.310Z workers Starting test run, priority: 2\n',
    '2024-01-04T22:00:38.310Z nodeRunner Starting sandbox [worker #0, session #h69ak]\n',
    '2024-01-04T22:00:38.310Z nodeRunner Preparing sandbox [worker #0, session #h69ak]\n',
    '2024-01-04T22:00:38.310Z nodeRunner Prepared sandbox [worker #0, session #h69ak]\n',
    '2024-01-04T22:00:38.310Z workers [worker #0, session #h69ak] Running tests in sandbox\n',
    "2024-01-04T22:00:38.313Z workers 'Scheduling Vitest Run (h69ak): 2024-01-04T22:00:38.312Z'\n",
    '2024-01-04T22:00:38.338Z fs File deleted: tmp/3i00sP/hal/README.md\n',
    '2024-01-04T22:00:38.338Z workers Cancelling test run, cancel requester priority: 2, current run priority: 2\n',
    '2024-01-04T22:00:38.338Z project Test run was cancelled\n',
    '2024-01-04T22:00:38.338Z fs File deleted: tmp/3i00sP/hal/loader.md\n',
    '2024-01-04T22:00:38.339Z workers Cancelling test run, cancel requester priority: 2, current run priority: 2\n',
    '2024-01-04T22:00:38.339Z project Test run was cancelled\n',
    '2024-01-04T22:00:38.346Z workers [h69ak] Sandbox is responsive, closing it\n',
    '2024-01-04T22:00:38.346Z project Test run cancelled, re-queueing run data\n',
    '2024-01-04T22:00:38.346Z project Test run finished\n',
    '2024-01-04T22:00:38.346Z project Test run data re-queued\n',
    '2024-01-04T22:00:38.391Z project Test run started; run priority: 2\n',
    '2024-01-04T22:00:38.392Z testTask Test files from affected: 1, from deleted or manually requested: 0, from recently changed: 0, from loaded by: 0, from failing: 0\n',
    '2024-01-04T22:00:38.392Z testTask Running only selected or not excluded tests\n',
    '2024-01-04T22:00:38.392Z workers Starting test run, priority: 2\n',
    '2024-01-04T22:00:38.392Z nodeRunner Starting sandbox [worker #0, session #nskfb]\n',
    '2024-01-04T22:00:38.392Z nodeRunner Preparing sandbox [worker #0, session #nskfb]\n',
    '2024-01-04T22:00:38.392Z nodeRunner Prepared sandbox [worker #0, session #nskfb]\n',
    '2024-01-04T22:00:38.392Z workers [worker #0, session #nskfb] Running tests in sandbox\n',
    "2024-01-04T22:00:38.595Z workers 'Vitest Run Abandoned (h69ak): 2024-01-04T22:00:38.593Z'\n",
    "2024-01-04T22:00:38.595Z workers 'Scheduling Vitest Run (nskfb): 2024-01-04T22:00:38.593Z'\n",
    '2024-01-04T22:00:38.834Z workers [nskfb.1] Test executed: boot\n',
    '2024-01-04T22:00:38.838Z workers [nskfb.1] Loaded unknown number of test(s)\n',
    '2024-01-04T22:00:38.890Z workers [nskfb.1] Test executed: have a chat\n',
    "2024-01-04T22:00:38.900Z workers 'Vitest Run Complete (nskfb): 2024-01-04T22:00:38.899Z'\n",
    '2024-01-04T22:00:38.900Z workers [nskfb] Run 2 test(s), skipped 0 test(s)\n',
    '2024-01-04T22:00:38.901Z workers [nskfb] Sandbox is responsive, closing it\n',
    '2024-01-04T22:00:38.901Z project Test run finished\n',
    '2024-01-04T22:00:38.902Z project Processed console.log entries\n',
    '2024-01-04T22:00:38.902Z project Processed loading sequences\n',
    '2024-01-04T22:00:38.902Z project Processed executed tests\n',
    '2024-01-04T22:00:38.902Z project Processed code coverage\n',
    '2024-01-04T22:00:38.905Z project Test run result processed and sent to IDE\n',
    '2024-01-04T22:00:42.833Z fs File changed in editor: src/artifact.test.js\n',
    '2024-01-04T22:00:42.835Z workers Cancelling test run, cancel requester priority: 2, current run priority: 2\n',
    '2024-01-04T22:00:42.835Z project Test run was cancelled\n',
    '2024-01-04T22:00:42.839Z project Promoting test run to full run because of test selection changes\n',
    '2024-01-04T22:00:42.839Z project Test run started; run priority: 3\n',
    '2024-01-04T22:00:42.839Z project Running all tests\n',
    '2024-01-04T22:00:42.840Z workers Starting test run, priority: 3\n',
    '2024-01-04T22:00:42.840Z nodeRunner Starting sandbox [worker #0, session #ip7fp]\n',
    '2024-01-04T22:00:42.840Z nodeRunner Preparing sandbox [worker #0, session #ip7fp]\n',
    '2024-01-04T22:00:42.840Z nodeRunner Prepared sandbox [worker #0, session #ip7fp]\n',
    '2024-01-04T22:00:42.840Z workers [worker #0, session #ip7fp] Running tests in sandbox\n',
    "2024-01-04T22:00:42.844Z workers 'Scheduling Vitest Run (ip7fp): 2024-01-04T22:00:42.842Z'\n",
    '2024-01-04T22:00:43.094Z workers [ip7fp.1] Test executed: boot\n',
    '2024-01-04T22:00:43.095Z workers [ip7fp.1] Loaded unknown number of test(s)\n',
    '2024-01-04T22:00:43.133Z fs File changed in editor: src/artifact.test.js\n',
    '2024-01-04T22:00:43.134Z project Test run is not cancelled because cancel requester does not have enough priority to cancel the run\n',
    '2024-01-04T22:00:43.138Z workers [ip7fp.1] Test executed: have a chat\n',
    "2024-01-04T22:00:43.148Z workers 'Vitest Run Complete (ip7fp): 2024-01-04T22:00:43.147Z'\n",
    '2024-01-04T22:00:43.148Z workers [ip7fp] Run 2 test(s), skipped 0 test(s)\n',
    '2024-01-04T22:00:43.149Z workers [ip7fp] Sandbox is responsive, closing it\n',
    '2024-01-04T22:00:43.150Z project Test run finished\n',
    '2024-01-04T22:00:43.150Z project Processed console.log entries\n',
    '2024-01-04T22:00:43.150Z project Processed loading sequences\n',
    '2024-01-04T22:00:43.150Z project Processed executed tests\n',
    '2024-01-04T22:00:43.150Z project Processed code coverage\n',
    '2024-01-04T22:00:43.152Z project Test run result processed and sent to IDE\n',
    '2024-01-04T22:00:43.187Z project Test run started; run priority: 2\n',
    '2024-01-04T22:00:43.187Z testTask Test files from affected: 1, from deleted or manually requested: 0, from recently changed: 0, from loaded by: 0, from failing: 0\n',
    '2024-01-04T22:00:43.187Z workers Starting test run, priority: 2\n',
    '2024-01-04T22:00:43.187Z nodeRunner Starting sandbox [worker #0, session #4twx0]\n',
    '2024-01-04T22:00:43.187Z nodeRunner Preparing sandbox [worker #0, session #4twx0]\n',
    '2024-01-04T22:00:43.187Z nodeRunner Prepared sandbox [worker #0, session #4twx0]\n',
    '2024-01-04T22:00:43.187Z workers [worker #0, session #4twx0] Running tests in sandbox\n',
    "2024-01-04T22:00:43.194Z workers 'Scheduling Vitest Run (4twx0): 2024-01-04T22:00:43.193Z'\n",
    '2024-01-04T22:00:43.239Z workers Some long running code has been detected: one of your tests is taking more than 5000ms to execute.\nThe last recorded console.log: \n',
    '2024-01-04T22:00:43.427Z workers [4twx0.1] Test executed: boot\n',
    '2024-01-04T22:00:43.428Z workers [4twx0.1] Loaded unknown number of test(s)\n',
    '2024-01-04T22:00:43.443Z workers Cancelling test run, cancel requester priority: 2, current run priority: 2\n',
    '2024-01-04T22:00:43.443Z project Test run was cancelled\n',
    '2024-01-04T22:00:43.443Z workers Cancelling test run, cancel requester priority: 2, current run priority: 2\n',
    '2024-01-04T22:00:43.443Z project Test run was cancelled\n',
    '2024-01-04T22:00:43.444Z workers [4twx0] Sandbox is responsive, closing it\n',
    '2024-01-04T22:00:43.444Z project Test run cancelled, re-queueing run data\n',
    '2024-01-04T22:00:43.444Z project Test run finished\n',
    '2024-01-04T22:00:43.444Z project Test run data re-queued\n',
    '2024-01-04T22:00:43.496Z project Test run started; run priority: 2\n',
    '2024-01-04T22:00:43.496Z testTask Test files from affected: 1, from deleted or manually requested: 0, from recently changed: 0, from loaded by: 0, from failing: 0\n',
    '2024-01-04T22:00:43.497Z workers Starting test run, priority: 2\n',
    '2024-01-04T22:00:43.497Z nodeRunner Starting sandbox [worker #0, session #2i64q]\n',
    '2024-01-04T22:00:43.497Z nodeRunner Preparing sandbox [worker #0, session #2i64q]\n',
    '2024-01-04T22:00:43.497Z nodeRunner Prepared sandbox [worker #0, session #2i64q]\n',
    '2024-01-04T22:00:43.497Z workers [worker #0, session #2i64q] Running tests in sandbox\n',
    "2024-01-04T22:00:43.499Z workers 'Scheduling Vitest Run (2i64q): 2024-01-04T22:00:43.498Z'\n",
    '2024-01-04T22:00:43.542Z fs File deleted: tmp/9wiuE8/hal/README.md\n',
    '2024-01-04T22:00:43.542Z workers Cancelling test run, cancel requester priority: 2, current run priority: 2\n',
    '2024-01-04T22:00:43.542Z project Test run was cancelled\n',
    '2024-01-04T22:00:43.542Z fs File deleted: tmp/9wiuE8/hal/loader.md\n',
    '2024-01-04T22:00:43.543Z workers Cancelling test run, cancel requester priority: 2, current run priority: 2\n',
    '2024-01-04T22:00:43.543Z project Test run was cancelled\n',
    '2024-01-04T22:00:43.545Z workers [2i64q] Sandbox is responsive, closing it\n',
    '2024-01-04T22:00:43.545Z project Test run cancelled, re-queueing run data\n',
    '2024-01-04T22:00:43.545Z project Test run finished\n',
    '2024-01-04T22:00:43.545Z project Test run data re-queued\n',
    '2024-01-04T22:00:43.596Z project Test run started; run priority: 2\n',
    '2024-01-04T22:00:43.597Z testTask Test files from affected: 1, from deleted or manually requested: 0, from recently changed: 0, from loaded by: 0, from failing: 0\n',
    '2024-01-04T22:00:43.598Z workers Starting test run, priority: 2\n',
    '2024-01-04T22:00:43.598Z nodeRunner Starting sandbox [worker #0, session #93g5x]\n',
    '2024-01-04T22:00:43.598Z nodeRunner Preparing sandbox [worker #0, session #93g5x]\n',
    '2024-01-04T22:00:43.598Z nodeRunner Prepared sandbox [worker #0, session #93g5x]\n',
    '2024-01-04T22:00:43.598Z workers [worker #0, session #93g5x] Running tests in sandbox\n',
    '2024-01-04T22:00:43.743Z workers Cancelling test run, cancel requester priority: 2, current run priority: 2\n',
    '2024-01-04T22:00:43.744Z project Test run was cancelled\n',
    '2024-01-04T22:00:43.744Z workers Cancelling test run, cancel requester priority: 2, current run priority: 2\n',
    '2024-01-04T22:00:43.744Z project Test run was cancelled\n',
    '2024-01-04T22:00:43.745Z workers [93g5x] Sandbox is responsive, closing it\n',
    '2024-01-04T22:00:43.745Z project Test run cancelled, re-queueing run data\n',
    '2024-01-04T22:00:43.745Z project Test run finished\n',
    '2024-01-04T22:00:43.745Z project Test run data re-queued\n',
    '2024-01-04T22:00:43.798Z project Test run started; run priority: 2\n',
    '2024-01-04T22:00:43.798Z testTask Test files from affected: 1, from deleted or manually requested: 0, from recently changed: 0, from loaded by: 0, from failing: 0\n',
    '2024-01-04T22:00:43.800Z workers Starting test run, priority: 2\n',
    '2024-01-04T22:00:43.800Z nodeRunner Starting sandbox [worker #0, session #61y5v]\n',
    '2024-01-04T22:00:43.800Z nodeRunner Preparing sandbox [worker #0, session #61y5v]\n',
    '2024-01-04T22:00:43.800Z nodeRunner Prepared sandbox [worker #0, session #61y5v]\n',
    '2024-01-04T22:00:43.800Z workers [worker #0, session #61y5v] Running tests in sandbox\n',
    "2024-01-04T22:00:43.803Z workers 'Scheduling Vitest Run (61y5v): 2024-01-04T22:00:43.802Z'\n",
    '2024-01-04T22:00:43.842Z fs File deleted: tmp/qCDSnS/hal/README.md\n',
    '2024-01-04T22:00:43.842Z workers Cancelling test run, cancel requester priority: 2, current run priority: 2\n',
    '2024-01-04T22:00:43.842Z project Test run was cancelled\n',
    '2024-01-04T22:00:43.842Z fs File deleted: tmp/qCDSnS/hal/loader.md\n',
    '2024-01-04T22:00:43.842Z workers Cancelling test run, cancel requester priority: 2, current run priority: 2\n',
    '2024-01-04T22:00:43.842Z project Test run was cancelled\n',
    '2024-01-04T22:00:43.844Z workers [61y5v] Sandbox is responsive, closing it\n',
    '2024-01-04T22:00:43.844Z project Test run cancelled, re-queueing run data\n',
    '2024-01-04T22:00:43.844Z project Test run finished\n',
    '2024-01-04T22:00:43.844Z project Test run data re-queued\n',
    '2024-01-04T22:00:43.894Z project Test run started; run priority: 2\n',
    '2024-01-04T22:00:43.895Z testTask Test files from affected: 1, from deleted or manually requested: 0, from recently changed: 0, from loaded by: 0, from failing: 0\n',
    '2024-01-04T22:00:43.895Z workers Starting test run, priority: 2\n',
    '2024-01-04T22:00:43.895Z nodeRunner Starting sandbox [worker #0, session #z1ke6]\n',
    '2024-01-04T22:00:43.895Z nodeRunner Preparing sandbox [worker #0, session #z1ke6]\n',
    '2024-01-04T22:00:43.895Z nodeRunner Prepared sandbox [worker #0, session #z1ke6]\n',
    '2024-01-04T22:00:43.895Z workers [worker #0, session #z1ke6] Running tests in sandbox\n',
    "2024-01-04T22:00:44.051Z workers 'Vitest Run Abandoned (61y5v): 2024-01-04T22:00:44.050Z'\n",
    "2024-01-04T22:00:44.052Z workers 'Scheduling Vitest Run (z1ke6): 2024-01-04T22:00:44.050Z'\n",
    '2024-01-04T22:00:44.247Z workers [z1ke6.1] Test executed: boot\n',
    '2024-01-04T22:00:44.247Z workers [z1ke6.1] Loaded unknown number of test(s)\n',
    '2024-01-04T22:00:44.294Z workers [z1ke6.1] Test executed: have a chat\n',
    "2024-01-04T22:00:44.303Z workers 'Vitest Run Complete (z1ke6): 2024-01-04T22:00:44.302Z'\n",
    '2024-01-04T22:00:44.303Z workers [z1ke6] Run 2 test(s), skipped 0 test(s)\n',
    '2024-01-04T22:00:44.304Z workers [z1ke6] Sandbox is responsive, closing it\n',
    '2024-01-04T22:00:44.305Z project Test run finished\n',
    '2024-01-04T22:00:44.305Z project Processed console.log entries\n',
    '2024-01-04T22:00:44.305Z project Processed loading sequences\n',
    '2024-01-04T22:00:44.305Z project Processed executed tests\n',
    '2024-01-04T22:00:44.305Z project Processed code coverage\n',
    '2024-01-04T22:00:44.307Z project Test run result processed and sent to IDE\n',
    '2024-01-04T22:00:48.428Z workers Some long running code has been detected: one of your tests is taking more than 5000ms to execute.\nThe last recorded console.log: \n',
    '2024-01-04T22:00:51.137Z fs File changed in editor: src/artifact.test.js\n',
    '2024-01-04T22:00:51.138Z workers Cancelling test run, cancel requester priority: 2, current run priority: 2\n',
    '2024-01-04T22:00:51.138Z project Test run was cancelled\n',
    '2024-01-04T22:00:51.141Z project Test run started; run priority: 2\n',
    '2024-01-04T22:00:51.141Z testTask Test files from affected: 1, from deleted or manually requested: 0, from recently changed: 0, from loaded by: 0, from failing: 0\n',
    '2024-01-04T22:00:51.142Z workers Starting test run, priority: 2\n',
    '2024-01-04T22:00:51.142Z nodeRunner Starting sandbox [worker #0, session #fqzc4]\n',
    '2024-01-04T22:00:51.142Z nodeRunner Preparing sandbox [worker #0, session #fqzc4]\n',
    '2024-01-04T22:00:51.142Z nodeRunner Prepared sandbox [worker #0, session #fqzc4]\n',
    '2024-01-04T22:00:51.142Z workers [worker #0, session #fqzc4] Running tests in sandbox\n',
    "2024-01-04T22:00:51.145Z workers 'Scheduling Vitest Run (fqzc4): 2024-01-04T22:00:51.144Z'\n",
    '2024-01-04T22:00:51.157Z fs File changed: src/artifact.test.js\n',
    '2024-01-04T22:00:51.157Z fs No changes detected for src/artifact.test.js\n',
    '2024-01-04T22:00:51.157Z extended-core File was not changed, but file markers may need to be synced\n',
    '2024-01-04T22:00:51.353Z workers [fqzc4.1] Test executed: boot\n',
    '2024-01-04T22:00:51.355Z workers [fqzc4.1] Loaded unknown number of test(s)\n',
    '2024-01-04T22:00:51.360Z workers Cancelling test run, cancel requester priority: 2, current run priority: 2\n',
    '2024-01-04T22:00:51.360Z project Test run was cancelled\n',
    '2024-01-04T22:00:51.360Z workers Cancelling test run, cancel requester priority: 2, current run priority: 2\n',
    '2024-01-04T22:00:51.360Z project Test run was cancelled\n',
    '2024-01-04T22:00:51.361Z workers [fqzc4] Sandbox is responsive, closing it\n',
    '2024-01-04T22:00:51.361Z project Test run cancelled, re-queueing run data\n',
    '2024-01-04T22:00:51.361Z project Test run finished\n',
    '2024-01-04T22:00:51.361Z project Test run data re-queued\n',
    '2024-01-04T22:00:51.414Z project Test run started; run priority: 2\n',
    '2024-01-04T22:00:51.414Z testTask Test files from affected: 1, from deleted or manually requested: 0, from recently changed: 0, from loaded by: 0, from failing: 0\n',
    '2024-01-04T22:00:51.416Z workers Starting test run, priority: 2\n',
    '2024-01-04T22:00:51.416Z nodeRunner Starting sandbox [worker #0, session #tgl8r]\n',
    '2024-01-04T22:00:51.416Z nodeRunner Preparing sandbox [worker #0, session #tgl8r]\n',
    '2024-01-04T22:00:51.416Z nodeRunner Prepared sandbox [worker #0, session #tgl8r]\n',
    '2024-01-04T22:00:51.416Z workers [worker #0, session #tgl8r] Running tests in sandbox\n',
    "2024-01-04T22:00:51.418Z workers 'Scheduling Vitest Run (tgl8r): 2024-01-04T22:00:51.418Z'\n",
    '2024-01-04T22:00:51.457Z fs File deleted: tmp/DSzPwg/hal/README.md\n',
    '2024-01-04T22:00:51.458Z workers Cancelling test run, cancel requester priority: 2, current run priority: 2\n',
    '2024-01-04T22:00:51.458Z project Test run was cancelled\n',
    '2024-01-04T22:00:51.458Z fs File deleted: tmp/DSzPwg/hal/loader.md\n',
    '2024-01-04T22:00:51.458Z workers Cancelling test run, cancel requester priority: 2, current run priority: 2\n',
    '2024-01-04T22:00:51.458Z project Test run was cancelled\n',
    '2024-01-04T22:00:51.460Z workers [tgl8r] Sandbox is responsive, closing it\n',
    '2024-01-04T22:00:51.460Z project Test run cancelled, re-queueing run data\n',
    '2024-01-04T22:00:51.460Z project Test run finished\n',
    '2024-01-04T22:00:51.460Z project Test run data re-queued\n',
    '2024-01-04T22:00:51.511Z project Test run started; run priority: 2\n',
    '2024-01-04T22:00:51.511Z testTask Test files from affected: 1, from deleted or manually requested: 0, from recently changed: 0, from loaded by: 0, from failing: 0\n',
    '2024-01-04T22:00:51.511Z workers Starting test run, priority: 2\n',
    '2024-01-04T22:00:51.511Z nodeRunner Starting sandbox [worker #0, session #zbl6k]\n',
    '2024-01-04T22:00:51.511Z nodeRunner Preparing sandbox [worker #0, session #zbl6k]\n',
    '2024-01-04T22:00:51.512Z nodeRunner Prepared sandbox [worker #0, session #zbl6k]\n',
    '2024-01-04T22:00:51.512Z workers [worker #0, session #zbl6k] Running tests in sandbox\n',
    '2024-01-04T22:00:51.659Z workers Cancelling test run, cancel requester priority: 2, current run priority: 2\n',
    '2024-01-04T22:00:51.659Z project Test run was cancelled\n',
    '2024-01-04T22:00:51.660Z workers Cancelling test run, cancel requester priority: 2, current run priority: 2\n',
    '2024-01-04T22:00:51.660Z project Test run was cancelled\n',
    '2024-01-04T22:00:51.661Z workers [zbl6k] Sandbox is responsive, closing it\n',
    '2024-01-04T22:00:51.661Z project Test run cancelled, re-queueing run data\n',
    '2024-01-04T22:00:51.661Z project Test run finished\n',
    '2024-01-04T22:00:51.661Z project Test run data re-queued\n',
    '2024-01-04T22:00:51.713Z project Test run started; run priority: 2\n',
    '2024-01-04T22:00:51.713Z testTask Test files from affected: 1, from deleted or manually requested: 0, from recently changed: 0, from loaded by: 0, from failing: 0\n',
    '2024-01-04T22:00:51.714Z workers Starting test run, priority: 2\n',
    '2024-01-04T22:00:51.714Z nodeRunner Starting sandbox [worker #0, session #vvh9g]\n',
    '2024-01-04T22:00:51.714Z nodeRunner Preparing sandbox [worker #0, session #vvh9g]\n',
    '2024-01-04T22:00:51.714Z nodeRunner Prepared sandbox [worker #0, session #vvh9g]\n',
    '2024-01-04T22:00:51.714Z workers [worker #0, session #vvh9g] Running tests in sandbox\n',
    "2024-01-04T22:00:51.717Z workers 'Scheduling Vitest Run (vvh9g): 2024-01-04T22:00:51.716Z'\n",
    '2024-01-04T22:00:51.757Z fs File deleted: tmp/rQ4t9U/hal/README.md\n',
    '2024-01-04T22:00:51.758Z workers Cancelling test run, cancel requester priority: 2, current run priority: 2\n',
    '2024-01-04T22:00:51.758Z project Test run was cancelled\n',
    '2024-01-04T22:00:51.758Z fs File deleted: tmp/rQ4t9U/hal/loader.md\n',
    '2024-01-04T22:00:51.759Z workers Cancelling test run, cancel requester priority: 2, current run priority: 2\n',
    '2024-01-04T22:00:51.759Z project Test run was cancelled\n',
    '2024-01-04T22:00:51.760Z workers [vvh9g] Sandbox is responsive, closing it\n',
    '2024-01-04T22:00:51.760Z project Test run cancelled, re-queueing run data\n',
    '2024-01-04T22:00:51.760Z project Test run finished\n',
    '2024-01-04T22:00:51.760Z project Test run data re-queued\n',
    '2024-01-04T22:00:51.812Z project Test run started; run priority: 2\n',
    '2024-01-04T22:00:51.812Z testTask Test files from affected: 1, from deleted or manually requested: 0, from recently changed: 0, from loaded by: 0, from failing: 0\n',
    '2024-01-04T22:00:51.813Z workers Starting test run, priority: 2\n',
    '2024-01-04T22:00:51.813Z nodeRunner Starting sandbox [worker #0, session #poeu6]\n',
    '2024-01-04T22:00:51.813Z nodeRunner Preparing sandbox [worker #0, session #poeu6]\n',
    '2024-01-04T22:00:51.813Z nodeRunner Prepared sandbox [worker #0, session #poeu6]\n',
    '2024-01-04T22:00:51.813Z workers [worker #0, session #poeu6] Running tests in sandbox\n',
    '2024-01-04T22:00:51.959Z workers Cancelling test run, cancel requester priority: 2, current run priority: 2\n',
    '2024-01-04T22:00:51.959Z project Test run was cancelled\n',
    '2024-01-04T22:00:51.959Z workers Cancelling test run, cancel requester priority: 2, current run priority: 2\n',
    '2024-01-04T22:00:51.959Z project Test run was cancelled\n',
    '2024-01-04T22:00:51.960Z workers [poeu6] Sandbox is responsive, closing it\n',
    '2024-01-04T22:00:51.961Z project Test run cancelled, re-queueing run data\n',
    '2024-01-04T22:00:51.961Z project Test run finished\n',
    '2024-01-04T22:00:51.961Z project Test run data re-queued\n',
    '2024-01-04T22:00:52.012Z project Test run started; run priority: 2\n',
    '2024-01-04T22:00:52.012Z testTask Test files from affected: 1, from deleted or manually requested: 0, from recently changed: 0, from loaded by: 0, from failing: 0\n',
    '2024-01-04T22:00:52.013Z workers Starting test run, priority: 2\n',
    '2024-01-04T22:00:52.013Z nodeRunner Starting sandbox [worker #0, session #6ight]\n',
    '2024-01-04T22:00:52.013Z nodeRunner Preparing sandbox [worker #0, session #6ight]\n',
    '2024-01-04T22:00:52.013Z nodeRunner Prepared sandbox [worker #0, session #6ight]\n',
    '2024-01-04T22:00:52.013Z workers [worker #0, session #6ight] Running tests in sandbox\n',
    "2024-01-04T22:00:52.016Z workers 'Scheduling Vitest Run (6ight): 2024-01-04T22:00:52.015Z'\n",
    '2024-01-04T22:00:52.057Z fs File deleted: tmp/oKV39d/hal/README.md\n',
    '2024-01-04T22:00:52.058Z workers Cancelling test run, cancel requester priority: 2, current run priority: 2\n',
    '2024-01-04T22:00:52.058Z project Test run was cancelled\n',
    '2024-01-04T22:00:52.058Z fs File deleted: tmp/oKV39d/hal/loader.md\n',
    '2024-01-04T22:00:52.058Z workers Cancelling test run, cancel requester priority: 2, current run priority: 2\n',
    '2024-01-04T22:00:52.058Z project Test run was cancelled\n',
    '2024-01-04T22:00:52.060Z workers [6ight] Sandbox is responsive, closing it\n',
    '2024-01-04T22:00:52.060Z project Test run cancelled, re-queueing run data\n',
    '2024-01-04T22:00:52.060Z project Test run finished\n',
    '2024-01-04T22:00:52.060Z project Test run data re-queued\n',
    '2024-01-04T22:00:52.111Z project Test run started; run priority: 2\n',
    '2024-01-04T22:00:52.111Z testTask Test files from affected: 1, from deleted or manually requested: 0, from recently changed: 0, from loaded by: 0, from failing: 0\n',
    '2024-01-04T22:00:52.112Z workers Starting test run, priority: 2\n',
    '2024-01-04T22:00:52.112Z nodeRunner Starting sandbox [worker #0, session #hns7x]\n',
    '2024-01-04T22:00:52.112Z nodeRunner Preparing sandbox [worker #0, session #hns7x]\n',
    '2024-01-04T22:00:52.112Z nodeRunner Prepared sandbox [worker #0, session #hns7x]\n',
    '2024-01-04T22:00:52.112Z workers [worker #0, session #hns7x] Running tests in sandbox\n',
    '2024-01-04T22:00:52.259Z workers Cancelling test run, cancel requester priority: 2, current run priority: 2\n',
    '2024-01-04T22:00:52.259Z project Test run was cancelled\n',
    '2024-01-04T22:00:52.259Z workers Cancelling test run, cancel requester priority: 2, current run priority: 2\n',
    '2024-01-04T22:00:52.259Z project Test run was cancelled\n',
    '2024-01-04T22:00:52.260Z workers [hns7x] Sandbox is responsive, closing it\n',
    '2024-01-04T22:00:52.260Z project Test run cancelled, re-queueing run data\n',
    '2024-01-04T22:00:52.260Z project Test run finished\n',
    '2024-01-04T22:00:52.260Z project Test run data re-queued\n',
    '2024-01-04T22:00:52.311Z project Test run started; run priority: 2\n',
    '2024-01-04T22:00:52.312Z testTask Test files from affected: 1, from deleted or manually requested: 0, from recently changed: 0, from loaded by: 0, from failing: 0\n',
    '2024-01-04T22:00:52.312Z workers Starting test run, priority: 2\n',
    '2024-01-04T22:00:52.312Z nodeRunner Starting sandbox [worker #0, session #f4evt]\n',
    '2024-01-04T22:00:52.312Z nodeRunner Preparing sandbox [worker #0, session #f4evt]\n',
    '2024-01-04T22:00:52.312Z nodeRunner Prepared sandbox [worker #0, session #f4evt]\n',
    '2024-01-04T22:00:52.312Z workers [worker #0, session #f4evt] Running tests in sandbox\n',
    "2024-01-04T22:00:52.315Z workers 'Scheduling Vitest Run (f4evt): 2024-01-04T22:00:52.313Z'\n",
    '2024-01-04T22:00:52.357Z fs File deleted: tmp/gtGDWM/hal/README.md\n',
    '2024-01-04T22:00:52.358Z workers Cancelling test run, cancel requester priority: 2, current run priority: 2\n',
    '2024-01-04T22:00:52.358Z project Test run was cancelled\n',
    '2024-01-04T22:00:52.358Z fs File deleted: tmp/gtGDWM/hal/loader.md\n',
    '2024-01-04T22:00:52.358Z workers Cancelling test run, cancel requester priority: 2, current run priority: 2\n',
    '2024-01-04T22:00:52.358Z project Test run was cancelled\n',
    '2024-01-04T22:00:52.360Z workers [f4evt] Sandbox is responsive, closing it\n',
    '2024-01-04T22:00:52.360Z project Test run cancelled, re-queueing run data\n',
    '2024-01-04T22:00:52.360Z project Test run finished\n',
    '2024-01-04T22:00:52.360Z project Test run data re-queued\n',
    '2024-01-04T22:00:52.411Z project Test run started; run priority: 2\n',
    '2024-01-04T22:00:52.411Z testTask Test files from affected: 1, from deleted or manually requested: 0, from recently changed: 0, from loaded by: 0, from failing: 0\n',
    '2024-01-04T22:00:52.412Z workers Starting test run, priority: 2\n',
    '2024-01-04T22:00:52.412Z nodeRunner Starting sandbox [worker #0, session #h1qjs]\n',
    '2024-01-04T22:00:52.412Z nodeRunner Preparing sandbox [worker #0, session #h1qjs]\n',
    '2024-01-04T22:00:52.412Z nodeRunner Prepared sandbox [worker #0, session #h1qjs]\n',
    '2024-01-04T22:00:52.412Z workers [worker #0, session #h1qjs] Running tests in sandbox\n',
    "2024-01-04T22:00:52.566Z workers 'Vitest Run Abandoned (f4evt): 2024-01-04T22:00:52.564Z'\n",
    "2024-01-04T22:00:52.566Z workers 'Scheduling Vitest Run (h1qjs): 2024-01-04T22:00:52.565Z'\n",
    '2024-01-04T22:00:52.774Z workers [h1qjs.1] Test executed: boot\n',
    '2024-01-04T22:00:52.776Z workers [h1qjs.1] Loaded unknown number of test(s)\n',
    '2024-01-04T22:00:52.819Z workers [h1qjs.1] Test executed: have a chat\n',
    "2024-01-04T22:00:52.829Z workers 'Vitest Run Complete (h1qjs): 2024-01-04T22:00:52.828Z'\n",
    '2024-01-04T22:00:52.829Z workers [h1qjs] Run 2 test(s), skipped 0 test(s)\n',
    '2024-01-04T22:00:52.830Z workers [h1qjs] Sandbox is responsive, closing it\n',
    '2024-01-04T22:00:52.831Z project Test run finished\n',
    '2024-01-04T22:00:52.831Z project Processed console.log entries\n',
    '2024-01-04T22:00:52.831Z project Processed loading sequences\n',
    '2024-01-04T22:00:52.831Z project Processed executed tests\n',
    '2024-01-04T22:00:52.831Z project Processed code coverage\n',
    '2024-01-04T22:00:52.834Z project Test run result processed and sent to IDE\n'
  ]
}
inverted-capital commented 10 months ago

Seems something is taking too long to run, and yet running vitest in watch mode has no issues:

​[Info]​ console.log: ​[Info]​ Finished executing 2 affected test(s) in 281 millisecond(s) ​[Info]​ console.log: ​[Info]​ console.log: ​[Info]​ Finished executing 2 affected test(s) in 406 millisecond(s) ​​[Error] Some long running code has been detected: one of your tests is taking more than 5000ms to execute.​​ ​​[Error] The last recorded console.log: ​​ ​​[Error] Some long running code has been detected: one of your tests is taking more than 5000ms to execute.​​ ​​[Error] The last recorded console.log: ​​ ​[Info]​ console.log: ​[Info]​ console.log: ​[Info]​ Finished executing 2 affected test(s) in 406 millisecond(s) ​​[Error] Some long running code has been detected: one of your tests is taking more than 5000ms to execute.​​ ​​[Error] The last recorded console.log: ​​ ​​[Error] Some long running code has been detected: one of your tests is taking more than 5000ms to execute.​​ ​​[Error] The last recorded console.log: ​​ ​[Info]​ console.log: ​[Info]​ console.log: ​[Info]​ console.log: ​[Info]​ Finished executing 2 affected test(s) in 415 millisecond(s) ​​[Error] Some long running code has been detected: one of your tests is taking more than 5000ms to execute.​​ ​​[Error] The last recorded console.log: ​​ ​​[Error] Some long running code has been detected: one of your tests is taking more than 5000ms to execute.​​ ​​[Error] The last recorded console.log: ​​ ​[Info]​ console.log: ​[Info]​ console.log: ​[Info]​ Finished executing 2 affected test(s) in 397 millisecond(s) ​​[Error] Some long running code has been detected: one of your tests is taking more than 5000ms to execute.​​ ​​[Error] The last recorded console.log: ​​

inverted-capital commented 10 months ago

This is the test file in question: https://github.com/dreamcatcher-tech/artifact/blob/main/src/artifact.test.js

It is interacting with the local filesystem, which might be causing some issues.

inverted-capital commented 10 months ago

It is just strange that it can run fine the first time, but not any subsequent runs 🤷

inverted-capital commented 10 months ago

ok I have fixed it by adding the following to package.json:

"wallaby": {
    "workers": {
      "restart": true
    }
  }

but it feels like I shouldn't have to do this, so hopefully this is a valid issue to raise !

thanks again for your product - super helpful tool that I can't live without 👍

ArtemGovorov commented 10 months ago

Thanks for reporting the issue.

There's been some breaking changes in vitest@1.1.2 that has been released a few hours ago. We will be adding support of this version of vitest soon. In meantime you may use vitest@1.1.1.

Also, because some of your tests are writing to tmp, we recommend to exclude the folder in your vitest config for faster test runs.

ArtemGovorov commented 10 months ago

The support for vitest 1.1.2 has been released in the latest core v1.0.1517.