Candidate packet for #1626: build.patch on 0bdd573ff, candidate manifest,
targeted gate (588/0 over plugins, business, bus, webui, cli) and 42/42
mutants killed.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
52 lines
2.5 KiB
Plaintext
52 lines
2.5 KiB
Plaintext
✔ REQ-PLUG-1 fixture modules of each kind switch on from a test organization file, no core file changed (6.986754ms)
|
||
✔ REQ-PLUG-1 a name not matching ^[a-z][a-z0-9-]*$ refuses and keeps the old setting (3.379131ms)
|
||
✔ REQ-PLUG-1 a missing module directory or index.mjs refuses and keeps the old setting (3.511931ms)
|
||
✔ REQ-PLUG-1 a symlinked module directory or index.mjs refuses and keeps the old setting (2.699931ms)
|
||
✔ REQ-PLUG-1 a symlinked kind directory refuses and keeps the old setting (2.105484ms)
|
||
✔ REQ-PLUG-1 a symlinked packages/plugins refuses (run with --preserve-symlinks so the path keeps it) (25.094191ms)
|
||
✔ REQ-PLUG-1 index.mjs swapped for a symlink after the lstat checks refuses at the realpath check (2.606943ms)
|
||
✔ REQ-PLUG-1 a module that fails to load refuses and keeps the old setting (3.001531ms)
|
||
✔ REQ-PLUG-1 a missing export refuses and keeps the old setting (3.8912ms)
|
||
✖ REQ-PLUG-1 a different interface version refuses and keeps the old setting (2.832185ms)
|
||
✔ REQ-PLUG-1 a kind refused on its first load has nothing switched on, and the log names kind and name (1.757138ms)
|
||
✔ REQ-PLUG-1 the setting's shape: unknown kinds refuse alone, a bad whole setting keeps everything (2.528069ms)
|
||
✔ REQ-PLUG-1 loads run one at a time, so the last requested setting wins (103.008723ms)
|
||
✔ REQ-PLUG-1 the loader needs a log callback (0.954085ms)
|
||
ℹ tests 14
|
||
ℹ suites 0
|
||
ℹ pass 13
|
||
ℹ fail 1
|
||
ℹ cancelled 0
|
||
ℹ skipped 0
|
||
ℹ todo 0
|
||
ℹ duration_ms 213.202544
|
||
|
||
✖ failing tests:
|
||
|
||
test at packages/plugins/tests/loader.test.mjs:157:1
|
||
✖ REQ-PLUG-1 a different interface version refuses and keeps the old setting (2.832185ms)
|
||
AssertionError [ERR_ASSERTION]: v2: old setting kept
|
||
+ actual - expected
|
||
|
||
{
|
||
'limit-check': [
|
||
'cap'
|
||
],
|
||
'usage-source': [
|
||
+ 'v2'
|
||
- 'meter'
|
||
]
|
||
}
|
||
|
||
at refusesKeepingOld (file:///home/jwoltje/dewey-scratch/r131/wt/packages/plugins/tests/loader.test.mjs:32:10)
|
||
at async TestContext.<anonymous> (file:///home/jwoltje/dewey-scratch/r131/wt/packages/plugins/tests/loader.test.mjs:160:3)
|
||
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: { 'usage-source': [ 'v2' ], 'limit-check': [ 'cap' ] },
|
||
expected: { 'usage-source': [ 'meter' ], 'limit-check': [ 'cap' ] },
|
||
operator: 'deepStrictEqual',
|
||
diff: 'simple'
|
||
}
|