{"record":{"id":"2e4264999af6ed48","repo":"denoland/deno","slug":"the-benchmark-which-this-context-belongs-to-is-not","errorCode":null,"errorMessage":"The benchmark which this context belongs to is not being executed","messagePattern":"The benchmark which this context belongs to is not being executed","errorType":"exception","errorClass":"TypeError","httpStatus":null,"severity":"error","filePath":"cli/js/40_bench.js","lineNumber":427,"sourceCode":"    wavg > lowPrecisionThresholdInNs,\n    usedExplicitTimers,\n    avg,\n    min,\n    max,\n    allSlice,\n    allLength,\n  );\n}\n\n/** @param desc {BenchDescription} */\nfunction createBenchContext(desc) {\n  return {\n    [SymbolToStringTag]: \"BenchContext\",\n    name: desc.name,\n    origin: desc.origin,\n    start() {\n      if (currentBenchId !== desc.id) {\n        throw new TypeError(\n          \"The benchmark which this context belongs to is not being executed\",\n        );\n      }\n      if (currentBenchUserExplicitStart != null) {\n        throw new TypeError(\n          \"BenchContext::start() has already been invoked\",\n        );\n      }\n      currentBenchUserExplicitStart = benchNow();\n    },\n    end() {\n      const end = benchNow();\n      if (currentBenchId !== desc.id) {\n        throw new TypeError(\n          \"The benchmark which this context belongs to is not being executed\",\n        );\n      }\n      if (currentBenchUserExplicitEnd != null) {","sourceCodeStart":409,"sourceCodeEnd":445,"githubUrl":"https://github.com/denoland/deno/blob/89f33cbef296a2b287f323d42de54c871fa69c77/cli/js/40_bench.js#L409-L445","documentation":"Downloads of the laufey backend are pinned against `cli/laufey_sums.lock` (the reviewed trust anchor, used instead of the unsigned upstream SHA256SUMS). This error means the computed archive name for the requested backend/target has no pinned digest: either the Deno build's lock was not regenerated after a LAUFEY_VERSION bump, or that laufey release ships no archive for this backend/target pair.","triggerScenarios":"Requesting a backend/target combination laufey does not publish (exotic `--target`, uncommon backend), or using a self-built/nightly Deno where LAUFEY_VERSION moved without regenerating the lock (build-time consistency is asserted in cli/build.rs).","commonSituations":"Cross-compiling to an unusual target; running a dev build of Deno from a dirty checkout; using a backend newly added on one side but not the other.","solutions":["Drop or change `--target` to a mainstream target that the backend ships","Update to a released Deno build where the lock file matches LAUFEY_VERSION","If building Deno yourself, regenerate `cli/laufey_sums.lock` for the new LAUFEY_VERSION and confirm the archive exists in the upstream release"],"exampleFix":null,"handlingStrategy":"validation","validationCode":"const laufeyTargets = new Set([\n  'x86_64-apple-darwin', 'aarch64-apple-darwin',\n  'x86_64-pc-windows-msvc', 'x86_64-unknown-linux-gnu',\n]);\nif (!laufeyTargets.has(target)) {\n  throw new Error(`target not shipped by laufey: ${target}`);\n}","typeGuard":null,"tryCatchPattern":null,"preventionTips":["Pin CI/desktop builds to mainstream targets known to ship laufey archives","When self-building Deno, always regenerate laufey_sums.lock with the LAUFEY_VERSION bump","Treat a missing pin as a stop-the-line signal, not something to bypass"],"tags":["desktop","laufey","supply-chain","checksum","target","lock-file"],"backgroundTag":null,"analyzedSha":"89f33cbef296a2b287f323d42de54c871fa69c77","analyzedAt":"2026-08-16T07:54:21.310Z","schemaVersion":2},"datasetVersion":"2026-08-16T08:17:34.114Z"}