feat(bug): bug.reload applies breadbug.toml exclusions without a restart #32

Merged
Breadway merged 4 commits from feature/breadbug-reload into main 2026-10-20 10:55:46 +08:00
Owner

Small IPC addition needed by the bos-settings page (BSET-50). Stacked on #31.

bug.reload re-reads ~/.config/bread/breadbug.toml and applies excluded_apps immediately; newly excluded apps have their stored data wiped (otherwise a user who excludes an app in settings would have to restart breadd for it to stop being recorded). Everything else in that file is still read at startup. API 1.8 (same minor as the other bug.* methods, not yet released).

Tests: integration test that excludes an app via the file, reloads, checks its data is gone, new logs for it are refused, and other apps are unaffected. check-docs passes, clippy clean.

Small IPC addition needed by the bos-settings page (BSET-50). Stacked on #31. `bug.reload` re-reads `~/.config/bread/breadbug.toml` and applies `excluded_apps` immediately; newly excluded apps have their stored data wiped (otherwise a user who excludes an app in settings would have to restart breadd for it to stop being recorded). Everything else in that file is still read at startup. API 1.8 (same minor as the other `bug.*` methods, not yet released). Tests: integration test that excludes an app via the file, reloads, checks its data is gone, new logs for it are refused, and other apps are unaffected. `check-docs` passes, clippy clean.
feat(bug): bug.reload applies breadbug.toml exclusions without a restart
Some checks failed
check / check (push) Failing after 4m25s
87e0283edf
bos-settings rewrites breadbug.toml when the user excludes an app. bug.reload
re-reads the file and applies the exclusion list immediately; newly excluded
apps have their stored data wiped. Other keys are still read at startup.

Refs BSET-50
Merge branch 'feature/breadbug-consent' into feature/breadbug-reload
Some checks failed
check / check (push) Has been cancelled
ae2d69da00
# Conflicts:
#	breadd/tests/ipc_integration.rs
Breadway changed target branch from feature/breadbug-consent to main 2026-10-20 10:55:17 +08:00
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/bread!32
No description provided.