refactor: split provider implementations and add comprehensive CI#23
Merged
Conversation
Major refactoring of provider architecture and testing infrastructure: Provider Architecture: - Split monolithic provider.ts into modular architecture - Create src/infra/providers/ with separate files per provider - Add shared core utilities (errors, retry, usage, fork, logger) - Improve type safety with dedicated types.ts and utils.ts CI/CD Pipeline: - Add GitHub Actions workflow with 4-stage pipeline - Stage 1: Lint, TypeCheck, Build - Stage 2: Unit tests - Stage 3: Provider E2E tests (Anthropic, OpenAI, Gemini matrix) - Stage 4: Agent integration tests Agent Integration Tests: - Add comprehensive ci-integration.test.ts - Test file operations (create, read, edit, glob) - Test bash commands (system info, ls, env vars) - Test multi-turn context preservation - Test resume/restore functionality - Test error handling (missing files, failed commands) Code Quality: - Remove outdated documentation files (PROGRESS_REPORT, MIGRATION_V2.7, etc.) - Update .env.test.example with proper structure - Improve test assertions for provider flexibility - Register builtin tools for integration tests Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
The test was checking for 'archived' directory but the SkillsManagementManager uses '.archived' (with dot prefix). Fixed the test to check the correct path. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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.
Summary
src/infra/providers/Changes
Provider Architecture
CI/CD Pipeline
Testing
tests/integration/agent/ci-integration.test.tswith comprehensive agent teststests/integration/providers/multi-provider.test.tsCode Quality
Test plan
🤖 Generated with Claude Code