{"record":{"id":"08de0652783d11d0","repo":"avajs/ava","slug":"timed-out-resolving-ava-configuration","errorCode":null,"errorMessage":"Timed out resolving AVA configuration","messagePattern":"Timed out resolving AVA configuration","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"entrypoints/eslint-plugin-helper.js","lineNumber":44,"sourceCode":"\t\tconst syncBuffer = new SharedArrayBuffer(4);\n\t\tsync = new Int32Array(syncBuffer);\n\n\t\tconst filename = path.join(import.meta.dirname, '../lib/eslint-plugin-helper-worker.js');\n\t\tworker = new Worker(pathToFileURL(filename), {\n\t\t\tworkerData: {\n\t\t\t\tdataBuffer,\n\t\t\t\tsyncBuffer,\n\t\t\t\tfirstMessage: {projectDir, overrideExtensions, overrideFiles},\n\t\t\t},\n\t\t});\n\t\tworker.unref();\n\t} else {\n\t\tworker.postMessage({projectDir, overrideExtensions, overrideFiles});\n\t}\n\n\tconst synchronize = Atomics.wait(sync, 0, 0, 10_000);\n\tif (synchronize === 'timed-out') {\n\t\tthrow new Error('Timed out resolving AVA configuration');\n\t}\n\n\tconst byteLength = Atomics.exchange(sync, 0, 0);\n\tif (byteLength === MAX_DATA_LENGTH_EXCLUSIVE) {\n\t\tthrow new Error('Globs are over 100 KiB and cannot be resolved');\n\t}\n\n\tconst globsOrError = v8.deserialize(data.slice(0, byteLength));\n\tif (globsOrError instanceof Error) {\n\t\tthrow globsOrError;\n\t}\n\n\treturn globsOrError;\n};\n\nconst helperCache = new Map();\n\nexport function load(projectDir, overrides) {","sourceCodeStart":26,"sourceCodeEnd":62,"githubUrl":"https://github.com/avajs/ava/blob/bbfd946322fdeca2b547a691d947fb4e18c0c67f/entrypoints/eslint-plugin-helper.js#L26-L62","documentation":"Thrown by resolveGlobsSync when the Atomics.wait on the worker's shared synchronization buffer returns 'timed-out' — no signal arrived within 10 seconds. It means the eslint-plugin-helper worker thread never delivered its computed glob results: the worker crashed, hung while loading the ESLint config (e.g. plugins resolving over the network), or was blocked before writing to the shared buffer.","triggerScenarios":"Thrown at entrypoints/eslint-plugin-helper.js:44 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Verify the AVA/ESLint configuration in projectDir loads quickly and does not await network resources or long-running plugins","Run the worker script (lib/eslint-plugin-helper-worker.js) directly to surface a hidden worker-side crash","Check that workerData buffers and the firstMessage payload are valid for the current AVA version; reinstall or upgrade AVA","Increase the 10_000 ms Atomics.wait timeout locally if configs are legitimately slow, or precompute the config outside the worker"],"exampleFix":null,"handlingStrategy":"retry","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"bbfd946322fdeca2b547a691d947fb4e18c0c67f","analyzedAt":"2026-09-02T01:24:43.834Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-09T06:17:21.866Z"}