Scheduled maintain runs every 5 minutes. A sync-only pass that broadcasts nothing was still printing a cleanup/postage/misc summary. Skip that log unless the pass actually moved inventory.
Details
Details
- Reviewers
PiRK - Group Reviewers
Restricted Project - Commits
- rABC29e0f360757b: [alp-dex] Silence inventory maintain logs when nothing happens
- cd apps/alp-dex && pnpm test
- Restart alp-dex with already-shaped seller/slush; confirm scheduled maintain passes print nothing when there is no cleanup, fund, or sweep
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Build Bitcoin ABC Diffs / Diff Testing (ai-review) passed.
CodeRabbit Review
Diff : committed changes only
Compare : HEAD → master
Directory : work
────────────────────────────────────────
(\(\
(• .•) Never ask an AI its Energy Star rating.
────────────────────────────────────────
Review complete
No findings ✔
3 files reviewed:
- apps/alp-dex/index.ts
- apps/alp-dex/src/inventory/maintain.ts
- apps/alp-dex/test/inventory.test.ts
────────────────────────────────────────