Files
stack/agents/dewey/work/queue-131/r1/mutants/19-export-function.log
jason.woltjeandClaude Opus 5.5 09447eb677 docs: add Dewey row 131 r1 packet (plug-in kind registry and loader)
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]>
2026-10-15 11:23:33 -05:00

52 lines
2.5 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
✔ REQ-PLUG-1 fixture modules of each kind switch on from a test organization file, no core file changed (6.844388ms)
✔ REQ-PLUG-1 a name not matching ^[a-z][a-z0-9-]*$ refuses and keeps the old setting (3.22488ms)
✔ REQ-PLUG-1 a missing module directory or index.mjs refuses and keeps the old setting (3.207108ms)
✔ REQ-PLUG-1 a symlinked module directory or index.mjs refuses and keeps the old setting (2.403113ms)
✔ REQ-PLUG-1 a symlinked kind directory refuses and keeps the old setting (1.954469ms)
✔ REQ-PLUG-1 a symlinked packages/plugins refuses (run with --preserve-symlinks so the path keeps it) (25.825422ms)
✔ REQ-PLUG-1 index.mjs swapped for a symlink after the lstat checks refuses at the realpath check (2.6038ms)
✔ REQ-PLUG-1 a module that fails to load refuses and keeps the old setting (2.753518ms)
✖ REQ-PLUG-1 a missing export refuses and keeps the old setting (4.45008ms)
✔ REQ-PLUG-1 a different interface version refuses and keeps the old setting (2.463883ms)
✔ REQ-PLUG-1 a kind refused on its first load has nothing switched on, and the log names kind and name (1.757319ms)
✔ REQ-PLUG-1 the setting's shape: unknown kinds refuse alone, a bad whole setting keeps everything (2.496356ms)
✔ REQ-PLUG-1 loads run one at a time, so the last requested setting wins (102.668213ms)
✔ REQ-PLUG-1 the loader needs a log callback (1.054778ms)
ℹ tests 14
ℹ suites 0
ℹ pass 13
ℹ fail 1
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 210.457666
✖ failing tests:
test at packages/plugins/tests/loader.test.mjs:142:1
✖ REQ-PLUG-1 a missing export refuses and keeps the old setting (4.45008ms)
AssertionError [ERR_ASSERTION]: not-fn: old setting kept
+ actual - expected
{
'limit-check': [
'cap'
],
'usage-source': [
+ 'not-fn'
- '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:149: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': [ 'not-fn' ], 'limit-check': [ 'cap' ] },
expected: { 'usage-source': [ 'meter' ], 'limit-check': [ 'cap' ] },
operator: 'deepStrictEqual',
diff: 'simple'
}