diff options
| author | Adam Malczewski <[email protected]> | 2026-06-10 10:58:42 +0900 |
|---|---|---|
| committer | Adam Malczewski <[email protected]> | 2026-06-10 10:58:42 +0900 |
| commit | c1b08acd121432fcf4fea2fc0b70521cdf9f0cf6 (patch) | |
| tree | 73a94a0b2c923a123f0fcb1ebc7b080f1ce635d6 /packages/tool-shell/src/shell.test.ts | |
| parent | 3a0cdd2c8453f059a746465e3aa6d9b5caa3b399 (diff) | |
| download | dispatch-c1b08acd121432fcf4fea2fc0b70521cdf9f0cf6.tar.gz dispatch-c1b08acd121432fcf4fea2fc0b70521cdf9f0cf6.zip | |
observability-collector: drive trace-store prune on a cadence
Wave 2 (final) of the dedup/storage-growth milestone (notes ยง12).
- pure shouldPrune(now,lastPruneAt,intervalMs) cadence helper (injected clock).
- main.ts calls store.prune(DEFAULT_RETENTION) on a coarse cadence
(--prune-interval-ms, default 60s; host-bin-overridable), far less frequent
than a drain. Prune errors are logged and never stop the tail loop.
- confirmed body inserts flow through trace-store's content-addressed path.
- glossary: content-addressed body, trace retention, prefix fingerprint,
warm vs real.
typecheck EXIT 0; biome clean; vitest 576; bun 100->106, 0 fail.
Diffstat (limited to 'packages/tool-shell/src/shell.test.ts')
0 files changed, 0 insertions, 0 deletions
