Commit 2baaf3b
Marvin Zhang
feat: Add comprehensive refactoring guide for transitioning from mock-based tests to real database tests
- Created REFACTORING_GUIDE.md to provide a step-by-step approach for refactoring tests using TestDataFactory.
- Documented common patterns, troubleshooting tips, and best practices for improving test coverage and reliability.
docs: Summarize Phase 2/3 test infrastructure session outcomes
- Updated SESSION_SUMMARY.md with objectives achieved, test results, and key insights from the session.
- Highlighted improvements in test pass rates and fixed core service tests.
fix: Resolve workspace upsert bug blocking backfill feature
- Fixed the workspace upsert logic in the API to handle existing workspaces correctly.
- Updated Prisma upsert query to use the correct unique constraint and ensure proper updates.
- Added integration tests to verify the fix and ensure functionality for batch event processing.1 parent b9e4e34 commit 2baaf3b
File tree
43 files changed
+66
-40
lines changed- specs
- 015-core-simplification
- archived
- 001-ai-evaluation-system
- 003-codebase-reorganization
- 004-agent-observability-core-features
- 005-completion-roadmap
- 007-database-architecture
- 008-mvp-launch-plan
- 009-project-hierarchy-redesign
- 012-test-infrastructure-improvements
- 014-workspace-upsert-backfill-bug
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
43 files changed
+66
-40
lines changedLines changed: 6 additions & 5 deletions
Lines changed: 7 additions & 4 deletions
Lines changed: 7 additions & 4 deletions
0 commit comments