Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/tasks-capability/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion tests/tasks-capability.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: {} };
Expand Down
4 changes: 3 additions & 1 deletion tools/verify-tasks-capability.js
Original file line number Diff line number Diff line change
Expand Up @@ -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', ...[
Expand Down
Loading