test(ci): confirm hooks in packed target smoke

This commit is contained in:
haelyra
2026-08-30 15:19:01 -04:00
parent 8211578ee7
commit d26b9cccee
2 changed files with 12 additions and 0 deletions
+1
View File
@@ -258,6 +258,7 @@ function runTargetSmoke(options) {
'install',
'--modules', 'workflow-quality',
'--target', options.target,
'--enable-hooks',
'--json',
]),
`${options.target} packed install`
@@ -144,6 +144,17 @@ test('Windows public CLI invocation accepts the exact Itô capability selection'
);
});
test('workflow-quality target smoke explicitly opts into hooks', () => {
const source = fs.readFileSync(
path.join(__dirname, 'packed-artifact-lifecycle.js'),
'utf8'
);
assert.match(
source,
/'--modules', 'workflow-quality'[\s\S]*'--enable-hooks'/
);
});
test('lifecycle cleanup retries Windows file locks without masking results', () => {
const source = fs.readFileSync(
path.join(__dirname, 'packed-artifact-lifecycle.js'),