Open Issues Need Help
View All on GitHubAI Summary: This issue aims to improve test coverage for the `flotilla-protocol` crate, specifically targeting the `snapshot.rs`, `commands.rs`, and `provider_data.rs` modules. These modules contain pure Serde types, and the tests should cover Serde round-trips, default values for optional fields, enum variant serialization, and Debug/Display implementations, following existing test patterns.
TUI dashboard for managing development workspaces across git worktrees, code review, issue trackers, cloud agent sessions, and terminal multiplexers
AI Summary: This issue requests adding unit tests for `template.rs`, which currently has 0% coverage and handles YAML deserialization for workspace templates. The tests should cover valid YAML, default values for missing optional fields, error handling for malformed input, and various pane configurations. The task is considered easy as it focuses purely on Serde deserialization without file I/O.
TUI dashboard for managing development workspaces across git worktrees, code review, issue trackers, cloud agent sessions, and terminal multiplexers
AI Summary: This GitHub issue requests the addition of unit tests for `ui_state.rs`, which currently has no test coverage. The tests should cover the initialization logic of `UiState::new()`, the behavior of `UiMode` predicates, the `active_repo_ui()` method (including out-of-bounds scenarios), and the equality/hashing of `TabId`.
TUI dashboard for managing development workspaces across git worktrees, code review, issue trackers, cloud agent sessions, and terminal multiplexers
AI Summary: This GitHub issue requests the creation of comprehensive unit tests for `crates/flotilla-tui/src/event_log.rs`, which currently has 0% test coverage. The file implements a ring-buffer-based log system with level filtering and retention markers. Tests should cover the `LevelExt` enum's behavior, the `LevelBucket` ring buffer's push and eviction logic, and the `EventLog`'s `push`, `snapshot` (merging and sorting), and retention marker functionality, including various edge cases.
TUI dashboard for managing development workspaces across git worktrees, code review, issue trackers, cloud agent sessions, and terminal multiplexers
AI Summary: This issue proposes adding comprehensive unit tests for `crates/flotilla-tui/src/app/intent.rs`, which currently has 0% test coverage despite being pure logic. The tests will cover intent availability (`is_available`), command generation (`resolve`), label and shortcut hint display, and menu ordering, requiring various combinations of work item properties and label configurations.
TUI dashboard for managing development workspaces across git worktrees, code review, issue trackers, cloud agent sessions, and terminal multiplexers