diff --git a/packages/tasks-capability/README.md b/packages/tasks-capability/README.md index b05ade7..156eeec 100644 --- a/packages/tasks-capability/README.md +++ b/packages/tasks-capability/README.md @@ -62,7 +62,7 @@ An absent required authority blocks verification, including after a revoke. ## Compatibility and schemas The real generic runtime compatibility target is Opsle Tasks revision -`b76d6253b405469b79d30b260f7ad09827052a4a` (Node 24+ for its complete regression +`3603c09dd01bfe5bb8f89cfd3e28cebbd4bdf2ec` (Node 24+ for its complete regression suite). Its `src/capabilities.js` SHA-256 is `62dca002d729c82ca00a66fdb6edcbac692eca770ca6f771dea0c7e68ffd3408`. Tests import that unmodified runtime only as a compatibility test dependency; diff --git a/tests/tasks-capability.test.js b/tests/tasks-capability.test.js index 3f76faf..88430ae 100644 --- a/tests/tasks-capability.test.js +++ b/tests/tasks-capability.test.js @@ -8,7 +8,7 @@ import { resolve } from 'node:path'; import { pathToFileURL, fileURLToPath } from 'node:url'; const root = fileURLToPath(new URL('..', import.meta.url)); -const compatRevision = 'b76d6253b405469b79d30b260f7ad09827052a4a'; +const compatRevision = '3603c09dd01bfe5bb8f89cfd3e28cebbd4bdf2ec'; const id = 'opsle.affected-verification'; const schema = 'opsle.execution.verification-request.v1'; const emptySelection = { schema: 'opsle.capability-selection.v1', enable: [], disable: [], configuration: {} }; diff --git a/tools/verify-tasks-capability.js b/tools/verify-tasks-capability.js index f5ad436..7cfbb61 100644 --- a/tools/verify-tasks-capability.js +++ b/tools/verify-tasks-capability.js @@ -5,8 +5,10 @@ const root = fileURLToPath(new URL('..', import.meta.url)); const runtime = process.env.OPSLE_TASKS_RUNTIME_ROOT; if (!runtime) throw new Error('OPSLE_TASKS_RUNTIME_ROOT must name the trusted Tasks compatibility checkout; lifecycle verification cannot be skipped for release.'); const revision = execFileSync('git', ['-C', runtime, 'rev-parse', 'HEAD'], { encoding: 'utf8' }).trim(); -if (revision !== 'b76d6253b405469b79d30b260f7ad09827052a4a') throw new Error('Unreviewed Tasks compatibility revision'); +if (revision !== '3603c09dd01bfe5bb8f89cfd3e28cebbd4bdf2ec') throw new Error('Unreviewed Tasks compatibility revision'); const env = { ...process.env, NODE_ENV: 'test', OPSLE_AFFECTED_VERIFICATION_REPO: root }; +execFileSync(process.execPath, [resolve(root, + 'packages/tasks-capability/build.mjs')], { cwd: root, env, stdio: 'inherit' }); execFileSync(process.execPath, ['--test', 'tests/tasks-capability.test.js'], { cwd: root, env, stdio: 'inherit' }); // These are the existing generic contract and AV regressions, not a replacement runtime. execFileSync(process.execPath, ['--test', ...[