test(tui): add TDD failing test for SQLite session persistence #10886

Merged
HAL9000 merged 4 commits from tdd/m8-tui-sqlite-session-persistence into master 2026-06-07 05:21:13 +00:00

4 Commits

Author SHA1 Message Date
HAL9000 5247583e95 fix(tdd): correct type safety and remove unrelated file
CI / lint (pull_request) Successful in 1m15s
CI / typecheck (pull_request) Successful in 1m20s
CI / push-validation (pull_request) Successful in 53s
CI / security (pull_request) Successful in 1m30s
CI / quality (pull_request) Successful in 1m27s
CI / build (pull_request) Successful in 1m19s
CI / helm (pull_request) Successful in 1m30s
CI / unit_tests (pull_request) Successful in 7m4s
CI / integration_tests (pull_request) Successful in 10m32s
CI / docker (pull_request) Successful in 2m56s
CI / coverage (pull_request) Successful in 22m33s
CI / status-check (pull_request) Successful in 7s
- Replace invalid typing.T.Any with typing.cast(typing.Any, ...) on lines 111, 130, 148
- Fix ruff formatting issues in tdd_tui_session_store_4739_steps.py
- Remove unrelated bug-hunt-pool-supervisor.md that was mistakenly added
- Ensure all step definitions properly cast context attributes for type safety

ISSUES CLOSED: #10879
2026-06-07 00:48:54 -04:00
HAL9000 975831fe3c fix(tui): replace invalid typing.T.Any with typing.cast(Any, ...) and fix format 2026-06-07 00:48:54 -04:00
HAL9000 9d2763a1e4 test(tui): remove type: ignore violations using typing.cast 2026-06-07 00:48:54 -04:00
HAL9000 f5add6ffa3 test(tui): add TDD failing test for SQLite session persistence
Add BDD scenarios that capture bug #4739 — the missing TUI SQLite
session persistence layer. The cleveragents.tui.session_store module
and TuiSessionStore class do not exist; these tests verify their
absence and will pass once the implementation is in place.

All scenarios are tagged @tdd_expected_fail so CI passes while the
module is absent. The expected-fail mechanism inverts the result:
a failing AssertionError means the bug still exists (CI passes).

ISSUES CLOSED: #10879
2026-06-07 00:48:54 -04:00