refactor(tests): harden test suite against silent regressions - #45
Merged
Mowri Mohan (mowree) merged 1 commit intoApr 14, 2026
Conversation
Mowri Mohan (HDMowri)
force-pushed
the
refactor/two-medium-config-python-dataclasses
branch
4 times, most recently
from
April 14, 2026 01:14
2f83a5b to
1857f2e
Compare
Mowri Mohan (HDMowri)
force-pushed
the
refactor/two-medium-config-python-dataclasses
branch
from
April 14, 2026 01:19
1857f2e to
ea4a0fc
Compare
Fix _extract_event_data: data=None no longer leaks into DomainEvent.data
(session.idle events were producing spurious {data: None} entries).
Tests: spec= on all mocks, exact-value assertions replace is not None,
inspect.getsource checks replaced with behavioral equivalents. Deleted
test_sdk_api_conformance.py and test_timeout_alignment.py (YAML config
gone in PR microsoft#44). New: test_sdk_client_injection.py, flatten regression
guard, malformed JSON tool args resilience.
Contracts: sdk-boundary, event-vocabulary, behaviors, provider-protocol
updated to reflect dataclass-based config and new invariants.
Gates: 1157 passed (Windows, all tests incl. live), 2 xfailed (Unix
chmod -- expected), 0 deselected. WSL: 1159 passed, 98% branch coverage.
ruff: 0 errors. pyright: 0 errors.
Mowri Mohan (HDMowri)
force-pushed
the
refactor/two-medium-config-python-dataclasses
branch
from
April 14, 2026 01:31
ea4a0fc to
15ec596
Compare
Mowri Mohan (HDMowri)
deleted the
refactor/two-medium-config-python-dataclasses
branch
May 14, 2026 06:26
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix _extract_event_data: data=None no longer leaks into DomainEvent.data
(session.idle events were producing spurious {data: None} entries).
Tests: spec= on all mocks, exact-value assertions replace is not None,
inspect.getsource checks replaced with behavioral equivalents. Deleted
test_sdk_api_conformance.py and test_timeout_alignment.py (YAML config
gone in PR #44). New: test_sdk_client_injection.py, flatten regression
guard, malformed JSON tool args resilience.
Contracts: sdk-boundary, event-vocabulary, behaviors, provider-protocol
updated to reflect dataclass-based config and new invariants.
Gates: 1157 passed (Windows, all tests incl. live), 2 xfailed (Unix
chmod -- expected), 0 deselected. WSL: 1159 passed, 98% branch coverage.
ruff: 0 errors. pyright: 0 errors.