breadbug: persistent per-app log and event store in breadd #13
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Part of ECO-EP1 (see ECO-66 for the full spec).
breadd keeps, per app, a bounded ring of recent logs and recent events so breadbug never has to query a dead or hung app.
Requirements
storedoes not survive a daemon restart, so it cannot be reused). Bounded size per app and in total, rotated.Acceptance
breaddrestart and reload.bread doctorreports store health.Independent changes_requested at
d970e8f8a1. Full criterion mapping and repair checklist persisted #22 (comment). High-confidence total-cap failure:24140 bytes vs1000 cap, filed BREAD-40; journal ingest missing.23 crate tests/clippy/fmt/docs pass; exact-head CI132 pending. Prerequisite PR21 blocked, no merge/retarget. Move todo for repairs on existingPR22, preserve stack; coordinator integrated verification before done.Store cap repair pushed at47c0b1f and journal feeder at1c0fcf4 on existing PR22. Feeder follows explicitly mapped user units, scrubs before writing, honors exclusions, bounds journal lines to64KiB, retries on child exit and reaps child on shutdown. Routing/privacy and spawned child stream/shutdown fixture tests pass. New real-daemon module reload retention/health regression also passes. Full final workspace checks running; remaining lifecycle/client/settings acceptance still needs reconciliation and independent review.
Independent exact-head review PASS at
1505b0d445. Criterion mapping and evidence: #22 (comment) . Required check / check (push) success, Actions run 141 job 2446, every step success including Complete job. Re-read head1505b0dand base4a164fdimmediately before merge. Merged=true, merge SHAaea9879d61. feature/breadbug-store kept for stacked PR23. This is not done: leave review. Two-pass consumer verification happens on main after PR23. If breadboard sync auto-closes this card, restore review; known server limitation.Integrated verification on descendant main merge6699643099a82023ab1334b2e1bd0304b8e9d862: clean worktree cargo test --locked -p bread-bug -p breadbug --lib passed47+11, including strict total caps, lowered caps/reopen, failed eviction/unreadable accounting, exclusions and wipe. cargo test --locked -p breadd --test ipc_integration bug_store_survives passed2 real-daemon restart/module-reload tests with store health and noncolliding markers. PR22 independent pass comment4597; PR23 composition pass4672. CI unprivileged pin and checkout cleanup verified in PR22 run141; integrated dev-release at6699643 success.