test(cli): add failing TDD test for session create silently suppressing facade dispatch exceptions #10749

Closed
HAL9000 wants to merge 1 commits from test/tdd-session-create-suppress-exception into master

1 Commits

Author SHA1 Message Date
HAL9000 669013b1e2 test(cli): add failing TDD test for session create silently suppressing facade dispatch exceptions
CI / helm (pull_request) Successful in 34s
CI / push-validation (pull_request) Successful in 23s
CI / build (pull_request) Successful in 3m50s
CI / lint (pull_request) Successful in 3m59s
CI / quality (pull_request) Successful in 4m22s
CI / typecheck (pull_request) Successful in 4m44s
CI / security (pull_request) Successful in 4m45s
CI / e2e_tests (pull_request) Successful in 7m4s
CI / integration_tests (pull_request) Successful in 10m52s
CI / unit_tests (pull_request) Successful in 11m32s
CI / docker (pull_request) Successful in 1m53s
CI / coverage (pull_request) Successful in 17m24s
CI / status-check (pull_request) Successful in 5s
Added a new BDD feature file: features/tdd_session_create_suppress_exception.feature
Added step definitions: features/steps/tdd_session_create_suppress_exception_steps.py
The test captures bug #10414: session create uses contextlib.suppress(Exception) to silently discard ALL exceptions from _facade_dispatch() without any logging
The test is tagged @tdd_issue @tdd_issue_10414 @tdd_expected_fail per TDD workflow
The test FAILS before the fix (no logging currently) and the @tdd_expected_fail tag inverts it to a CI pass
The test will pass after the fix adds _log.warning(..., exc_info=True) inside the suppress block

ISSUES CLOSED: #10414
2026-04-19 11:16:56 +00:00