brewlog/tests/e2e/main.rs
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

16 lines
248 B
Rust

#![allow(dead_code)]
mod helpers;
mod bag_tests;
mod brew_tests;
mod checkin_tests;
mod data_tests;
mod delete_tests;
mod detail_tests;
mod edit_tests;
mod image_tests;
mod navigation_tests;
mod roaster_tests;
mod scan_tests;
mod timeline_tests;