Add persistent input and main-loop diagnostics #20

Merged
Breadway merged 3 commits from fix/box-17-diagnostics into main 2026-09-30 03:42:15 +08:00
Owner

Adds a private rotating log for keycode/modifier metadata, search focus, query duration/result counts, and a 500 ms GLib heartbeat. breadbox --bug-report prints recent diagnostic-target events with allowlisted session context, excluding typed text and raw environment values.

Verified with cargo test --workspace (14 tests), cargo clippy --workspace --all-targets -- -D warnings, cargo build --workspace, and targeted rustfmt checks. cargo fmt --all -- --check reports existing formatting differences in untouched breadbox-sync/src/main.rs.

Closes #17

Adds a private rotating log for keycode/modifier metadata, search focus, query duration/result counts, and a 500 ms GLib heartbeat. `breadbox --bug-report` prints recent diagnostic-target events with allowlisted session context, excluding typed text and raw environment values. Verified with `cargo test --workspace` (14 tests), `cargo clippy --workspace --all-targets -- -D warnings`, `cargo build --workspace`, and targeted rustfmt checks. `cargo fmt --all -- --check` reports existing formatting differences in untouched `breadbox-sync/src/main.rs`. Closes #17
feat: add private breadbox input diagnostics
Some checks failed
check / check (push) Has been cancelled
d4306b7e17
Record safe key, focus, query timing, and main-loop heartbeat events in a bounded user-state log. Add a filtered bug report command so users can share useful telemetry without typed text.
chore: preserve existing screenshot formatting
Some checks failed
check / check (push) Has been cancelled
dac831c995
fix: restrict breadbox logs to diagnostic events
All checks were successful
check / check (push) Successful in 3m0s
e8965ce906
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Breadway/breadbox!20
No description provided.