Commit graph

2 commits

Author SHA1 Message Date
Jeremie Fraeys
5d39dff6a0
test(store): extend store coverage with edge cases and concurrency
Add tests for:
- Close: proper resource cleanup
- ConcurrentLogMetrics: thread-safe metric logging
- GetRunMetricsEmpty: empty result handling
- GetRunParamsEmpty: empty result handling
- MarkRunSyncedNonexistent: graceful handling of missing runs

Coverage: 75.3%
2026-03-13 23:26:41 -04:00
Jeremie Fraeys
939faeb8e4
refactor: relocate store package from cmd/tui/internal to internal
Move store package to improve reusability and follow Go project conventions:
- cmd/tui/internal/store/store.go -> internal/store/store.go
- cmd/tui/internal/store/store_test.go -> internal/store/store_test.go

This makes the store package available to other components beyond the TUI,
reducing coupling and enabling future reuse by API server, CLI, or other tools.
2026-03-12 16:38:01 -04:00