Repository navigation
Commit d7cf9c9
committed
test(dogfood): declare OS_REGISTRY_LOG=warn in the suite's own vitest harness
The dogfood gate writes 66,976 lines to stdout per full run; 39,738 of them
(94.9% of everything it writes through `console`) are the SchemaRegistry's
per-item `[Registry] Registered …` lines, emitted once per registered item
per app boot across ~130 boots of the real example apps.
`OS_REGISTRY_LOG` is `@objectstack/objectql`'s own published seam for that
verbosity (`SchemaRegistryOptions.logLevel` / `REGISTRY_LOG_LEVELS`). At
`warn` the registry's `log()` returns before writing, while the ADR-0005
`[Registry] Collision` diagnostics — a bare `console.warn` the level never
gates — still surface.
The engine's shipped default is untouched, and no library code learns what a
test runner is: the request lives in the harness, declaratively, where the
test author can see it.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01F3jdziLbAPGeceVNmSox5L1 parent eb649cb commit d7cf9c9
1 file changed
Lines changed: 33 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
18 | 41 | | |
19 | 42 | | |
20 | 43 | | |
| |||
62 | 85 | | |
63 | 86 | | |
64 | 87 | | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
65 | 93 | | |
66 | 94 | | |
67 | 95 | | |
| |||
74 | 102 | | |
75 | 103 | | |
76 | 104 | | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
77 | 110 | | |
78 | 111 | | |
79 | 112 | | |
| |||
0 commit comments