Build, patch and manifest for the bwrap sandbox, the credential check and the unit's EnvironmentFile= line. Gate 14 suites rc=0; 26 mutants killed. Co-Authored-By: Claude Opus 5.5 <[email protected]>
42 lines
2.0 KiB
Plaintext
42 lines
2.0 KiB
Plaintext
✖ a real Claude Code coder's shell can't read a stand-in secret or anything else its sandbox doesn't hold (1423.387435ms)
|
||
ℹ tests 1
|
||
ℹ suites 0
|
||
ℹ pass 0
|
||
ℹ fail 1
|
||
ℹ cancelled 0
|
||
ℹ skipped 0
|
||
ℹ todo 0
|
||
ℹ duration_ms 1573.882071
|
||
|
||
✖ failing tests:
|
||
|
||
test at packages/cli/tests/launcher.test.mjs:295:1
|
||
✖ a real Claude Code coder's shell can't read a stand-in secret or anything else its sandbox doesn't hold (1423.387435ms)
|
||
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
|
||
+ actual - expected
|
||
|
||
{
|
||
"HOME is the run's home/": true,
|
||
"read the PM's run directory": false,
|
||
"read the data root's sessions file": false,
|
||
'read the checkout': false,
|
||
+ 'read the stand-in secret': true,
|
||
- 'read the stand-in secret': false,
|
||
'read the stand-in ~/.mosaic': false,
|
||
'write and read /tmp': true,
|
||
'write and read its workspace': true,
|
||
'write outside': false
|
||
}
|
||
|
||
at TestContext.<anonymous> (file:///home/jwoltje/darkwing-scratch/r92/wt/packages/cli/tests/launcher.test.mjs:345:10)
|
||
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
|
||
at async Test.run (node:internal/test_runner/test:1409:7)
|
||
at async startSubtestAfterBootstrap (node:internal/test_runner/harness:387:3) {
|
||
generatedMessage: true,
|
||
code: 'ERR_ASSERTION',
|
||
actual: { 'read the stand-in secret': true, 'read the stand-in ~/.mosaic': false, "read the PM's run directory": false, "read the data root's sessions file": false, 'read the checkout': false, 'write outside': false, 'write and read its workspace': true, 'write and read /tmp': true, "HOME is the run's home/": true },
|
||
expected: { 'read the stand-in secret': false, 'read the stand-in ~/.mosaic': false, "read the PM's run directory": false, "read the data root's sessions file": false, 'read the checkout': false, 'write outside': false, 'write and read its workspace': true, 'write and read /tmp': true, "HOME is the run's home/": true },
|
||
operator: 'deepStrictEqual',
|
||
diff: 'simple'
|
||
}
|