launchpad: row 294 round 4 (#1800): rehearsal fixture copies carry cli access.mjs and transport.mjs, B1-B3 pin the fixture's tracker warning in full (Mos mos-1419, sage-3238); manifest round 4 (19 paths), run 3 receipts; unrun
This commit is contained in:
1 parent
f265840892
commit
8616b9a4f6
10 files changed
+1092
-7
No files matched your search
@@ -331,6 +331,23 @@ where run 1's count(*) had shown 22. The line is now `SELECT coalesce(max(seq),
|
||||
Nothing else in G5 and no product file changes. The manifest stays 18 paths; only
|
||||
granted-user.test.mjs's hash moves. My round 2 check missed the empty-table case.
|
||||
|
||||
Round 4 (Mos mos-1419 through Sage sage-3238, after run 3's third red): two test files, no product
|
||||
file. The manifest adds packages/cli/tests/stack-release.test.mjs (19 paths).
|
||||
|
||||
- stack-release.test.mjs, an old test: the rehearsal fixture copies a fixed list of config.mjs's
|
||||
imports into each scratch copy. 294's config.mjs imports access.mjs, which imports transport.mjs
|
||||
(transport.mjs imports only errors.mjs). The :1991 list gains both, with a row 294 comment at
|
||||
:1987. No assertion changes. The real copy carries all of packages/cli/src (stack-copy.sh
|
||||
COPY_PATHS), so the product was not affected.
|
||||
- access-boot.test.mjs, new test B1-B3: the shared helpers.mjs business sets tracker.baseUrl
|
||||
without tracker.project, so bootConfig warns about it before any access line (trackerFor runs
|
||||
before accessFor in config.mjs). A TRACKER constant holds that line. B1 and B2 pin `[TRACKER]`.
|
||||
B3 pins `[TRACKER, <the access refusal line>]`, and the secret-marker check reads every warning
|
||||
joined. boot() still records every warning. Mos chose a full pin over a filter: it also catches a
|
||||
second tracker line, a reordering, and config.mjs:102's context warning. I proposed a
|
||||
startsWith('access file') filter; Sage found it would hide that :102 warning.
|
||||
- My miss: B1-B3 were new and had not run before the gate.
|
||||
|
||||
## Runs
|
||||
|
||||
### Run 1, 2026-10-23 04:57Z (sage-3187 CLEAR), head 685ff053b, manifest 0b3f9c9d…94f3
|
||||
@@ -375,3 +392,27 @@ The driver stopped at the first red. The slot was returned (launchpad-0070), and
|
||||
- G5:269 failed `0 !== 22`, "one event per refused verb". Every verb was still refused with
|
||||
`access-refused`. Placed as a test defect (the NULL baseline, round 3 above); as the row's
|
||||
second red it went to Mos through Sage (sage-3211) before the fix runs.
|
||||
|
||||
### Run 3, 2026-10-23 05:55Z (sage-3231 CLEAR), head f26584089, manifest cb1648f3…78de
|
||||
|
||||
Duckworth's round 3 approve was recorded first (duckworth-0255b, rev 3462, c31045). The drivers,
|
||||
summary, webui log and the cli failure section are in run3/. TMPDIR was under
|
||||
/mnt/storage/scratch/tmp.
|
||||
|
||||
| Step | Result | Time | Limit |
|
||||
|---|---|---|---|
|
||||
| npm ci --ignore-scripts, root | ok | 2.2 s | 900 s |
|
||||
| npm ci --ignore-scripts, packages/webui | ok | 2.2 s | 900 s |
|
||||
| webui suite | 365 tests: 365 pass, 0 fail, 0 skipped | 58.2 s | 600 s |
|
||||
| cli suite | 909 tests: 889 pass, 20 fail, 0 skipped | 541.5 s | 2100 s |
|
||||
|
||||
The driver stopped at the cli suite, so the bus suite, the scripts and the mutants did not run. No
|
||||
failure was compactions-launch, so the :229 rerun rule did not apply. The slot was returned
|
||||
(launchpad-0076), and I made no edit before Mos's ruling (round 4 above).
|
||||
|
||||
- stack-release.test.mjs, 17 failures: R1-R7, R9-R12, R14, R15, row 233's --backup last test, and
|
||||
row196's rehearsal test at :2586 with its socket copy and legacy copy subtests. Each rehearsal
|
||||
failed at scratch-config: "Cannot find module …/packages/cli/src/access.mjs imported from
|
||||
…/packages/cli/src/config.mjs". My launchpad-0076 put the two subtests under row 233; they are
|
||||
row196's.
|
||||
- access-boot.test.mjs B1, B2 and B3: `warnings` also held the fixture's tracker line.
|
||||
@@ -1,4 +1,16 @@
|
||||
# Row 294 (FED R6, #1800) candidate manifest, round 3
|
||||
# Row 294 (FED R6, #1800) candidate manifest, round 4
|
||||
|
||||
Round 4 (Mos mos-1419 through Sage sage-3238, after run 3's third red): two test files, no product
|
||||
file. The manifest adds packages/cli/tests/stack-release.test.mjs (19 paths).
|
||||
|
||||
- packages/cli/tests/stack-release.test.mjs (old test): the rehearsal fixture's copy list at :1991
|
||||
gains 'packages/cli/src/access.mjs' and 'packages/cli/src/transport.mjs', with a row 294 comment
|
||||
at :1987. 294's config.mjs imports access.mjs, which imports transport.mjs. No assertion changes.
|
||||
- packages/cli/tests/access-boot.test.mjs (new test): a TRACKER constant holds the tracker warning
|
||||
the shared helpers.mjs business makes. B1 and B2 pin `[TRACKER]`; B3 pins `[TRACKER, <the access
|
||||
refusal line>]` and checks the joined warnings for secret-marker. boot() is unchanged.
|
||||
|
||||
Round 3 (cb1648f3…78de) was approved by Duckworth (rev 3462, c31045). Its text follows unchanged.
|
||||
|
||||
Round 3 (sage-3212, Mos ruling pending in sage-3211): one line in granted-user.test.mjs G5. The
|
||||
baseline is `SELECT coalesce(max(seq), 0) n FROM events`, because max(seq) is NULL on the fixture's
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
52206bd92b0f223bf9310d50db650f36e12836691d739b499192e3eedd81401c packages/cli/src/access.mjs
|
||||
a948886a8c57d700b3d116097c9597c2b29dc7cc89ff6e18ae57436754195853 packages/cli/src/config.mjs
|
||||
abb5ccb77b8d5c97c81e84fb1fb32367bf69890e8ea1f1912d739a3dd1678738 packages/cli/tests/access-boot.test.mjs
|
||||
b2745e1a3067d8c439de4f9c9e0df532764d3ea77639d15e5b9d949ec5cd534d packages/cli/tests/access-boot.test.mjs
|
||||
96f239dfd25cd1408d7586016154798da42b1a0f32387d14705345d0aa4db2ce packages/cli/tests/stack-release.test.mjs
|
||||
1be61ba66c3b747decdb3e12de743265b8cc7ba7cd06c033393b157ce1bc0b70 packages/webui/src/access.mjs
|
||||
954dee1535b258d9590e4d102423d081303b640b3bea750bd3653883e67bf309 packages/webui/src/chat-http.mjs
|
||||
230a5759f5027f9208c716b176f9b0a30310d5f433493bfcd8862c71abe182ae packages/webui/src/chat.mjs
|
||||
|
||||
@@ -0,0 +1,507 @@
|
||||
ℹ tests 909
|
||||
ℹ suites 0
|
||||
ℹ pass 889
|
||||
ℹ fail 20
|
||||
ℹ cancelled 0
|
||||
ℹ skipped 0
|
||||
ℹ todo 0
|
||||
ℹ duration_ms 541508.057689
|
||||
|
||||
✖ failing tests:
|
||||
|
||||
test at tests/access-boot.test.mjs:65:1
|
||||
✖ R6 B1 a boot with access.json binds a granted user, whose home is a configured peer (157.96901ms)
|
||||
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
|
||||
+ actual - expected
|
||||
|
||||
+ [
|
||||
+ 'business acme sets tracker.baseUrl, but no project file sets tracker.project; the broker gets no task verbs'
|
||||
+ ]
|
||||
- []
|
||||
|
||||
at TestContext.<anonymous> (file:///mnt/storage/scratch/launchpad-r294/wt/packages/cli/tests/access-boot.test.mjs:72:10)
|
||||
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
|
||||
at async Test.run (node:internal/test_runner/test:1409:7)
|
||||
at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) {
|
||||
generatedMessage: true,
|
||||
code: 'ERR_ASSERTION',
|
||||
actual: [ 'business acme sets tracker.baseUrl, but no project file sets tracker.project; the broker gets no task verbs' ],
|
||||
expected: [],
|
||||
operator: 'deepStrictEqual',
|
||||
diff: 'simple'
|
||||
}
|
||||
|
||||
test at tests/access-boot.test.mjs:75:1
|
||||
✖ R6 B2 a boot without access.json has no access and binds no user (122.067635ms)
|
||||
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
|
||||
+ actual - expected
|
||||
|
||||
+ [
|
||||
+ 'business acme sets tracker.baseUrl, but no project file sets tracker.project; the broker gets no task verbs'
|
||||
+ ]
|
||||
- []
|
||||
|
||||
at TestContext.<anonymous> (file:///mnt/storage/scratch/launchpad-r294/wt/packages/cli/tests/access-boot.test.mjs:79:10)
|
||||
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
|
||||
at async Test.run (node:internal/test_runner/test:1409:7)
|
||||
at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) {
|
||||
generatedMessage: true,
|
||||
code: 'ERR_ASSERTION',
|
||||
actual: [ 'business acme sets tracker.baseUrl, but no project file sets tracker.project; the broker gets no task verbs' ],
|
||||
expected: [],
|
||||
operator: 'deepStrictEqual',
|
||||
diff: 'simple'
|
||||
}
|
||||
|
||||
test at tests/access-boot.test.mjs:82:1
|
||||
✖ R6 B3 a boot with a file R1's loader refuses still boots, binds no user and says so once (147.861724ms)
|
||||
AssertionError [ERR_ASSERTION]: not JSON
|
||||
+ actual - expected
|
||||
|
||||
[
|
||||
+ 'business acme sets tracker.baseUrl, but no project file sets tracker.project; the broker gets no task verbs',
|
||||
'access file refused at boot (access-invalid), no granted user binds until it is fixed: /mnt/storage/scratch/tmp/g6exC2q/mosaic-access-boot-EQT8MW/config/access.json'
|
||||
]
|
||||
|
||||
at TestContext.<anonymous> (file:///mnt/storage/scratch/launchpad-r294/wt/packages/cli/tests/access-boot.test.mjs:91:12)
|
||||
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
|
||||
at async Test.run (node:internal/test_runner/test:1409:7)
|
||||
at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) {
|
||||
generatedMessage: false,
|
||||
code: 'ERR_ASSERTION',
|
||||
actual: [ 'business acme sets tracker.baseUrl, but no project file sets tracker.project; the broker gets no task verbs', 'access file refused at boot (access-invalid), no granted user binds until it is fixed: /mnt/storage/scratch/tmp/g6exC2q/mosaic-access-boot-EQT8MW/config/access.json' ],
|
||||
expected: [ 'access file refused at boot (access-invalid), no granted user binds until it is fixed: /mnt/storage/scratch/tmp/g6exC2q/mosaic-access-boot-EQT8MW/config/access.json' ],
|
||||
operator: 'deepStrictEqual',
|
||||
diff: 'simple'
|
||||
}
|
||||
|
||||
test at tests/stack-release.test.mjs:2052:1
|
||||
✖ R1 rehearse passes on the same schema; the scratch root holds its files and the live files stay byte-identical (257.50956ms)
|
||||
AssertionError [ERR_ASSERTION]: PASS copy: d4d019e3594f3aecd8e61d21da71be7e8900d2aa, schema 3g
|
||||
PASS port: 127.0.0.1:46325 is free
|
||||
PASS backup: /mnt/storage/scratch/tmp/g6exC2q/sr-jrYCKA/data/backups/stack/20261020T000000Z-d4d019e3594f matches its SHA256SUMS
|
||||
PASS scratch-root: /mnt/storage/scratch/tmp/g6exC2q/sr-jrYCKA/data/rehearsals/20261023T060506Z-d4d019e3594f/data from the backup, config and business file under /mnt/storage/scratch/tmp/g6exC2q/sr-jrYCKA/data/rehearsals/20261023T060506Z-d4d019e3594f/config, business.diff beside them
|
||||
FAIL scratch-config: Cannot find module '/mnt/storage/scratch/tmp/g6exC2q/stack-release-vxoJVb/rcopies/d4d019e3594f3aecd8e61d21da71be7e8900d2aa/packages/cli/src/access.mjs' imported from /mnt/storage/scratch/tmp/g6exC2q/stack-release-vxoJVb/rcopies/d4d019e3594f3aecd8e61d21da71be7e8900d2aa/packages/cli/src/config.mjs
|
||||
PASS backup-unchanged
|
||||
PASS live-config-unchanged
|
||||
REHEARSAL_FAIL
|
||||
rehearsal directory: /mnt/storage/scratch/tmp/g6exC2q/sr-jrYCKA/data/rehearsals/20261023T060506Z-d4d019e3594f
|
||||
|
||||
|
||||
1 !== 0
|
||||
|
||||
at TestContext.<anonymous> (file:///mnt/storage/scratch/launchpad-r294/wt/packages/cli/tests/stack-release.test.mjs:2055:9)
|
||||
at async Test.run (node:internal/test_runner/test:1409:7)
|
||||
at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) {
|
||||
generatedMessage: false,
|
||||
code: 'ERR_ASSERTION',
|
||||
actual: 1,
|
||||
expected: 0,
|
||||
operator: 'strictEqual',
|
||||
diff: 'simple'
|
||||
}
|
||||
|
||||
test at tests/stack-release.test.mjs:2094:1
|
||||
✖ R2 rehearse runs the migration checks when the schema differs; the live store stays at 3g (257.801433ms)
|
||||
AssertionError [ERR_ASSERTION]: PASS copy: e1435ba233c48f735a0827ffee14159e63152fd6, schema 3h
|
||||
PASS port: 127.0.0.1:42869 is free
|
||||
PASS backup: /mnt/storage/scratch/tmp/g6exC2q/sr-dlVVff/data/backups/stack/20261020T000000Z-d4d019e3594f matches its SHA256SUMS
|
||||
PASS scratch-root: /mnt/storage/scratch/tmp/g6exC2q/sr-dlVVff/data/rehearsals/20261023T060507Z-e1435ba233c4/data from the backup, config and business file under /mnt/storage/scratch/tmp/g6exC2q/sr-dlVVff/data/rehearsals/20261023T060507Z-e1435ba233c4/config, business.diff beside them
|
||||
FAIL scratch-config: Cannot find module '/mnt/storage/scratch/tmp/g6exC2q/stack-release-vxoJVb/rcopies/e1435ba233c48f735a0827ffee14159e63152fd6/packages/cli/src/access.mjs' imported from /mnt/storage/scratch/tmp/g6exC2q/stack-release-vxoJVb/rcopies/e1435ba233c48f735a0827ffee14159e63152fd6/packages/cli/src/config.mjs
|
||||
PASS backup-unchanged
|
||||
PASS live-config-unchanged
|
||||
REHEARSAL_FAIL
|
||||
rehearsal directory: /mnt/storage/scratch/tmp/g6exC2q/sr-dlVVff/data/rehearsals/20261023T060507Z-e1435ba233c4
|
||||
|
||||
|
||||
1 !== 0
|
||||
|
||||
at TestContext.<anonymous> (file:///mnt/storage/scratch/launchpad-r294/wt/packages/cli/tests/stack-release.test.mjs:2097:9)
|
||||
at async Test.run (node:internal/test_runner/test:1409:7)
|
||||
at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) {
|
||||
generatedMessage: false,
|
||||
code: 'ERR_ASSERTION',
|
||||
actual: 1,
|
||||
expected: 0,
|
||||
operator: 'strictEqual',
|
||||
diff: 'simple'
|
||||
}
|
||||
|
||||
test at tests/stack-release.test.mjs:2106:1
|
||||
✖ R3 a failing migration gives REHEARSAL_FAIL migrate and starts nothing (256.867638ms)
|
||||
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
|
||||
+ actual - expected
|
||||
|
||||
[
|
||||
'PASS copy',
|
||||
'PASS port',
|
||||
'PASS backup',
|
||||
'PASS scratch-root',
|
||||
+ 'FAIL scratch-config',
|
||||
- 'PASS data-root-live',
|
||||
- 'PASS sessions-live',
|
||||
- 'PASS data-root-scratch',
|
||||
- 'PASS notify-off',
|
||||
- 'PASS tracker-configured',
|
||||
- 'PASS credential-ref-live',
|
||||
- 'PASS new-refuses-old-store',
|
||||
- 'FAIL migrate',
|
||||
'PASS backup-unchanged',
|
||||
'PASS live-config-unchanged'
|
||||
]
|
||||
|
||||
at TestContext.<anonymous> (file:///mnt/storage/scratch/launchpad-r294/wt/packages/cli/tests/stack-release.test.mjs:2110:9)
|
||||
at async Test.run (node:internal/test_runner/test:1409:7)
|
||||
at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) {
|
||||
generatedMessage: true,
|
||||
code: 'ERR_ASSERTION',
|
||||
actual: [ 'PASS copy', 'PASS port', 'PASS backup', 'PASS scratch-root', 'FAIL scratch-config', 'PASS backup-unchanged', 'PASS live-config-unchanged' ],
|
||||
expected: [ 'PASS copy', 'PASS port', 'PASS backup', 'PASS scratch-root', 'PASS data-root-live', 'PASS sessions-live', 'PASS data-root-scratch', 'PASS notify-off', 'PASS tracker-configured', 'PASS credential-ref-live', 'PASS new-refuses-old-store', 'FAIL migrate', 'PASS backup-unchanged', 'PASS live-config-unchanged' ],
|
||||
operator: 'deepStrictEqual',
|
||||
diff: 'simple'
|
||||
}
|
||||
|
||||
test at tests/stack-release.test.mjs:2117:1
|
||||
✖ R4 a host that does not start, does not answer status, reports another pid, launches anyway, makes a launches directory or keeps its lock each fails by name (255.606533ms)
|
||||
AssertionError [ERR_ASSERTION]: host-fails-d4d019e3594f3aecd8e61d21da71be7e8900d2aaPASS copy: d4d019e3594f3aecd8e61d21da71be7e8900d2aa, schema 3g
|
||||
PASS port: 127.0.0.1:34099 is free
|
||||
PASS backup: /mnt/storage/scratch/tmp/g6exC2q/sr-ytC3K1/data/backups/stack/20261020T000000Z-d4d019e3594f matches its SHA256SUMS
|
||||
PASS scratch-root: /mnt/storage/scratch/tmp/g6exC2q/sr-ytC3K1/data/rehearsals/20261023T060507Z-d4d019e3594f/data from the backup, config and business file under /mnt/storage/scratch/tmp/g6exC2q/sr-ytC3K1/data/rehearsals/20261023T060507Z-d4d019e3594f/config, business.diff beside them
|
||||
FAIL scratch-config: Cannot find module '/mnt/storage/scratch/tmp/g6exC2q/stack-release-vxoJVb/rcopies/d4d019e3594f3aecd8e61d21da71be7e8900d2aa/packages/cli/src/access.mjs' imported from /mnt/storage/scratch/tmp/g6exC2q/stack-release-vxoJVb/rcopies/d4d019e3594f3aecd8e61d21da71be7e8900d2aa/packages/cli/src/config.mjs
|
||||
PASS backup-unchanged
|
||||
PASS live-config-unchanged
|
||||
REHEARSAL_FAIL
|
||||
rehearsal directory: /mnt/storage/scratch/tmp/g6exC2q/sr-ytC3K1/data/rehearsals/20261023T060507Z-d4d019e3594f
|
||||
|
||||
at TestContext.<anonymous> (file:///mnt/storage/scratch/launchpad-r294/wt/packages/cli/tests/stack-release.test.mjs:2122:10)
|
||||
at async Test.run (node:internal/test_runner/test:1409:7)
|
||||
at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) {
|
||||
generatedMessage: false,
|
||||
code: 'ERR_ASSERTION',
|
||||
actual: false,
|
||||
expected: true,
|
||||
operator: '==',
|
||||
diff: 'simple'
|
||||
}
|
||||
|
||||
test at tests/stack-release.test.mjs:2130:1
|
||||
✖ R5 a host that ignores SIGTERM gets SIGKILL and FAIL host-stopped (255.514631ms)
|
||||
AssertionError [ERR_ASSERTION]: PASS copy: d4d019e3594f3aecd8e61d21da71be7e8900d2aa, schema 3g
|
||||
PASS port: 127.0.0.1:41779 is free
|
||||
PASS backup: /mnt/storage/scratch/tmp/g6exC2q/sr-Cw4EoG/data/backups/stack/20261020T000000Z-d4d019e3594f matches its SHA256SUMS
|
||||
PASS scratch-root: /mnt/storage/scratch/tmp/g6exC2q/sr-Cw4EoG/data/rehearsals/20261023T060507Z-d4d019e3594f/data from the backup, config and business file under /mnt/storage/scratch/tmp/g6exC2q/sr-Cw4EoG/data/rehearsals/20261023T060507Z-d4d019e3594f/config, business.diff beside them
|
||||
FAIL scratch-config: Cannot find module '/mnt/storage/scratch/tmp/g6exC2q/stack-release-vxoJVb/rcopies/d4d019e3594f3aecd8e61d21da71be7e8900d2aa/packages/cli/src/access.mjs' imported from /mnt/storage/scratch/tmp/g6exC2q/stack-release-vxoJVb/rcopies/d4d019e3594f3aecd8e61d21da71be7e8900d2aa/packages/cli/src/config.mjs
|
||||
PASS backup-unchanged
|
||||
PASS live-config-unchanged
|
||||
REHEARSAL_FAIL
|
||||
rehearsal directory: /mnt/storage/scratch/tmp/g6exC2q/sr-Cw4EoG/data/rehearsals/20261023T060507Z-d4d019e3594f
|
||||
|
||||
at TestContext.<anonymous> (file:///mnt/storage/scratch/launchpad-r294/wt/packages/cli/tests/stack-release.test.mjs:2134:9)
|
||||
at async Test.run (node:internal/test_runner/test:1409:7)
|
||||
at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) {
|
||||
generatedMessage: false,
|
||||
code: 'ERR_ASSERTION',
|
||||
actual: false,
|
||||
expected: true,
|
||||
operator: '==',
|
||||
diff: 'simple'
|
||||
}
|
||||
|
||||
test at tests/stack-release.test.mjs:2137:1
|
||||
✖ R6 a Console that does not answer /healthz gives REHEARSAL_FAIL healthz (264.915214ms)
|
||||
AssertionError [ERR_ASSERTION]: PASS copy: d4d019e3594f3aecd8e61d21da71be7e8900d2aa, schema 3g
|
||||
PASS port: 127.0.0.1:34591 is free
|
||||
PASS backup: /mnt/storage/scratch/tmp/g6exC2q/sr-fxnXNu/data/backups/stack/20261020T000000Z-d4d019e3594f matches its SHA256SUMS
|
||||
PASS scratch-root: /mnt/storage/scratch/tmp/g6exC2q/sr-fxnXNu/data/rehearsals/20261023T060508Z-d4d019e3594f/data from the backup, config and business file under /mnt/storage/scratch/tmp/g6exC2q/sr-fxnXNu/data/rehearsals/20261023T060508Z-d4d019e3594f/config, business.diff beside them
|
||||
FAIL scratch-config: Cannot find module '/mnt/storage/scratch/tmp/g6exC2q/stack-release-vxoJVb/rcopies/d4d019e3594f3aecd8e61d21da71be7e8900d2aa/packages/cli/src/access.mjs' imported from /mnt/storage/scratch/tmp/g6exC2q/stack-release-vxoJVb/rcopies/d4d019e3594f3aecd8e61d21da71be7e8900d2aa/packages/cli/src/config.mjs
|
||||
PASS backup-unchanged
|
||||
PASS live-config-unchanged
|
||||
REHEARSAL_FAIL
|
||||
rehearsal directory: /mnt/storage/scratch/tmp/g6exC2q/sr-fxnXNu/data/rehearsals/20261023T060508Z-d4d019e3594f
|
||||
|
||||
at TestContext.<anonymous> (file:///mnt/storage/scratch/launchpad-r294/wt/packages/cli/tests/stack-release.test.mjs:2141:9)
|
||||
at async Test.run (node:internal/test_runner/test:1409:7)
|
||||
at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) {
|
||||
generatedMessage: false,
|
||||
code: 'ERR_ASSERTION',
|
||||
actual: false,
|
||||
expected: true,
|
||||
operator: '==',
|
||||
diff: 'simple'
|
||||
}
|
||||
|
||||
test at tests/stack-release.test.mjs:2145:1
|
||||
✖ R7 a host on another copy fails copy-match (259.256456ms)
|
||||
AssertionError [ERR_ASSERTION]: PASS copy: 62e34e3e003a065a18c7601d8b57af548c34043f, schema 3g
|
||||
PASS port: 127.0.0.1:45705 is free
|
||||
PASS backup: /mnt/storage/scratch/tmp/g6exC2q/sr-nwNoDa/data/backups/stack/20261020T000000Z-d4d019e3594f matches its SHA256SUMS
|
||||
PASS scratch-root: /mnt/storage/scratch/tmp/g6exC2q/sr-nwNoDa/data/rehearsals/20261023T060508Z-62e34e3e003a/data from the backup, config and business file under /mnt/storage/scratch/tmp/g6exC2q/sr-nwNoDa/data/rehearsals/20261023T060508Z-62e34e3e003a/config, business.diff beside them
|
||||
FAIL scratch-config: Cannot find module '/mnt/storage/scratch/tmp/g6exC2q/stack-release-vxoJVb/rcopies/62e34e3e003a065a18c7601d8b57af548c34043f/packages/cli/src/access.mjs' imported from /mnt/storage/scratch/tmp/g6exC2q/stack-release-vxoJVb/rcopies/62e34e3e003a065a18c7601d8b57af548c34043f/packages/cli/src/config.mjs
|
||||
PASS backup-unchanged
|
||||
PASS live-config-unchanged
|
||||
REHEARSAL_FAIL
|
||||
rehearsal directory: /mnt/storage/scratch/tmp/g6exC2q/sr-nwNoDa/data/rehearsals/20261023T060508Z-62e34e3e003a
|
||||
|
||||
at TestContext.<anonymous> (file:///mnt/storage/scratch/launchpad-r294/wt/packages/cli/tests/stack-release.test.mjs:2149:9)
|
||||
at async Test.run (node:internal/test_runner/test:1409:7)
|
||||
at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) {
|
||||
generatedMessage: false,
|
||||
code: 'ERR_ASSERTION',
|
||||
actual: false,
|
||||
expected: true,
|
||||
operator: '==',
|
||||
diff: 'simple'
|
||||
}
|
||||
|
||||
test at tests/stack-release.test.mjs:2168:1
|
||||
✖ R9 mos-0963: a role reference left outside placeholders/, or left on an env variable, fails credential-ref-live before the host starts (339.787292ms)
|
||||
AssertionError [ERR_ASSERTION]: PASS copy: d4d019e3594f3aecd8e61d21da71be7e8900d2aa, schema 3g
|
||||
PASS port: 127.0.0.1:37903 is free
|
||||
PASS backup: /mnt/storage/scratch/tmp/g6exC2q/sr-JO0FqA/data/backups/stack/20261020T000000Z-d4d019e3594f matches its SHA256SUMS
|
||||
PASS scratch-root: /mnt/storage/scratch/tmp/g6exC2q/sr-JO0FqA/data/rehearsals/20261023T060509Z-d4d019e3594f/data from the backup, config and business file under /mnt/storage/scratch/tmp/g6exC2q/sr-JO0FqA/data/rehearsals/20261023T060509Z-d4d019e3594f/config, business.diff beside them
|
||||
FAIL scratch-config: Cannot find module '/mnt/storage/scratch/tmp/g6exC2q/stack-release-vxoJVb/rcopies/d4d019e3594f3aecd8e61d21da71be7e8900d2aa/packages/cli/src/access.mjs' imported from /mnt/storage/scratch/tmp/g6exC2q/stack-release-vxoJVb/rcopies/d4d019e3594f3aecd8e61d21da71be7e8900d2aa/packages/cli/src/config.mjs
|
||||
PASS backup-unchanged
|
||||
PASS live-config-unchanged
|
||||
REHEARSAL_FAIL
|
||||
rehearsal directory: /mnt/storage/scratch/tmp/g6exC2q/sr-JO0FqA/data/rehearsals/20261023T060509Z-d4d019e3594f
|
||||
|
||||
at TestContext.<anonymous> (file:///mnt/storage/scratch/launchpad-r294/wt/packages/cli/tests/stack-release.test.mjs:2177:9)
|
||||
at async Test.run (node:internal/test_runner/test:1409:7)
|
||||
at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) {
|
||||
generatedMessage: false,
|
||||
code: 'ERR_ASSERTION',
|
||||
actual: false,
|
||||
expected: true,
|
||||
operator: '==',
|
||||
diff: 'simple'
|
||||
}
|
||||
|
||||
test at tests/stack-release.test.mjs:2191:1
|
||||
✖ R10 mos-0962: a scratch business that still sets a tracker fails tracker-configured (321.198473ms)
|
||||
AssertionError [ERR_ASSERTION]: PASS copy: d4d019e3594f3aecd8e61d21da71be7e8900d2aa, schema 3g
|
||||
PASS port: 127.0.0.1:43203 is free
|
||||
PASS backup: /mnt/storage/scratch/tmp/g6exC2q/sr-QWVCyZ/data/backups/stack/20261020T000000Z-d4d019e3594f matches its SHA256SUMS
|
||||
PASS scratch-root: /mnt/storage/scratch/tmp/g6exC2q/sr-QWVCyZ/data/rehearsals/20261023T060509Z-d4d019e3594f/data from the backup, config and business file under /mnt/storage/scratch/tmp/g6exC2q/sr-QWVCyZ/data/rehearsals/20261023T060509Z-d4d019e3594f/config, business.diff beside them
|
||||
FAIL scratch-config: Cannot find module '/mnt/storage/scratch/tmp/g6exC2q/stack-release-vxoJVb/rcopies/d4d019e3594f3aecd8e61d21da71be7e8900d2aa/packages/cli/src/access.mjs' imported from /mnt/storage/scratch/tmp/g6exC2q/stack-release-vxoJVb/rcopies/d4d019e3594f3aecd8e61d21da71be7e8900d2aa/packages/cli/src/config.mjs
|
||||
PASS backup-unchanged
|
||||
PASS live-config-unchanged
|
||||
REHEARSAL_FAIL
|
||||
rehearsal directory: /mnt/storage/scratch/tmp/g6exC2q/sr-QWVCyZ/data/rehearsals/20261023T060509Z-d4d019e3594f
|
||||
|
||||
at TestContext.<anonymous> (file:///mnt/storage/scratch/launchpad-r294/wt/packages/cli/tests/stack-release.test.mjs:2199:9)
|
||||
at async Test.run (node:internal/test_runner/test:1409:7)
|
||||
at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) {
|
||||
generatedMessage: false,
|
||||
code: 'ERR_ASSERTION',
|
||||
actual: false,
|
||||
expected: true,
|
||||
operator: '==',
|
||||
diff: 'simple'
|
||||
}
|
||||
|
||||
test at tests/stack-release.test.mjs:2203:1
|
||||
✖ R11 mos-0961: a scratch config on the live data root or on any root but the scratch one, or a sessions.json naming a running pid, refuses by name (361.597504ms)
|
||||
AssertionError [ERR_ASSERTION]: PASS copy: d4d019e3594f3aecd8e61d21da71be7e8900d2aa, schema 3g
|
||||
PASS port: 127.0.0.1:46203 is free
|
||||
PASS backup: /mnt/storage/scratch/tmp/g6exC2q/sr-QghCKN/data/backups/stack/20261020T000000Z-d4d019e3594f matches its SHA256SUMS
|
||||
PASS scratch-root: /mnt/storage/scratch/tmp/g6exC2q/sr-QghCKN/data/rehearsals/20261023T060509Z-d4d019e3594f/data from the backup, config and business file under /mnt/storage/scratch/tmp/g6exC2q/sr-QghCKN/data/rehearsals/20261023T060509Z-d4d019e3594f/config, business.diff beside them
|
||||
FAIL scratch-config: Cannot find module '/mnt/storage/scratch/tmp/g6exC2q/stack-release-vxoJVb/rcopies/d4d019e3594f3aecd8e61d21da71be7e8900d2aa/packages/cli/src/access.mjs' imported from /mnt/storage/scratch/tmp/g6exC2q/stack-release-vxoJVb/rcopies/d4d019e3594f3aecd8e61d21da71be7e8900d2aa/packages/cli/src/config.mjs
|
||||
PASS backup-unchanged
|
||||
PASS live-config-unchanged
|
||||
REHEARSAL_FAIL
|
||||
rehearsal directory: /mnt/storage/scratch/tmp/g6exC2q/sr-QghCKN/data/rehearsals/20261023T060509Z-d4d019e3594f
|
||||
|
||||
at TestContext.<anonymous> (file:///mnt/storage/scratch/launchpad-r294/wt/packages/cli/tests/stack-release.test.mjs:2210:9)
|
||||
at async Test.run (node:internal/test_runner/test:1409:7)
|
||||
at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) {
|
||||
generatedMessage: false,
|
||||
code: 'ERR_ASSERTION',
|
||||
actual: false,
|
||||
expected: true,
|
||||
operator: '==',
|
||||
diff: 'simple'
|
||||
}
|
||||
|
||||
test at tests/stack-release.test.mjs:2231:1
|
||||
✖ R12 mos-0962: a notifier config with a binding fails notify-off (315.255454ms)
|
||||
AssertionError [ERR_ASSERTION]: PASS copy: d4d019e3594f3aecd8e61d21da71be7e8900d2aa, schema 3g
|
||||
PASS port: 127.0.0.1:37283 is free
|
||||
PASS backup: /mnt/storage/scratch/tmp/g6exC2q/sr-bnXlJ4/data/backups/stack/20261020T000000Z-d4d019e3594f matches its SHA256SUMS
|
||||
PASS scratch-root: /mnt/storage/scratch/tmp/g6exC2q/sr-bnXlJ4/data/rehearsals/20261023T060510Z-d4d019e3594f/data from the backup, config and business file under /mnt/storage/scratch/tmp/g6exC2q/sr-bnXlJ4/data/rehearsals/20261023T060510Z-d4d019e3594f/config, business.diff beside them
|
||||
FAIL scratch-config: Cannot find module '/mnt/storage/scratch/tmp/g6exC2q/stack-release-vxoJVb/rcopies/d4d019e3594f3aecd8e61d21da71be7e8900d2aa/packages/cli/src/access.mjs' imported from /mnt/storage/scratch/tmp/g6exC2q/stack-release-vxoJVb/rcopies/d4d019e3594f3aecd8e61d21da71be7e8900d2aa/packages/cli/src/config.mjs
|
||||
PASS backup-unchanged
|
||||
PASS live-config-unchanged
|
||||
REHEARSAL_FAIL
|
||||
rehearsal directory: /mnt/storage/scratch/tmp/g6exC2q/sr-bnXlJ4/data/rehearsals/20261023T060510Z-d4d019e3594f
|
||||
|
||||
at TestContext.<anonymous> (file:///mnt/storage/scratch/launchpad-r294/wt/packages/cli/tests/stack-release.test.mjs:2236:9)
|
||||
at async Test.run (node:internal/test_runner/test:1409:7)
|
||||
at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) {
|
||||
generatedMessage: false,
|
||||
code: 'ERR_ASSERTION',
|
||||
actual: false,
|
||||
expected: true,
|
||||
operator: '==',
|
||||
diff: 'simple'
|
||||
}
|
||||
|
||||
test at tests/stack-release.test.mjs:2259:1
|
||||
✖ R14 a host that writes the live config, the live business file or the backup fails the end check by name (266.891617ms)
|
||||
AssertionError [ERR_ASSERTION]: /mnt/storage/scratch/tmp/g6exC2q/sr-B9GExi/cfg/config.jsonPASS copy: d4d019e3594f3aecd8e61d21da71be7e8900d2aa, schema 3g
|
||||
PASS port: 127.0.0.1:36371 is free
|
||||
PASS backup: /mnt/storage/scratch/tmp/g6exC2q/sr-B9GExi/data/backups/stack/20261020T000000Z-d4d019e3594f matches its SHA256SUMS
|
||||
PASS scratch-root: /mnt/storage/scratch/tmp/g6exC2q/sr-B9GExi/data/rehearsals/20261023T060511Z-d4d019e3594f/data from the backup, config and business file under /mnt/storage/scratch/tmp/g6exC2q/sr-B9GExi/data/rehearsals/20261023T060511Z-d4d019e3594f/config, business.diff beside them
|
||||
FAIL scratch-config: Cannot find module '/mnt/storage/scratch/tmp/g6exC2q/stack-release-vxoJVb/rcopies/d4d019e3594f3aecd8e61d21da71be7e8900d2aa/packages/cli/src/access.mjs' imported from /mnt/storage/scratch/tmp/g6exC2q/stack-release-vxoJVb/rcopies/d4d019e3594f3aecd8e61d21da71be7e8900d2aa/packages/cli/src/config.mjs
|
||||
PASS backup-unchanged
|
||||
PASS live-config-unchanged
|
||||
REHEARSAL_FAIL
|
||||
rehearsal directory: /mnt/storage/scratch/tmp/g6exC2q/sr-B9GExi/data/rehearsals/20261023T060511Z-d4d019e3594f
|
||||
|
||||
+ actual - expected
|
||||
|
||||
[
|
||||
+ 'FAIL scratch-config'
|
||||
- 'FAIL live-config-unchanged'
|
||||
]
|
||||
|
||||
at TestContext.<anonymous> (file:///mnt/storage/scratch/launchpad-r294/wt/packages/cli/tests/stack-release.test.mjs:2264:10)
|
||||
at async Test.run (node:internal/test_runner/test:1409:7)
|
||||
at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) {
|
||||
generatedMessage: false,
|
||||
code: 'ERR_ASSERTION',
|
||||
actual: [ 'FAIL scratch-config' ],
|
||||
expected: [ 'FAIL live-config-unchanged' ],
|
||||
operator: 'deepStrictEqual',
|
||||
diff: 'simple'
|
||||
}
|
||||
|
||||
test at tests/stack-release.test.mjs:2270:1
|
||||
✖ R15 a rehearsal stopped by TERM, INT or HUP fails signal and still stops the host and Console and runs the end checks (255.998581ms)
|
||||
AssertionError [ERR_ASSERTION]: SIGTERMPASS copy: d4d019e3594f3aecd8e61d21da71be7e8900d2aa, schema 3g
|
||||
PASS port: 127.0.0.1:40583 is free
|
||||
PASS backup: /mnt/storage/scratch/tmp/g6exC2q/sr-fcuE2e/data/backups/stack/20261020T000000Z-d4d019e3594f matches its SHA256SUMS
|
||||
PASS scratch-root: /mnt/storage/scratch/tmp/g6exC2q/sr-fcuE2e/data/rehearsals/20261023T060511Z-d4d019e3594f/data from the backup, config and business file under /mnt/storage/scratch/tmp/g6exC2q/sr-fcuE2e/data/rehearsals/20261023T060511Z-d4d019e3594f/config, business.diff beside them
|
||||
FAIL scratch-config: Cannot find module '/mnt/storage/scratch/tmp/g6exC2q/stack-release-vxoJVb/rcopies/d4d019e3594f3aecd8e61d21da71be7e8900d2aa/packages/cli/src/access.mjs' imported from /mnt/storage/scratch/tmp/g6exC2q/stack-release-vxoJVb/rcopies/d4d019e3594f3aecd8e61d21da71be7e8900d2aa/packages/cli/src/config.mjs
|
||||
PASS backup-unchanged
|
||||
PASS live-config-unchanged
|
||||
REHEARSAL_FAIL
|
||||
rehearsal directory: /mnt/storage/scratch/tmp/g6exC2q/sr-fcuE2e/data/rehearsals/20261023T060511Z-d4d019e3594f
|
||||
|
||||
+ actual - expected
|
||||
|
||||
[
|
||||
'PASS copy',
|
||||
'PASS port',
|
||||
'PASS backup',
|
||||
'PASS scratch-root',
|
||||
+ 'FAIL scratch-config',
|
||||
- 'PASS data-root-live',
|
||||
- 'PASS sessions-live',
|
||||
- 'PASS data-root-scratch',
|
||||
- 'PASS notify-off',
|
||||
- 'PASS tracker-configured',
|
||||
- 'PASS credential-ref-live',
|
||||
- 'PASS migration',
|
||||
- 'FAIL signal',
|
||||
- 'PASS console-stopped',
|
||||
- 'PASS host-stopped',
|
||||
- 'PASS host-released-store',
|
||||
'PASS backup-unchanged',
|
||||
'PASS live-config-unchanged'
|
||||
]
|
||||
|
||||
at TestContext.<anonymous> (file:///mnt/storage/scratch/launchpad-r294/wt/packages/cli/tests/stack-release.test.mjs:2277:10)
|
||||
at async Test.run (node:internal/test_runner/test:1409:7)
|
||||
at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) {
|
||||
generatedMessage: false,
|
||||
code: 'ERR_ASSERTION',
|
||||
actual: [ 'PASS copy', 'PASS port', 'PASS backup', 'PASS scratch-root', 'FAIL scratch-config', 'PASS backup-unchanged', 'PASS live-config-unchanged' ],
|
||||
expected: [ 'PASS copy', 'PASS port', 'PASS backup', 'PASS scratch-root', 'PASS data-root-live', 'PASS sessions-live', 'PASS data-root-scratch', 'PASS notify-off', 'PASS tracker-configured', 'PASS credential-ref-live', 'PASS migration', 'FAIL signal', 'PASS console-stopped', 'PASS host-stopped', 'PASS host-released-store', 'PASS backup-unchanged', 'PASS live-config-unchanged' ],
|
||||
operator: 'deepStrictEqual',
|
||||
diff: 'simple'
|
||||
}
|
||||
|
||||
test at tests/stack-release.test.mjs:2293:1
|
||||
✖ row 233: --backup last takes the newest backup the log records; a later line with backup null does not hide it, and the store line names it (296.220218ms)
|
||||
AssertionError [ERR_ASSERTION]: PASS backup-last: the log's newest backup is 20261020T000000Z-d4d019e3594f
|
||||
PASS copy: d4d019e3594f3aecd8e61d21da71be7e8900d2aa, schema 3g
|
||||
PASS port: 127.0.0.1:45521 is free
|
||||
PASS backup: /mnt/storage/scratch/tmp/g6exC2q/sr-aiaiqc/data/backups/stack/20261020T000000Z-d4d019e3594f matches its SHA256SUMS
|
||||
PASS scratch-root: /mnt/storage/scratch/tmp/g6exC2q/sr-aiaiqc/data/rehearsals/20261023T060511Z-d4d019e3594f/data from the backup, config and business file under /mnt/storage/scratch/tmp/g6exC2q/sr-aiaiqc/data/rehearsals/20261023T060511Z-d4d019e3594f/config, business.diff beside them
|
||||
FAIL scratch-config: Cannot find module '/mnt/storage/scratch/tmp/g6exC2q/stack-release-vxoJVb/rcopies/d4d019e3594f3aecd8e61d21da71be7e8900d2aa/packages/cli/src/access.mjs' imported from /mnt/storage/scratch/tmp/g6exC2q/stack-release-vxoJVb/rcopies/d4d019e3594f3aecd8e61d21da71be7e8900d2aa/packages/cli/src/config.mjs
|
||||
PASS backup-unchanged
|
||||
PASS live-config-unchanged
|
||||
REHEARSAL_FAIL
|
||||
rehearsal directory: /mnt/storage/scratch/tmp/g6exC2q/sr-aiaiqc/data/rehearsals/20261023T060511Z-d4d019e3594f
|
||||
|
||||
|
||||
1 !== 0
|
||||
|
||||
at TestContext.<anonymous> (file:///mnt/storage/scratch/launchpad-r294/wt/packages/cli/tests/stack-release.test.mjs:2299:9)
|
||||
at async Test.run (node:internal/test_runner/test:1409:7)
|
||||
at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) {
|
||||
generatedMessage: false,
|
||||
code: 'ERR_ASSERTION',
|
||||
actual: 1,
|
||||
expected: 0,
|
||||
operator: 'strictEqual',
|
||||
diff: 'simple'
|
||||
}
|
||||
|
||||
test at tests/stack-release.test.mjs:2589:43
|
||||
✖ socket copy (260.302823ms)
|
||||
AssertionError [ERR_ASSERTION]: PASS copy: d4d019e3594f3aecd8e61d21da71be7e8900d2aa, schema 3g
|
||||
PASS port: 127.0.0.1:44555 is free
|
||||
PASS backup: /mnt/storage/scratch/tmp/g6exC2q/sr-srFiMG/data/backups/stack/20261020T000000Z-d4d019e3594f matches its SHA256SUMS
|
||||
PASS scratch-root: /mnt/storage/scratch/tmp/g6exC2q/sr-srFiMG/data/rehearsals/20261023T060549Z-d4d019e3594f/data from the backup, config and business file under /mnt/storage/scratch/tmp/g6exC2q/sr-srFiMG/data/rehearsals/20261023T060549Z-d4d019e3594f/config, business.diff beside them
|
||||
FAIL scratch-config: Cannot find module '/mnt/storage/scratch/tmp/g6exC2q/stack-release-vxoJVb/rcopies/d4d019e3594f3aecd8e61d21da71be7e8900d2aa/packages/cli/src/access.mjs' imported from /mnt/storage/scratch/tmp/g6exC2q/stack-release-vxoJVb/rcopies/d4d019e3594f3aecd8e61d21da71be7e8900d2aa/packages/cli/src/config.mjs
|
||||
PASS backup-unchanged
|
||||
PASS live-config-unchanged
|
||||
REHEARSAL_FAIL
|
||||
rehearsal directory: /mnt/storage/scratch/tmp/g6exC2q/sr-srFiMG/data/rehearsals/20261023T060549Z-d4d019e3594f
|
||||
|
||||
|
||||
1 !== 0
|
||||
|
||||
at TestContext.<anonymous> (file:///mnt/storage/scratch/launchpad-r294/wt/packages/cli/tests/stack-release.test.mjs:2592:86)
|
||||
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
|
||||
at async Test.run (node:internal/test_runner/test:1409:7)
|
||||
at async TestContext.<anonymous> (file:///mnt/storage/scratch/launchpad-r294/wt/packages/cli/tests/stack-release.test.mjs:2589:35)
|
||||
at async Test.run (node:internal/test_runner/test:1409:7)
|
||||
at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) {
|
||||
generatedMessage: false,
|
||||
code: 'ERR_ASSERTION',
|
||||
actual: 1,
|
||||
expected: 0,
|
||||
operator: 'strictEqual',
|
||||
diff: 'simple'
|
||||
}
|
||||
|
||||
test at tests/stack-release.test.mjs:2589:43
|
||||
✖ legacy copy (254.164814ms)
|
||||
AssertionError [ERR_ASSERTION]: PASS copy: d4d019e3594f3aecd8e61d21da71be7e8900d2aa, schema 3g
|
||||
PASS port: 127.0.0.1:34283 is free
|
||||
PASS backup: /mnt/storage/scratch/tmp/g6exC2q/sr-32Tddm/data/backups/stack/20261020T000000Z-d4d019e3594f matches its SHA256SUMS
|
||||
PASS scratch-root: /mnt/storage/scratch/tmp/g6exC2q/sr-32Tddm/data/rehearsals/20261023T060550Z-d4d019e3594f/data from the backup, config and business file under /mnt/storage/scratch/tmp/g6exC2q/sr-32Tddm/data/rehearsals/20261023T060550Z-d4d019e3594f/config, business.diff beside them
|
||||
FAIL scratch-config: Cannot find module '/mnt/storage/scratch/tmp/g6exC2q/stack-release-vxoJVb/rcopies/d4d019e3594f3aecd8e61d21da71be7e8900d2aa/packages/cli/src/access.mjs' imported from /mnt/storage/scratch/tmp/g6exC2q/stack-release-vxoJVb/rcopies/d4d019e3594f3aecd8e61d21da71be7e8900d2aa/packages/cli/src/config.mjs
|
||||
PASS backup-unchanged
|
||||
PASS live-config-unchanged
|
||||
REHEARSAL_FAIL
|
||||
rehearsal directory: /mnt/storage/scratch/tmp/g6exC2q/sr-32Tddm/data/rehearsals/20261023T060550Z-d4d019e3594f
|
||||
|
||||
|
||||
1 !== 0
|
||||
|
||||
at TestContext.<anonymous> (file:///mnt/storage/scratch/launchpad-r294/wt/packages/cli/tests/stack-release.test.mjs:2592:86)
|
||||
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
|
||||
at async Test.run (node:internal/test_runner/test:1409:7)
|
||||
at async TestContext.<anonymous> (file:///mnt/storage/scratch/launchpad-r294/wt/packages/cli/tests/stack-release.test.mjs:2589:35)
|
||||
at async Test.run (node:internal/test_runner/test:1409:7)
|
||||
at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) {
|
||||
generatedMessage: false,
|
||||
code: 'ERR_ASSERTION',
|
||||
actual: 1,
|
||||
expected: 0,
|
||||
operator: 'strictEqual',
|
||||
diff: 'simple'
|
||||
}
|
||||
Executable
+35
@@ -0,0 +1,35 @@
|
||||
#!/usr/bin/env bash
|
||||
# Row 294 gate run 3, sage-3199: npm ci (root and packages/webui), suites whole, every
|
||||
# scripts/test-*.sh, then the mutants. Stops at the first red. FROM=<step> resumes at a step
|
||||
# (the mos-1411 single cli rerun uses FROM=cli TAG=-rerun).
|
||||
set -u -o pipefail
|
||||
WT=/mnt/storage/scratch/launchpad-r294/wt
|
||||
OUT=/mnt/storage/scratch/launchpad-r294/run3
|
||||
FROM=${FROM:-npm-root}; TAG=${TAG:-}
|
||||
export TMPDIR=$(mktemp -d /mnt/storage/scratch/tmp/gXXXXXX)
|
||||
echo "start $(date -u +%H:%M:%SZ) FROM=$FROM TAG=$TAG TMPDIR $TMPDIR head $(git -C $WT rev-parse HEAD)" >> $OUT/summary.txt
|
||||
[ -z "$(git -C $WT status --porcelain)" ] || { echo "STOP worktree not clean" | tee -a $OUT/summary.txt; exit 9; }
|
||||
on=0
|
||||
step() { # name limit dir cmd...
|
||||
local name=$1 limit=$2 dir=$3; shift 3
|
||||
[ $on = 1 ] || [ $name = $FROM ] || return 0; on=1
|
||||
local t0=$(date +%s%N)
|
||||
( cd $dir && timeout -k 10 $limit "$@" ) > $OUT/$name$TAG.log 2>&1
|
||||
local rc=$?
|
||||
local ms=$(( ($(date +%s%N) - t0) / 1000000 )); local dt=$((ms/1000)).$(printf %03d $((ms%1000)))
|
||||
echo "$name$TAG rc=$rc seconds=$dt limit=$limit $(date -u +%H:%M:%SZ)" | tee -a $OUT/summary.txt
|
||||
[ $rc -eq 0 ] || { echo "STOP at $name$TAG" | tee -a $OUT/summary.txt; exit $rc; }
|
||||
}
|
||||
step npm-root 900 $WT npm ci --ignore-scripts
|
||||
step npm-webui 900 $WT/packages/webui npm ci --ignore-scripts
|
||||
step webui 600 $WT/packages/webui node --test tests/
|
||||
step cli 2100 $WT/packages/cli node --test tests/*.test.mjs
|
||||
step bus 900 $WT/packages/bus node --test tests/*.test.mjs
|
||||
declare -A L=([auth]=126 [conductor]=145 [config]=130 [discord]=147 [extension-package]=130 [foundation]=269 [land-work]=171 [queue]=226 [release]=157 [task]=231)
|
||||
for s in auth conductor config discord extension-package foundation land-work queue release task; do
|
||||
step test-$s ${L[$s]} $WT bash scripts/test-$s.sh
|
||||
done
|
||||
[ -z "$(git -C $WT status --porcelain)" ] || { echo "STOP worktree dirty after the scripts" | tee -a $OUT/summary.txt; git -C $WT status --porcelain >> $OUT/summary.txt; exit 9; }
|
||||
echo "SUITES GREEN $(date -u +%H:%M:%SZ)" | tee -a $OUT/summary.txt
|
||||
python3 -B $OUT/mutants.py
|
||||
rc=$?; echo "MUTANTS rc=$rc $(date -u +%H:%M:%SZ)" | tee -a $OUT/summary.txt; exit $rc
|
||||
@@ -0,0 +1,81 @@
|
||||
#!/usr/bin/env python3
|
||||
# Row 294 mutants M1-M11 (BUILD.md "Mutants"). Each mutant edits the worktree (every old text must
|
||||
# match exactly once), runs its killing file alone under timeout -k 10 300 with the TAP reporter,
|
||||
# then restores with git checkout and checks the tree is clean. Killed = the named killing test(s)
|
||||
# report "not ok". M1 also needs G5 "ok" in the same run (Duckworth C1).
|
||||
import json, os, re, subprocess, sys, time
|
||||
|
||||
WT = '/mnt/storage/scratch/launchpad-r294/wt'
|
||||
OUT = '/mnt/storage/scratch/launchpad-r294/run3'
|
||||
GU = ('packages/webui', 'tests/granted-user.test.mjs')
|
||||
AB = ('packages/cli', 'tests/access-boot.test.mjs')
|
||||
|
||||
CHAT_CALL = "verb === 'plugins' ? owner('plugins', {}) : call(verb, args)"
|
||||
MUTANTS = [
|
||||
('M1', [('packages/webui/src/serve.mjs', "if (!userRoute(path, req.method)) return json(res, 403, { error: 'owner-only'",
|
||||
"if (false) return json(res, 403, { error: 'owner-only'")], GU, ['R6 G4'], ['R6 G5']),
|
||||
('M2', [('packages/webui/src/sso.mjs', "if (s.user !== undefined && !users?.check(s)) {", "if (s.user !== undefined && false) {")], GU, ['R6 G3'], []),
|
||||
('M3', [('packages/webui/src/public/user.html', "but not your messages.", "but not your replies.")], GU, ['R6 G6'], []),
|
||||
('M4', [('packages/cli/src/access.mjs', "const peers = (system.federation?.peers ?? []).map((p) => p.id);", "const peers = [];")], AB,
|
||||
['R6 a configured peer id', 'R6 B1'], []),
|
||||
('M5', [('packages/webui/src/access.mjs', "return user && live(doc, user.id, b) ? user.id : null;", "return user ? user.id : null;")], GU, ['R6 G2'], []),
|
||||
('M6', [('packages/webui/src/user-bus.mjs', "env: { ...rest, MOSAIC_BUS_USER_NONCE", "env: { ...env, MOSAIC_BUS_USER_NONCE")], GU, ['R6 G8'], []),
|
||||
('M7', [('packages/cli/src/config.mjs', " if (access) config.access = access;\n", "")], AB, ['R6 B1'], []),
|
||||
('M8', [('packages/webui/src/chat.mjs', CHAT_CALL,
|
||||
"verb === 'plugins' ? owner('plugins', {}) : verb === 'thread.list' ? owner(verb, args) : call(verb, args)")], GU, ['R6 G9'], []),
|
||||
('M9', [('packages/cli/src/config.mjs', " warn(`access file refused at boot (${code}), no granted user binds until it is fixed: ${file}`);\n", "")],
|
||||
AB, ['R6 B3'], []),
|
||||
('M10', [('packages/webui/src/console-bus.mjs', "return session => consoleBus(transport(session.user), { send, owner });",
|
||||
"return session => consoleBus(transport(session.user), { send, owner: (v, a) => owner(v, { ...a, sub: session.sub }) });")], GU, ['R6 G9'], []),
|
||||
('M11', [('packages/webui/src/chat.mjs', "const dispatch = createChannelCaller({ name: 'webui', call: owner === null ? call : (verb, args) => " + CHAT_CALL + " });",
|
||||
"let last = {};\n const dispatch = createChannelCaller({ name: 'webui', call: owner === null ? call : (verb, args) => verb === 'plugins' ? owner('plugins', last) : call(verb, args) });"),
|
||||
('packages/webui/src/chat.mjs', " try { return await dispatch(verb, args); }", " try { last = args; return await dispatch(verb, args); }")], GU, ['R6 G9'], []),
|
||||
]
|
||||
|
||||
def git(*a):
|
||||
return subprocess.run(['git', '-C', WT, *a], capture_output=True, text=True, check=True).stdout
|
||||
|
||||
def restore(files):
|
||||
if files: git('checkout', '--', *sorted(files))
|
||||
if git('status', '--porcelain'): raise SystemExit('worktree not clean after restore')
|
||||
|
||||
def results(tap):
|
||||
# Top-level TAP test lines: "ok N - name" / "not ok N - name" at no indentation.
|
||||
return {m.group(2): m.group(1) == 'ok' for m in re.finditer(r'^(ok|not ok) \d+ - (.*)$', tap, re.M)}
|
||||
|
||||
def main():
|
||||
only = sys.argv[1:]
|
||||
if git('status', '--porcelain'): raise SystemExit('worktree not clean at start')
|
||||
env = dict(os.environ)
|
||||
summary, bad = [], 0
|
||||
for mid, edits, (pkg, test), killers, greens in MUTANTS:
|
||||
if only and mid not in only: continue
|
||||
files = set()
|
||||
try:
|
||||
for path, old, new in edits:
|
||||
p = os.path.join(WT, path); s = open(p).read()
|
||||
if s.count(old) != 1: raise SystemExit(f'{mid}: anchor count {s.count(old)} in {path}')
|
||||
open(p, 'w').write(s.replace(old, new)); files.add(path)
|
||||
diff = git('diff')
|
||||
t0 = time.time()
|
||||
r = subprocess.run(['timeout', '-k', '10', '300', 'node', '--test', '--test-reporter=tap', test],
|
||||
cwd=os.path.join(WT, pkg), capture_output=True, text=True, env=env)
|
||||
dt = round(time.time() - t0, 1)
|
||||
finally:
|
||||
restore(files)
|
||||
open(f'{OUT}/{mid}.diff', 'w').write(diff)
|
||||
open(f'{OUT}/{mid}.tap', 'w').write(r.stdout + '\n# stderr\n' + r.stderr)
|
||||
res = results(r.stdout)
|
||||
hit = lambda pre: [n for n, ok in res.items() if n.startswith(pre)]
|
||||
red = [n for n, ok in res.items() if not ok]
|
||||
killed = r.returncode not in (0, 124, 137) and all(any(not res[n] for n in hit(k)) for k in killers) \
|
||||
and all(hit(g) and all(res[n] for n in hit(g)) for g in greens)
|
||||
bad += not killed
|
||||
line = f'{mid} rc={r.returncode} seconds={dt} killed={killed} red={red}'
|
||||
print(line, flush=True)
|
||||
summary.append({'mutant': mid, 'rc': r.returncode, 'seconds': dt, 'killed': killed, 'red': red,
|
||||
'killers': killers, 'greens': greens})
|
||||
json.dump(summary, open(f'{OUT}/mutants.json', 'w'), indent=1)
|
||||
sys.exit(1 if bad else 0)
|
||||
|
||||
main()
|
||||
@@ -0,0 +1,6 @@
|
||||
start 05:55:46Z FROM=npm-root TAG= TMPDIR /mnt/storage/scratch/tmp/g6exC2q head f265840892582e93dd9e0df794b041fa44a65cc9
|
||||
npm-root rc=0 seconds=2.205 limit=900 05:55:48Z
|
||||
npm-webui rc=0 seconds=2.210 limit=900 05:55:50Z
|
||||
webui rc=0 seconds=58.248 limit=600 05:56:48Z
|
||||
cli rc=1 seconds=541.546 limit=2100 06:05:50Z
|
||||
STOP at cli
|
||||
@@ -0,0 +1,398 @@
|
||||
✔ row 194 T16 Settings Agents: unavailable read-only, launch follows its request, confirms, reason and refusal (16720.521143ms)
|
||||
✔ row 256 T7 T8 the human page offers Delete on a creative instance, the tester page never does (2852.289705ms)
|
||||
✔ row 194 T16: each agent action makes one call with only its keys, logs the user and answers the request (44.263887ms)
|
||||
✔ row 194 T16: the boundary refuses before any bus call (24.767569ms)
|
||||
✔ row 194 T16: read-only when send is off or no writer is wired; no route has a --send exception (13.994313ms)
|
||||
✔ row 194 T16: a bus refusal names its reason and nothing changed; an unknown outcome or a bad shape is never retried (9.155566ms)
|
||||
✔ row 194 T16: the request read takes one id, adds the refusal reason and refuses an unexpected shape (14.564434ms)
|
||||
✔ row 194 T16: delete joins add and change on /api/instances with only revision, instance and op (7.253291ms)
|
||||
✔ row 194 T16 D4.1: the tester listener launches, terminates and reads requests; regenerate, veto and delete are refused with no call (11.162178ms)
|
||||
✔ row 194 N5: agents.js is served as JavaScript and index.html loads it once (30.106713ms)
|
||||
✔ Q169 the signed-in human names a seat and stops the assistant, one bus call each, logged with the user (40.050689ms)
|
||||
✔ Q169 the name and stop routes need send on, the public name, the user, the exact Origin and same-origin Fetch Metadata (19.272954ms)
|
||||
✔ Q169 the name and stop routes take JSON within 4 KiB and only their own keys, all text (11.282795ms)
|
||||
✔ Row 167 a null body on the name and stop routes is 400 invalid-request with no write, and the next request is answered (4.994216ms)
|
||||
✔ Q169 a bus refusal says nothing changed; a lost or odd answer says the change may have been made (12.379465ms)
|
||||
✔ Q169 the names read is a bus read like the others (2.865136ms)
|
||||
✔ the Board: held roles with no machine sessions, a claim with no address, the toggle kept across a reload, and Message addressed to the role (5737.182545ms)
|
||||
✔ a Seen click while a Board read is in flight waits for that read, then posts (3195.611274ms)
|
||||
✔ a redirect answer on a Board read, a bus read, a conversation read, a board POST, a module read and a send signs the page out: one line, nothing stale, no further reads (10520.973395ms)
|
||||
✔ browser edge states: loading, empty, malformed, stale, hostile/long values, in-flight reply and appearance fallback (4062.134308ms)
|
||||
Rendered contrast: {"failures":[],"count":330,"lowest":4.504658476260286}
|
||||
✔ served Console browser: real board fixtures, keyboard, drafts, receipts, themes, 320px and failures (4765.269731ms)
|
||||
✔ the README says a refused field table names the file or the key at fault, never a path (1.548276ms)
|
||||
✔ S5 pages in a browser: real broker rows, inert text, Copy, routes, failures, layout and no writes (12822.589993ms)
|
||||
✔ bus routes serve the four reads from the reader view, unescaped JSON for the page to escape (274.981733ms)
|
||||
✔ decisions route serves the roles and recent lists from the reader view (951.179295ms)
|
||||
✔ credentials route serves the broker credential status from the reader view (373.299586ms)
|
||||
✔ replies route serves the replies to one message from the reader view (576.340048ms)
|
||||
✔ bus routes are GET-only, have no write verb, and keep the same-origin checks (409.499347ms)
|
||||
✔ bus refusals map to statuses and never carry a path or a stack (96.876034ms)
|
||||
✔ humanCall speaks the human transport protocol without blocking the server (2873.709982ms)
|
||||
✔ busReader takes --business, else the live bus host, else refuses (657.2204ms)
|
||||
✔ humanCall kills a transport that runs past its timeout (545.733473ms)
|
||||
✔ serve refuses a --business value that is not a business id (1007.016245ms)
|
||||
✔ WebUI channel off returns 503 and named recovery for every chat route without a chat operation (64.000782ms)
|
||||
✔ WebUI only selection keeps web chat enabled while retaining the old read envelope (9.90156ms)
|
||||
✔ WebUI channel-disabled recovery text is fixed and never echoes transport text (4.892393ms)
|
||||
✔ chat browser: list/create named projects and threads, hostile labels inert and no implicit writes (2698.78817ms)
|
||||
✔ chat browser: thread drafts, receipts and cursor history stay isolated; refresh never writes (3465.806245ms)
|
||||
✔ chat browser: uncertain writes retain draft, ownership refusal clears it, read-only cannot send (2702.258947ms)
|
||||
✔ chat browser: a late read from A cannot paint B; sign-out clears private state and stops reads (3063.331627ms)
|
||||
✔ chat browser: page forward and deduplicate replies; pending and byte-limit submissions do not duplicate (2245.473621ms)
|
||||
✔ chat browser: scrolled history stays put, New messages and an own send return to the tail (2501.795942ms)
|
||||
✔ chat browser: automatic polling follows a reply without a POST or a lost draft (11909.934403ms)
|
||||
✔ chat browser: display stays bounded while every forward page remains reachable (2289.281059ms)
|
||||
✔ chat browser: a confirmed visible message replaces its pending receipt; malformed receipts stay unknown (1563.981695ms)
|
||||
✔ chat browser: a refusal elsewhere forgets private chat drafts (1556.414937ms)
|
||||
✔ chat browser: a late project creation receipt cannot navigate away from another thread (1250.044689ms)
|
||||
✔ chat reads map only fixed verbs, strict forward paging and pure GET (47.806243ms)
|
||||
✔ chat refuses malformed and repeated query/id values before transport (15.670005ms)
|
||||
✔ chat project.create: one verified write, fixed identity/class and private log (9.157717ms)
|
||||
✔ chat project.create: each existing Console write fence makes zero bus calls (23.018108ms)
|
||||
✔ chat project.create: refusal or lost/malformed receipt never retries or invents success (10.631623ms)
|
||||
✔ chat thread.create: one verified write, fixed identity/class and private log (3.12818ms)
|
||||
✔ chat thread.create: each existing Console write fence makes zero bus calls (18.351076ms)
|
||||
✔ chat thread.create: refusal or lost/malformed receipt never retries or invents success (16.198408ms)
|
||||
✔ chat thread.send: one verified write, fixed identity/class and private log (2.931924ms)
|
||||
✔ chat thread.send: each existing Console write fence makes zero bus calls (11.100991ms)
|
||||
✔ chat thread.send: refusal or lost/malformed receipt never retries or invents success (15.246593ms)
|
||||
✔ chat thread.open: one verified write, fixed identity/class and private log (2.362502ms)
|
||||
✔ chat thread.open: each existing Console write fence makes zero bus calls (36.439667ms)
|
||||
✔ chat thread.open: refusal or lost/malformed receipt never retries or invents success (60.012186ms)
|
||||
✔ chat createThread receipt requires an instance even when its id is valid (5.521269ms)
|
||||
✔ chat write receipts expose only the fields belonging to their operation (12.998722ms)
|
||||
✔ chat validates names, body, project and strict empty open payload (18.76858ms)
|
||||
✔ chat read failures redact ownership and refuse invalid transport arrays (81.075413ms)
|
||||
✔ REQ-USER-2 real broker: owned catalog, create/name/filter, isolated history and 403/404 without mutations (2093.207514ms)
|
||||
✔ chat repeats every POST boundary even when called behind an admitted request (9.410724ms)
|
||||
✔ configured Console process injects chat through its existing human transport (1026.519709ms)
|
||||
✔ chat assets, GET purity, method and unknown-route refusals are explicit (50.085764ms)
|
||||
✔ the chat seam names the transport it is given: the human one and the tester one both pass, anything else is a TypeError (1.552402ms)
|
||||
✔ conversation view: full history, collapsed tools, hidden thinking, inert hostile content, malformed and reconcile markers (3428.989303ms)
|
||||
✔ conversation view: a fork keeps the open branch, says so, and opens the new one on request (4257.61001ms)
|
||||
✔ conversation view: a newer session with no readable history keeps the marker (2730.88369ms)
|
||||
✔ conversation view: seats without history say so and offer no reply (2555.490105ms)
|
||||
✔ Discord row through real board/WebUI: independent brake/liveness, no Reply, literal content (5135.219765ms)
|
||||
✔ the editor: the list, hostile markdown that runs nothing, the draft, and each save receipt (5117.140341ms)
|
||||
✔ the Console's CSP stands and the editor runs under it; hostile markdown on the load path runs and loads nothing (3810.19765ms)
|
||||
✔ hostile content pasted into the editor runs and loads nothing, and a bad link target is refused in the link bar (3350.615142ms)
|
||||
✔ a pasted image span is kept only for a target the link gate accepts, and a save writes only those (2660.570821ms)
|
||||
✔ a switch of view reads nothing; a reload, and a trip away and back, each read the file exactly once (4912.983805ms)
|
||||
✔ an edit rewrites only the block touched; a save sends the rest byte for byte; the Source view carries the draft (3047.926419ms)
|
||||
✔ a file the editor cannot write back byte for byte opens as Source, says so, cannot save, and the Visual button works once it can (4172.092495ms)
|
||||
✔ a link title pasted with line breaks in it is written on one line, so no HTML block comes of it (1873.293983ms)
|
||||
✔ an image alt pasted with line breaks in it is written on one line, so no HTML block comes of it (1618.078827ms)
|
||||
✔ an image title pasted with line breaks in it is written on one line, so no HTML block comes of it (1494.351085ms)
|
||||
✔ a code block info string pasted with line breaks in it is written on one line, so no HTML block comes of it (1166.0551ms)
|
||||
✔ a link title holding a quote after a backslash then a tag is written with the backslash escaped, so the title stays closed (2428.660903ms)
|
||||
✔ an image title holding a quote after a backslash then a tag is written with the backslash escaped, so the title stays closed (1724.288739ms)
|
||||
✔ a link title holding a trailing backslash is written with the backslash escaped, so the title stays closed (1547.539704ms)
|
||||
✔ an image title holding a trailing backslash is written with the backslash escaped, so the title stays closed (1162.149461ms)
|
||||
✔ a code block info string with a backtick, pasted, is dropped on Save, so the fence stays closed (988.925646ms)
|
||||
✔ a code block info string with a backtick, as a tilde fence can have, is kept as source, not rewritten without it (842.809992ms)
|
||||
✔ the imported source is the tagged upstream source plus the recorded local changes, and nothing else (75.543324ms)
|
||||
✔ every package names its origin and license, and NOTICE lists each (1.110618ms)
|
||||
✔ the build reads only imported source and the editor's own files; the bundle is the recorded build (12.903261ms)
|
||||
✔ MOSAIC_REQUIRE_EDITOR_BUILD: a missing or wrong esbuild skips without it and fails with it; a wrong binary always fails (95.305213ms)
|
||||
✔ the toolchain check, run as a program, exits non-zero without esbuild when the build is required (1874.081911ms)
|
||||
▲ [WARNING] Ignoring this import because "third_party/editor/prosemirror-transform/src/mark.ts" was marked as having no side effects [ignored-bare-import]
|
||||
|
||||
third_party/editor/prosemirror-transform/src/index.ts:10:7:
|
||||
10 │ import "./mark"
|
||||
╵ ~~~~~~~~
|
||||
|
||||
"sideEffects" is false in the enclosing "package.json" file:
|
||||
|
||||
third_party/editor/prosemirror-transform/package.json:13:2:
|
||||
13 │ "sideEffects": false,
|
||||
╵ ~~~~~~~~~~~~~
|
||||
|
||||
✔ rebuilding from the source gives the same bytes (needs the pinned esbuild; MOSAIC_REQUIRE_EDITOR_BUILD=1 makes its absence a failure) (476.810244ms)
|
||||
✔ the editor routes serve the built files with their types and no cache (161.579863ms)
|
||||
✔ open and save with no edit writes the same bytes: the goals review and a doc with every element (97.514253ms)
|
||||
✔ open and save with no edit writes the same bytes: every repository doc under docs/ and spec/ (7764.590067ms)
|
||||
✔ the editor source builds markup only with DOM calls, and the bundle has no eval (4.954503ms)
|
||||
✔ the link gate and the image rule are the preview's (4.139233ms)
|
||||
✔ R6 G1 a granted user signs in, gets the user page and reaches the broker as itself (1316.977947ms)
|
||||
▶ R6 G2 a subject with no live grant in this business is refused subject-unknown
|
||||
✔ a listed user with no grant (824.475999ms)
|
||||
✔ a grant in another business (523.520932ms)
|
||||
✔ an expired grant (296.216812ms)
|
||||
✔ another user's grant (388.90561ms)
|
||||
✔ a sub in no file (388.51449ms)
|
||||
✔ a file the loader refuses (507.682985ms)
|
||||
✔ R6 G2 a subject with no live grant in this business is refused subject-unknown (2931.971402ms)
|
||||
▶ R6 G3 a revoke counts on the next request: 401 and the session is gone
|
||||
✔ grant removed (357.100075ms)
|
||||
✔ subject removed (319.782039ms)
|
||||
✔ grant expired (210.53958ms)
|
||||
✔ file now refused (398.324268ms)
|
||||
✔ R6 G3 a revoke counts on the next request: 401 and the session is gone (1287.842624ms)
|
||||
✔ R6 G4 every owner route answers 403 owner-only before any bus call (496.654858ms)
|
||||
✔ R6 G5 the bus refuses every owner verb over the user transport on its own (460.217578ms)
|
||||
✔ R6 G9 a user chat sends only the plugins read over the owner transport (356.084377ms)
|
||||
✔ R6 G6 the user page holds the notice word for word (198.72429ms)
|
||||
✔ R6 G7 the hub label and plain peer links render from config on both pages (2799.705194ms)
|
||||
✔ R6 G8 userCall spawns user-cli directly with the user nonce, no human nonce, and the user request (191.000701ms)
|
||||
✔ return flow through the conversation view: send, tool call, delayed result, peer message, exact long answers, relaunch (53790.304186ms)
|
||||
✔ row 165 Settings: role instances read, add with a restart named, change without one, a refusal keeps the draft (5167.475123ms)
|
||||
✔ row 165 Console: the signed-in human adds an instance through a real broker; validate exits 0, the log names the human and no restart is needed (row 194) (1132.361479ms)
|
||||
✔ row 165 Console: the instance write needs send on, the public name, the user, the exact Origin and same-origin Fetch Metadata (32.171901ms)
|
||||
✔ row 165 Console: the instance write takes JSON within 16 KiB and only its own keys; holder, credentials and an actor are refused (41.99937ms)
|
||||
✔ row 165 Console: a bus refusal says nothing changed; a lost or odd answer says the change may have been made (59.978508ms)
|
||||
✔ row 165 Console: the instances read takes no arguments, needs a bus and refuses an answer without a revision (22.608682ms)
|
||||
✔ C2-04 CLI: both listener callback pairs dispatch library verbs with their own transport (675.474919ms)
|
||||
✔ row 254: each library sync code maps to its status (1.109598ms)
|
||||
✔ REQ-LIMIT-3 REQ-LIMIT-4 Settings shows token limits counted, not enforced and check failed; Reset posts one path; a save keeps the token limits (5088.145963ms)
|
||||
✔ Row 167 with an assistant draft open, a token limit reset gives the assistant submit its revision (2992.385147ms)
|
||||
✔ REQ-LIMIT-3 limits read returns only the token rows; no query or write is accepted (69.276708ms)
|
||||
✔ REQ-LIMIT-3 a limits answer without a token list is refused, not shown as no limits (26.410715ms)
|
||||
2026-10-23T05:55:56.654Z settings user="jason" changed
|
||||
✔ REQ-LIMIT-3 a Settings reset reaches the human write with its paths; a reset alone is enough (33.515226ms)
|
||||
✔ REQ-LIMIT-3 the Console reader asks the bus limits verb with no arguments (0.445728ms)
|
||||
✔ the preview source names none of the four string-to-markup sinks (11.337961ms)
|
||||
✔ headings, paragraphs, emphasis and inline code render (4.988648ms)
|
||||
✔ lists, block quotes and code blocks render (1.032775ms)
|
||||
✔ a link is made for http, https and relative targets, with rel and the target shown (1.973988ms)
|
||||
✔ a link with any other scheme, or an evasion of the scheme, stays source text (3.200642ms)
|
||||
✔ an image shows alt text and URL, is never an img element and never loads (0.396015ms)
|
||||
✔ raw HTML, entities and unsupported blocks show as source text, never as elements (0.934518ms)
|
||||
✔ markup inside code and inside link text stays text (0.310785ms)
|
||||
✔ hostile and pathological input stays within its look-ahead budget and under the nesting cap (155.505718ms)
|
||||
✔ trailing blanks and closing hashes are cut by a walk from the end, not a regex that retries inside a blank run (105.66919ms)
|
||||
✔ a link opener with no closer searches at most SPAN characters ahead (510.399238ms)
|
||||
✔ the look-ahead work of one render is a fixed multiple of the text, whatever the opener (2237.958836ms)
|
||||
✔ past the budget an opener is source text, through the path all other text takes (68.634869ms)
|
||||
✔ a normal 200 KiB document renders exactly as it did without a budget, and spends little of it (72.297348ms)
|
||||
✔ a line separator inside a heading, a list item or a fence line does not end the marker line (0.782009ms)
|
||||
✔ a thematic-break line is a paragraph, every other marker line opens a list (1.265264ms)
|
||||
✔ every short line over space, tab, - * _ and a letter is a break exactly when the old regex said so (91.507655ms)
|
||||
✔ one line of marks does not throw, at 4 MiB, whatever the mark or the spacing (18693.732276ms)
|
||||
✔ CRLF and tabs are read like LF and spaces; empty input renders nothing (0.290659ms)
|
||||
✔ messages HTTP read pages and preserves metadata; bad arguments refuse before a read; other reads unchanged (331.712949ms)
|
||||
✔ Console Messages lists late unsolicited messages on polling with sender class time read state and trail; nav count includes beyond the page; reads never deliver (3963.006159ms)
|
||||
✔ Messages nav count polls on Tasks and Board and clears on a Board refusal; messages 403 refuses local pages (5544.18983ms)
|
||||
✔ copy writes the Console paths at the full id, read-only, and leaves an existing copy alone (4586.516465ms)
|
||||
✔ copy refuses a commit off refactor, an unknown one, a worktree and a bad copies directory (8390.471397ms)
|
||||
✔ copy writes nothing when an archived path is missing at the commit (2233.69143ms)
|
||||
✔ a copy that loses the rename race leaves no read-only temp directory behind (3185.466552ms)
|
||||
✔ a copy whose rename fails with no target refuses, writes no copy and leaves no temp directory (1737.482631ms)
|
||||
✔ a copy that meets a target holding files says exists: and moves nothing into it (1915.193777ms)
|
||||
✔ a copy that meets an empty target directory replaces it by rename, not by moving into it (3183.833741ms)
|
||||
✔ serve runs from a copy: /healthz 200, the config check, roles and RELEASE from the copy, the queue from --checkout (3034.564865ms)
|
||||
✔ serve refuses a --checkout that is not an absolute directory path (517.815946ms)
|
||||
✔ consoleReads runs the queue read under queueRoot and reads RELEASE under root (96.617937ms)
|
||||
✔ preview options are all three or none, and each is checked (11.976568ms)
|
||||
✔ the CLI refuses a partial or invalid preview flag set at start (2800.366165ms)
|
||||
✔ the CLI with all three flags serves the preview mode (415.062455ms)
|
||||
✔ a request for the public name needs the header equal to the user id, else 401 and nothing read (201.85949ms)
|
||||
✔ the header name matches without regard to case, and the value compare is exact (21.145493ms)
|
||||
✔ the public name with the header reads the bus views, and the Host and Origin are checked first (70.824341ms)
|
||||
✔ in preview mode every write answers 403 read-only, from the public name and loopback, and reaches nothing (44.206826ms)
|
||||
✔ loopback requests are unchanged in preview mode, and the bus views work with the board down (24.51805ms)
|
||||
✔ a proxy that rewrites Host to the loopback port gets 403 on its first request, whatever the user (52.938487ms)
|
||||
✔ a repeated Host is 400 before any other check, in preview mode and without it (21.718312ms)
|
||||
✔ without the preview flags the public name is refused and writes still reach the board (33.356546ms)
|
||||
✔ processing browser: keyboard Stop, confirmed Resume, unknown outcome and persistent banner (2808.628055ms)
|
||||
✔ processing browser: Q175 read-only interim keeps both writes disabled and names CLI recovery at 320px (2523.998629ms)
|
||||
✔ processing browser: sign-out from config redirect blocks later refresh and writes (2308.208488ms)
|
||||
✔ processing browser: sign-out from state redirect blocks later refresh and writes (2696.70657ms)
|
||||
✔ processing browser: sign-out from write redirect blocks later refresh and writes (1956.916302ms)
|
||||
✔ processing browser: sign-out from config sign-in required blocks later refresh and writes (2238.37605ms)
|
||||
✔ processing browser: sign-out from state sign-in required blocks later refresh and writes (1495.983937ms)
|
||||
✔ processing browser: sign-out from write sign-in required blocks later refresh and writes (1578.528628ms)
|
||||
ROW191_LAYOUT {"width":400,"height":1000,"controls":97,"tree":324.0625,"main":1450.703125,"top":181.5,"bottom":217.5,"barBottom":129,"projectsTop":352.59375,"order":"0","visible":true}
|
||||
ROW191_LAYOUT {"width":1440,"height":1000,"controls":127,"tree":914,"main":914,"top":135.5,"bottom":171.5,"barBottom":53,"projectsTop":636.59375,"order":"0","visible":true}
|
||||
ROW191_LAYOUT {"width":1440,"height":420,"controls":127,"tree":334,"main":907.734375,"top":135.5,"bottom":171.5,"barBottom":53,"projectsTop":636.59375,"order":"0","visible":true}
|
||||
ROW191_LAYOUT {"width":800,"height":420,"controls":127,"tree":334,"main":1131.65625,"top":135.5,"bottom":171.5,"barBottom":53,"projectsTop":618.59375,"order":"0","visible":true}
|
||||
✔ processing browser: static nav controls keep Stop visible, ordered and keyboard reachable (1989.328122ms)
|
||||
✔ interim read-only controls show CLI recovery, disable both writes and retain a halted banner across views (11.626158ms)
|
||||
✔ Stop sends one empty halt and Resume confirms before sending the displayed generation (10.67315ms)
|
||||
✔ a cancelled resume never calls the writer (3.179669ms)
|
||||
✔ unknown writes are not retried or displayed as success and partial stops remain explicit (5.868146ms)
|
||||
✔ the persistent shell loads the control outside route-specific content with accessible status and native buttons (1.133568ms)
|
||||
✔ read-only Console can read processing state but neither human control writes without --send (66.218139ms)
|
||||
✔ Console halt and generation-bound resume use only the management writer and keep partial stops honest (10.982172ms)
|
||||
✔ processing write fences refuse cross-site, wrong origin, unnamed host, duplicate identity and bad payload before writer (14.633353ms)
|
||||
✔ tester cannot invoke either control writer and failures never echo backend text (11.806188ms)
|
||||
✔ processing writes use the existing SSO signer and still require --send and same-origin (21.711519ms)
|
||||
✔ processing handler independently refuses wrong origin and cross-site before its writer (3.989692ms)
|
||||
✔ a signed-in same-origin save reaches exactly one human operation and returns the new commit (53.222367ms)
|
||||
✔ a save needs send, the named Host, the user, the exact Origin and same-origin Fetch Metadata (27.153666ms)
|
||||
✔ a save validates JSON, strict keys, text values and the 1 MiB body before the bus is asked (61.625111ms)
|
||||
✔ a body that is JSON but not an object is refused 400, not thrown on (22.703984ms)
|
||||
✔ the 1 MiB limit is this route only; Settings and messages keep 16 KiB (16.671197ms)
|
||||
✔ a bus refusal is reported as not saved with its own status; stale-base tells the user to reload (14.557833ms)
|
||||
✔ a save whose answer is lost or unusable is reported unknown and is never retried (6.863996ms)
|
||||
✔ the file list and one file read take strict queries and arrive in the expected shape (12.074836ms)
|
||||
✔ reads work without --send; an unusable bus answer is a bad response, a refusal keeps its status (10.728105ms)
|
||||
✔ /api/config says edit only where a save can pass (4.761488ms)
|
||||
✔ a repository-name project refusal is an HTTP conflict (0.984724ms)
|
||||
✔ proof startup refuses partial flags non-preview and invalid fixture file metadata or bytes (4347.589056ms)
|
||||
✔ serve argv carries only fixture proof path and header; startup explicitly reports proof on or off (1057.032471ms)
|
||||
✔ CLI applies proof on the main listener and rejects that header on its tester listener (993.00971ms)
|
||||
✔ proxy proof admits named reads and sends, reads its fixture once, and never exposes the value (130.333148ms)
|
||||
✔ proxy proof refuses missing wrong short or repeated proof before auth and before any read (37.21869ms)
|
||||
✔ proxy proof header is refused on other Hosts and on the tester listener (27.767421ms)
|
||||
✔ proof options reject unsafe or colliding header names without disclosing file contents (1.779971ms)
|
||||
✔ redactor: config, dataRoot, any absolute path, Discord ids and the JSON parser quote (2.717157ms)
|
||||
✔ credential state from the date alone, as the bus states it (0.509147ms)
|
||||
✔ queue: rows, one row, ids and methods, notes; no path or id from a row (1632.086256ms)
|
||||
✔ queue: a refused read fails closed with the store's text, redacted (980.994864ms)
|
||||
✔ queue: a store that fails to load, or a child that dies, gives a fixed message with no path or stack (2529.760674ms)
|
||||
✔ business: names, vars on the allowlist, authority, credential metadata only (70.870478ms)
|
||||
✔ business: missing or invalid file refuses with the module's text, redacted (53.602689ms)
|
||||
✔ business without --business: the live bus host, else no-bus-host; no system config: not-configured (35.39629ms)
|
||||
✔ settings: release, board, loopback address, notifier binding name only (650.376903ms)
|
||||
✔ task fields: the committed table with no reads configured, GET only; a bad table refuses with no path (110.672173ms)
|
||||
✔ bus-status: a refused boot shows reason, file and last good load; a live host or an ok boot clears it (82.128753ms)
|
||||
✔ both presentations replace old activity with relaunch notice, label retained history, then resume after new activity (3047.931743ms)
|
||||
✔ reported return flow and relative Age: reply sent from the inspector, then the new answer appears there without manual refresh (22564.00615ms)
|
||||
organization: {"event":"reload-needs-restart","business":"acme"}
|
||||
organization: {"event":"reload-needs-restart","business":"acme"}
|
||||
✔ row 65 Settings: the routing table lists every instance, saves a harness, model, thinking and fallback to the file, and keeps the draft on each refusal (7355.766569ms)
|
||||
organization: {"event":"reload-needs-restart","business":"acme"}
|
||||
✔ row 65 Console: the signed-in human saves a route through a real broker; each refusal says nothing changed and leaves the file and the log (549.54912ms)
|
||||
✔ row 65 Console: the routes write needs send on, a writer, the public name, the user, the exact Origin and same-origin Fetch Metadata (85.124486ms)
|
||||
✔ row 65 Console: the routes write takes JSON within 16 KiB with a revision and routes only; an actor is refused and routes are never logged (68.236202ms)
|
||||
✔ row 65 Console: a bus refusal maps to its status and says nothing changed; a lost or odd answer says the change may have been made (171.700585ms)
|
||||
✔ row 65 Console: the routes read takes no arguments, needs a bus and refuses an odd answer (19.702141ms)
|
||||
✔ the send box: held roles, the draft and caret across a refresh, each receipt, one POST per Send, and the trail link; the board Reply on a 4xx and a 5xx (6601.970612ms)
|
||||
✔ a sent receipt lists its replies as the page refreshes, oldest first and capped, and marks none delivered or read (12991.110365ms)
|
||||
✔ startServer takes send only as a function and only with the preview mode (43.083476ms)
|
||||
✔ the CLI refuses --send without the preview flags, and without a configured bus (1335.336644ms)
|
||||
✔ the CLI with --send and a configured bus sends through the human transport and logs one line (543.898784ms)
|
||||
✔ without --send the route is read-only like every other write, and config says no send (64.471753ms)
|
||||
✔ with --send every other write is still 403 read-only, and nothing reaches the board or bus (21.210729ms)
|
||||
✔ config says send only on the public name with --send on (4.288813ms)
|
||||
✔ a send without the signed-in user is 401 and is neither sent nor logged, loopback included (7.458773ms)
|
||||
✔ each request check refuses before anything is sent, and logs the refusal without the body (39.792757ms)
|
||||
✔ a send passes exactly to, body and in_reply_to, answers the id, and logs it (13.437587ms)
|
||||
✔ a crafted role name cannot forge a log line (10.514752ms)
|
||||
✔ a bus refusal is not sent, with its status; an outcome the bus could not confirm is unknown and never retried (17.460171ms)
|
||||
✔ through the human transport the request is exactly the business, message.send and the keys (340.25205ms)
|
||||
✔ against a real broker: the message is written once as a human send, and its refusals map (161.0439ms)
|
||||
✔ loopback host and board origin fail closed (10.573253ms)
|
||||
✔ real board fixture passes through WebUI; assets and isolated seen/reply work (220.576472ms)
|
||||
✔ proxy preserves exact request bytes, status and receipt, rejects forms and malformed JSON, never follows redirect (135.506401ms)
|
||||
✔ unreachable board reports URL; CLI rejects unsupported options (1562.351502ms)
|
||||
✔ tester service render carries the tester port alongside existing flags (656.27483ms)
|
||||
✔ tester service refuses forwarded 7332 even with another main port (317.551113ms)
|
||||
✔ tester service invalid ports refuse render and install with exit 4 and leave the unit alone (3244.971758ms)
|
||||
✔ tester service counts the digits as written before it strips leading zeros (241.348549ms)
|
||||
✔ tester service install and status show the tester port without changing send reporting (1728.399913ms)
|
||||
✔ render prints the unit without the preview flags (104.271618ms)
|
||||
✔ render carries every serve flag, the preview set included (125.076023ms)
|
||||
✔ a partial preview set is refused (310.9585ms)
|
||||
✔ a value the unit cannot carry is refused, for every flag (5999.104416ms)
|
||||
✔ the rendered unit names none of the human proof agent markers and sets no agent variable (383.481456ms)
|
||||
✔ install into --dir with --no-reload writes the file whole, then reports unchanged (615.325081ms)
|
||||
✔ install without --no-reload runs daemon-reload and nothing that starts the unit (97.441716ms)
|
||||
✔ uninstall refuses while the unit is running, with or without --no-reload, and removes it once it is not (1659.738962ms)
|
||||
✔ status prints the unit state and GET /healthz on the installed port (785.185866ms)
|
||||
✔ usage: an unknown verb or flag, and start or enable, exit 4 (1191.552146ms)
|
||||
✔ without --send, render is the template with its placeholders filled, byte for byte (271.93262ms)
|
||||
✔ render --send with the preview set ends ExecStart with --send and changes nothing else (541.599437ms)
|
||||
✔ --send without the whole preview set is refused and writes nothing (672.70952ms)
|
||||
✔ install --send into --dir with --no-reload writes the sending unit, and status says whether it sends (400.744531ms)
|
||||
✔ uninstall and status take no --send (135.813954ms)
|
||||
✔ install refuses while the unit is running, in any state but inactive or failed, and changes nothing (558.066163ms)
|
||||
✔ when the state read fails, install and uninstall refuse with one line and change nothing (182.083951ms)
|
||||
✔ install needs --copy naming a copy that exists, and refuses outside the canonical checkout without --allow-worktree (274.396406ms)
|
||||
✔ install refuses unless the bus unit runs from the same copy, naming both paths, and changes nothing (659.576563ms)
|
||||
✔ render --copy runs the copy and reads the queue in the checkout; without --copy the unit is unchanged (94.07392ms)
|
||||
✔ the uid header takes only an Authentik uid; the username header still takes a username (1670.240068ms)
|
||||
✔ a preview value cannot start with - or . (178.652961ms)
|
||||
✔ status names the copy and whether refactor has moved past it, and says when the unit runs from no copy (498.936817ms)
|
||||
✔ proxy proof render carries both flags but never opens the fixture file (35.896092ms)
|
||||
✔ proxy proof render refuses incomplete non-preview missing unsafe-mode and repo/copy paths (382.337328ms)
|
||||
✔ proxy proof status retains send and tester reporting with both proof flags (129.652865ms)
|
||||
✔ row196 socket flag renders only for supporting targets and refuses mixed transports (91.132376ms)
|
||||
✔ Settings form shows every scope and held role; gated save, exact payload, retained draft and no automatic retry (3601.134961ms)
|
||||
✔ Q169 Assistant section: gated, changed fields only, name and stop posts, retained draft and no automatic retry (3393.396967ms)
|
||||
✔ Row 167 a refused names read gives the refused usage page; another names failure keeps the Assistant section (1958.342906ms)
|
||||
✔ Row 167 with a limits draft open, an assistant save gives the limits submit its revision and the typed limit stays (2373.207713ms)
|
||||
✔ Row 167 with an assistant draft open, a launch save gives the assistant submit its revision, and reload reads the current one (2271.900541ms)
|
||||
2026-10-23T05:56:09.758Z settings user="jason" changed
|
||||
✔ REQ-WEB-1 signed-in same-origin Settings write reaches exactly one human operation (41.040768ms)
|
||||
✔ REQ-WEB-1 Settings writes require enabled send, named Host, identity, exact Origin and same-origin Fetch Metadata (16.337548ms)
|
||||
✔ REQ-WEB-1 Settings validates JSON, size, revision and strict writable keys before broker call (26.736686ms)
|
||||
✔ Q169 a Console change of the assistant reaches the human operation unchanged, and the log names the signed-in user (10.295391ms)
|
||||
✔ tokens.css and icons.svg are byte copies of docs/design (5.033002ms)
|
||||
✔ JetBrains Mono files match the digests in their sources file, with the OFL text (3.419534ms)
|
||||
✔ shipped strings are unchanged, and the web keeps its write boundary (7.185612ms)
|
||||
ROW191_LAYOUT {"width":1440,"height":1000,"controls":212.5,"tree":914,"main":914}
|
||||
✔ shell in a browser: System default, seeded states, 400px, focus and the Ctrl+K palette (9997.335631ms)
|
||||
✔ five states on Board, Inbox, Tasks, Agents and Trail (5100.598536ms)
|
||||
✔ a 401 sign-in required on each fetch path signs the page out with a sign-in link and stops the refresh; another 401 stays an error (8947.165195ms)
|
||||
✔ the Sign out form shows only when /api/config says sso, and posts to /auth/logout (3103.277152ms)
|
||||
✔ positive: an RS256 provider signs in and sends one message, and the session reads (475.641336ms)
|
||||
✔ positive: an ES256 provider signs in and sends (193.349473ms)
|
||||
✔ positive: two providers each sign in their own subjects, and one provider's subject is unknown to the other (169.921509ms)
|
||||
✔ 1: a forged x-authentik header without a cookie is 401 on the API and a sign-in redirect on a page (278.514365ms)
|
||||
✔ 2: an HS256 ID token keyed with the client secret and a real RSA kid is refused (134.191938ms)
|
||||
✔ 3: a wrong aud, and an aud list holding another client with no azp, are refused (101.185717ms)
|
||||
✔ 4: a token that expired 10 minutes ago is refused (138.60402ms)
|
||||
✔ 5: another issuer, and the issuer without its trailing slash, are refused (148.289879ms)
|
||||
✔ 6: a nonce mismatch and a missing nonce are refused (70.339871ms)
|
||||
✔ 7: state mismatch, no login cookie, a replay, an expired record and two login cookies are refused (131.822465ms)
|
||||
✔ 8: the token request carries the PKCE verifier, and the OP refuses a wrong one (122.964705ms)
|
||||
✔ 9: alg none, a changed payload under a real kid, and an unknown kid even after the refetch are refused (222.329164ms)
|
||||
✔ 10: a valid token for a subject not configured is 403 with one subject-unknown line (204.225028ms)
|
||||
✔ 11: start refusals: HS or none algs, reserved names, HS-only discovery, an empty JWKS, no S256, an issuer mismatch, a short RSA key (433.127154ms)
|
||||
✔ 11: slot files: a symlink, mode 0644, mode 0640 and a file under the repository are refused, and no message holds the value (5.347397ms)
|
||||
✔ 11: the CLI refuses --sso with the old flags and without console.sso, and starts with a good one (2880.406681ms)
|
||||
✔ 12: under --sso the tester listener refuses each kind of sign-in, has no /auth, and startServer refuses tester with sso (134.115947ms)
|
||||
✔ 13: idle and absolute expiry, logout then reuse, a cross-origin logout, and background reads that don't keep a session (110.692872ms)
|
||||
✔ 13: the CSP lets the Sign out form reach the provider's end-session origin, and only under --sso (126.33035ms)
|
||||
✔ 14: open redirects land on /, and a path on the Console lands there (125.809379ms)
|
||||
✔ 15: a callback for A carrying B's code and iss, and a provider= query, is refused (183.037053ms)
|
||||
✔ 16: a provider with RS256 and ES256 takes either, and refuses PS256 with a usable PS256 key in the JWKS (169.444622ms)
|
||||
✔ 17: 33 started logins leave 32 records, and the first one's callback finds none (177.30703ms)
|
||||
✔ 18: after a key rotation a sign-in works through one refetch, and the removed kid is refused (176.858541ms)
|
||||
✔ 20 and 21: the store holds no raw session id, and the cookie strings are exact (144.099594ms)
|
||||
✔ 22: a loopback Host is 403 on a page, a read and a write; /healthz on loopback is 200; a redirect_uri never comes from the Host (115.906034ms)
|
||||
✔ 23: a provider down at start leaves the Console up and 503, and the retry makes sign-in work (319.452618ms)
|
||||
✔ 19: no captured log line holds a token, code, state, nonce, verifier, client secret or session id (9.722633ms)
|
||||
✔ tester Console banner exposes only instance route and name editors and saves a route as tester (2919.456183ms)
|
||||
✔ row 177: the tester Console chat composer is enabled and a send shows in its own thread (2039.018085ms)
|
||||
✔ tester-port validates range tunnel main port and requires configured bus before listening (2901.241331ms)
|
||||
✔ CLI tester listener binds a private Unix socket and spawns TESTER_CLI for every Console bus read (8304.201603ms)
|
||||
✔ main listener refuses x-mosaic-tester before any board or bus read for every Host (43.969937ms)
|
||||
✔ tester listener rejects preview binding and requires its fixed logical Host and no proxy auth header (239.871872ms)
|
||||
✔ tester listener writes only instances routes and names with tester receipts and actor (329.224367ms)
|
||||
✔ tester listener refuses every human-only write with no bus call (403.357909ms)
|
||||
✔ tester-off and tester-required reads return HTTP 403 (423.519709ms)
|
||||
✔ tester credentials routes and committed project reads keep secrets and paths bounded (486.303217ms)
|
||||
✔ row 177 W1: the tester chat makes, sends to, opens and reads its own thread as tester (96.490199ms)
|
||||
✔ row 177 W2: tester chat writes refuse a missing or foreign Origin, cross-site, text/plain and the proxy header with no bus call (36.32174ms)
|
||||
✔ row 177 W3: the human thread through the tester chat is thread-not-owned, and bus.tester off answers tester-off (100.76962ms)
|
||||
✔ row 177 W4: the main listener refuses x-mosaic-tester on chat reads and writes before the chat (4.368266ms)
|
||||
✔ private tester HTTP serves on 0600 socket in 0700 parent and fixed origin (123.499396ms)
|
||||
✔ private tester refuses symlink, unsafe parent and long path without repairs (1.978231ms)
|
||||
✔ tester cleanup must leave a replacement inode untouched (3.005429ms)
|
||||
✔ row278 browser lists held claims and release preserves role rows and totals (2401.149351ms)
|
||||
✔ row278 browser claims 403 stays local and role section remains byte-equal (2043.04796ms)
|
||||
✔ row278 browser renders only four escaped claim fields and never instance or other extras (1539.461412ms)
|
||||
✔ row278 browser sign-out removes claims and prevents reuse of cached answers (1189.306078ms)
|
||||
✔ row278 tester browser keeps role rows without requesting the owner claims section (994.783844ms)
|
||||
✔ row278 browser discards a late claims answer after sign-out (909.523235ms)
|
||||
✔ row278 HTTP read returns held claims without send and refuses arguments before the bus (76.323822ms)
|
||||
✔ row278 HTTP read preserves bus refusal and rejects a malformed result (21.823555ms)
|
||||
✔ row278 tester socket refuses thread claims explicitly with zero bus calls (16.224768ms)
|
||||
✔ row278 Console adapter calls argument-free thread.claims through the normal transport (400.259747ms)
|
||||
✔ REQ-LIMIT-4 Settings shows all token kinds and unknown turns beside every total, as a read-only separate section (2328.431483ms)
|
||||
✔ REQ-WEB-1 usage read keeps unknown counts and each token kind; no query or write is accepted (85.831497ms)
|
||||
✔ REQ-WEB-1 malformed usage is refused instead of shown as zero (14.660937ms)
|
||||
✔ Queue, Business and Settings in their five states, with no move button (5837.604193ms)
|
||||
✔ seeded secrets, Discord ids and paths reach no response and no page; business refusals in the module's words (1874.584545ms)
|
||||
✔ the server log names no config path when the system config refuses (313.34961ms)
|
||||
ℹ tests 365
|
||||
ℹ suites 0
|
||||
ℹ pass 365
|
||||
ℹ fail 0
|
||||
ℹ cancelled 0
|
||||
ℹ skipped 0
|
||||
ℹ todo 0
|
||||
ℹ duration_ms 58218.927473
|
||||
@@ -22,6 +22,9 @@ const DOC = {
|
||||
users: [{ id: "alice", home: "factory", subjects: [{ provider: "authentik", sub: "alice-sub" }] }],
|
||||
grants: [{ id: "g-1", user: "alice", business: "acme", projects: ["*"], instances: ["*"], level: "collaborator" }],
|
||||
};
|
||||
// The shared helpers.mjs business sets tracker.baseUrl without tracker.project, so every boot warns
|
||||
// this first: trackerFor runs before accessFor in bootConfig.
|
||||
const TRACKER = "business acme sets tracker.baseUrl, but no project file sets tracker.project; the broker gets no task verbs";
|
||||
|
||||
// F8: the context's peers are federation.peers' ids, so a user whose home is a configured peer
|
||||
// validates and one whose home is any other id, the hub's own included, refuses.
|
||||
@@ -69,14 +72,14 @@ test("R6 B1 a boot with access.json binds a granted user, whose home is a config
|
||||
assert.deepEqual(s.config.access.context.ssoSubjects, [{ provider: "authentik", sub: "jason-sub" }]);
|
||||
assert.equal(s.bind("alice"), "bound");
|
||||
assert.equal(s.bind("bob"), "access-revoked");
|
||||
assert.deepEqual(s.warnings, []);
|
||||
assert.deepEqual(s.warnings, [TRACKER]);
|
||||
});
|
||||
|
||||
test("R6 B2 a boot without access.json has no access and binds no user", async (t) => {
|
||||
const s = await boot(t, null);
|
||||
assert.equal(Object.hasOwn(s.config, "access"), false);
|
||||
assert.equal(s.bind("alice"), "access-revoked");
|
||||
assert.deepEqual(s.warnings, []);
|
||||
assert.deepEqual(s.warnings, [TRACKER]);
|
||||
});
|
||||
|
||||
test("R6 B3 a boot with a file R1's loader refuses still boots, binds no user and says so once", async (t) => {
|
||||
@@ -88,7 +91,7 @@ test("R6 B3 a boot with a file R1's loader refuses still boots, binds no user an
|
||||
const s = await boot(t, file);
|
||||
assert.equal(s.config.access.file, s.path, why);
|
||||
assert.equal(s.bind("alice"), "access-revoked", why);
|
||||
assert.deepEqual(s.warnings, [`access file refused at boot (${code}), no granted user binds until it is fixed: ${s.path}`], why);
|
||||
assert.doesNotMatch(s.warnings[0], /secret-marker/, why);
|
||||
assert.deepEqual(s.warnings, [TRACKER, `access file refused at boot (${code}), no granted user binds until it is fixed: ${s.path}`], why);
|
||||
assert.doesNotMatch(s.warnings.join("\n"), /secret-marker/, why);
|
||||
}
|
||||
});
|
||||
@@ -1984,10 +1984,11 @@ export class Store {
|
||||
|
||||
// B (3g) and C (3h) have --no-launch. A is a copy from before row 163, whose host has no such flag.
|
||||
// C1's scripts/mosaic runs B's host, as a copy-check failure needs.
|
||||
// Row 294: config.mjs imports access.mjs, which imports transport.mjs, so each copy carries both.
|
||||
const RCOPIES=join(base,'rcopies');mkdirSync(RCOPIES);
|
||||
for(const [id,v,froms] of [[B,'3g',['3f']],[C,'3h',['3f','3g']],[A,'3g',['3f']],[C1,'3g',['3f']]]){
|
||||
const d=join(RCOPIES,id);
|
||||
for(const p of ['scripts/mosaic','scripts/mosaic-config.mjs','packages/cli/src/config.mjs','packages/cli/src/errors.mjs','packages/bus/src/business.mjs','packages/plugins/src/kinds.mjs','packages/business/src','packages/library/src','roles'])cpSync(join(repo,p),join(d,p),{recursive:true});
|
||||
for(const p of ['scripts/mosaic','scripts/mosaic-config.mjs','packages/cli/src/config.mjs','packages/cli/src/errors.mjs','packages/cli/src/access.mjs','packages/cli/src/transport.mjs','packages/bus/src/business.mjs','packages/plugins/src/kinds.mjs','packages/business/src','packages/library/src','roles'])cpSync(join(repo,p),join(d,p),{recursive:true});
|
||||
if(id===C1)writeFileSync(join(d,'scripts','mosaic'),`#!/usr/bin/env bash\nexec node "${join(RCOPIES,B,'packages','cli','src','cli.mjs')}" "$@"\n`,{mode:0o755});
|
||||
for(const [f,text] of [['packages/cli/src/cli.mjs',id===A?'// fixture host from before row 163\nprocess.exit(1);\n':script(rHost)],['packages/webui/src/cli.mjs',script(rConsole)],['packages/bus/src/store.mjs',rStore(v,froms)],['packages/bus/src/migrate-schema.mjs',script(rMigrate)],['packages/bus/src/broker.mjs','export class BusError extends Error { constructor(code) { super(code); this.code = code; } }\n']]){mkdirSync(dirname(join(d,f)),{recursive:true});writeFileSync(join(d,f),text)}
|
||||
execFileSync('chmod',['-R','a-w',d]);
|
||||
|
||||
Reference in new issue
Block a user