Repository navigation
Commit de7302a
committed
test(rest): declare OS_REGISTRY_LOG in the vitest harness
`packages/rest` is the untouched CONTROL in
docs/audits/2026-09-test-log-volume-census.md: while PR #13985 and PR #14016
declared a registry log level in four harnesses, this suite got none, and the
audit measures 528 residual `[Registry]` lines here — eight times what declared
objectql still emits. Six test files in this package construct bare
`SchemaRegistry` instances, so the chatter is per registered item per case.
This declares the level in the harness only. objectql's shipped `'info'`
default is unchanged for every production reader, and no library code is made
aware of a test runner: `OS_REGISTRY_LOG` is the engine's own published seam
(`SchemaRegistryOptions.logLevel` / `REGISTRY_LOG_LEVELS`).
The ADR-0005 `[Registry] Collision` diagnostics ride a bare `console.warn` that
the level never gates, so a real shadowing still speaks here.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012zGPuVVX3deAx9LdjK8jCk1 parent ed9d876 commit de7302a
1 file changed
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
15 | 28 | | |
16 | 29 | | |
17 | 30 | | |
| |||
0 commit comments