brewlog/tests/cli
Jon Seager 0e3847ade9
feat: sync timeline events with entity edits
Add background timeline rebuild task (mirroring stats cache pattern)
that refreshes denormalized timeline event snapshots when entities are
updated. Includes cascade logic so editing a roaster refreshes timeline
events for its roasts, bags, brews, and cups.

- Add update_by_entity/delete_by_entity/delete_all to TimelineEventRepository
- Add TimelineInvalidator with debounced background rebuild task
- Add invalidate() calls to all 7 entity update handlers
- Add delete_by_entity cleanup to define_delete_handler! macro
- Add gear_id filter to BrewFilter for cascade traversal
- Add `brewlog timeline rebuild` CLI command for full rebuild
- Add 5 integration tests for timeline sync behavior
2026-02-15 11:11:07 +00:00
..
backup_cli.rs fix(backup): include brew quick_notes and cups in backup/restore 2026-02-06 18:26:28 +00:00
bags_cli.rs refactor(tests): add CLI test macros and deduplicate helpers 2026-02-06 14:27:43 +00:00
brews_cli.rs fix: wire edit forms for Datastar form submission and add CLI tests 2026-02-10 19:42:58 +00:00
cafes_cli.rs refactor(tests): add CLI test macros and deduplicate helpers 2026-02-06 14:27:43 +00:00
cups_cli.rs fix: wire edit forms for Datastar form submission and add CLI tests 2026-02-10 19:42:58 +00:00
gear_cli.rs refactor(tests): add CLI test macros and deduplicate helpers 2026-02-06 14:27:43 +00:00
helpers.rs feat: sync timeline events with entity edits 2026-02-15 11:11:07 +00:00
main.rs feat: sync timeline events with entity edits 2026-02-15 11:11:07 +00:00
roasters_cli.rs refactor(tests): add CLI test macros and deduplicate helpers 2026-02-06 14:27:43 +00:00
roasts_cli.rs refactor(tests): add CLI test macros and deduplicate helpers 2026-02-06 14:27:43 +00:00
test_macros.rs refactor(tests): add CLI test macros and deduplicate helpers 2026-02-06 14:27:43 +00:00
timeline_cli.rs feat: sync timeline events with entity edits 2026-02-15 11:11:07 +00:00
tokens_cli.rs refactor(tests): add CLI test macros and deduplicate helpers 2026-02-06 14:27:43 +00:00