fix: Unskip 3 integration tests and reduce mypy errors by 330 #627
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.
Summary
Incremental progress on fixing skipped tests and cleaning up type errors using parallel subagent approach.
Integration Tests Fixed (3 tests) ✅
test_self_service_signup.py (13 tests passing)
patch.object(app, "oauth")instead of complex mockingtest_workflow_lifecycle.py (7 tests passing)
integration_dbfixture dependency@pytest.mark.skip_cito@pytest.mark.requires_dbtest_mcp_tool_roundtrip_minimal.py (9/13 tests passing)
mcp_serverfixture instead of manual servermcp_serverfixture to use PostgreSQL (was using SQLite, violating PostgreSQL-only architecture)structured_contentmypy Type Errors Fixed (~330 errors, 22% reduction) 🎯
Core Schemas (100% clean ✨)
Core Tools (~90 errors fixed)
Adapters (mock_ad_server 100% clean! ✨)
Core Infrastructure
Test Results 🧪
Approach
Used parallel subagents to tackle both objectives simultaneously:
Next Steps
This PR represents solid incremental progress toward both goals while keeping changes manageable for review.