test(agents/graphs/auto_debug): add expected-fail test for _analyze_error in-place state mutation #10707

Merged
HAL9000 merged 2 commits from test/auto-debug-analyze-error-mutation into master 2026-04-25 04:40:32 +00:00

2 Commits

Author SHA1 Message Date
HAL9000 263cbfa45f ci: re-trigger CI after transient typecheck runner failure
CI / push-validation (pull_request) Successful in 32s
CI / helm (pull_request) Successful in 38s
CI / build (pull_request) Successful in 1m4s
CI / lint (pull_request) Successful in 1m21s
CI / typecheck (pull_request) Successful in 1m29s
CI / quality (pull_request) Successful in 1m36s
CI / security (pull_request) Successful in 1m51s
CI / benchmark-publish (pull_request) Has been skipped
CI / integration_tests (pull_request) Successful in 5m26s
CI / e2e_tests (pull_request) Successful in 5m31s
CI / unit_tests (pull_request) Successful in 9m41s
CI / docker (pull_request) Successful in 1m57s
CI / coverage (pull_request) Successful in 15m46s
CI / status-check (pull_request) Successful in 6s
CI / lint (push) Successful in 1m7s
CI / typecheck (push) Successful in 1m18s
CI / quality (push) Successful in 1m3s
CI / helm (push) Successful in 25s
CI / build (push) Successful in 54s
CI / push-validation (push) Successful in 42s
CI / security (push) Successful in 2m13s
CI / integration_tests (push) Successful in 4m17s
CI / e2e_tests (push) Successful in 4m19s
CI / unit_tests (push) Successful in 6m7s
CI / docker (push) Successful in 1m38s
CI / coverage (push) Successful in 15m8s
CI / status-check (push) Successful in 3s
CI / benchmark-regression (pull_request) Successful in 1h2m0s
CI / benchmark-regression (push) Has been skipped
CI / benchmark-publish (push) Successful in 1h37m18s
The previous CI run failed with a 5-second typecheck job failure,
indicating a transient runner issue rather than a code problem.
Pyright reports 0 errors locally (only checks src/, not features/).
All quality gates pass: lint, typecheck, unit_tests.
2026-04-25 04:21:23 +00:00
HAL9000 ef5b8bf986 test(agents/graphs/auto_debug): add expected-fail test for _analyze_error in-place state mutation
Added a TDD-style test for issue #10494 by introducing a new features/tdd_auto_debug_analyze_error_mutation.feature with a scenario tagged @tdd_issue @tdd_issue_10494 @tdd_expected_fail, and implemented Behave steps in features/steps/tdd_auto_debug_analyze_error_mutation_steps.py. The test captures the bug that _analyze_error mutates the state in-place and returns the full state object instead of a dict of updates, violating the LangGraph node contract. The @tdd_expected_fail tag inverts the test outcome so CI remains green while the bug exists.

ISSUES CLOSED: #10494
2026-04-25 04:21:23 +00:00