Migration from Docker to Standalone Python Server (#73)
* Migration from docker to standalone server Migration handling Fixed tests Use simpler in-memory storage Support for concurrent logging to disk Simplified direct connections to localhost * Migration from docker / redis to standalone script Updated tests Updated run script Fixed requirements Use dotenv Ask if user would like to install MCP in Claude Desktop once Updated docs * More cleanup and references to docker removed * Cleanup * Comments * Fixed tests * Fix GitHub Actions workflow for standalone Python architecture - Install requirements-dev.txt for pytest and testing dependencies - Remove Docker setup from simulation tests (now standalone) - Simplify linting job to use requirements-dev.txt - Update simulation tests to run directly without Docker Fixes unit test failures in CI due to missing pytest dependency. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> * Remove simulation tests from GitHub Actions - Removed simulation-tests job that makes real API calls - Keep only unit tests (mocked, no API costs) and linting - Simulation tests should be run manually with real API keys - Reduces CI costs and complexity GitHub Actions now only runs: - Unit tests (569 tests, all mocked) - Code quality checks (ruff, black) 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> * Fixed tests * Fixed tests --------- Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
committed by
GitHub
parent
9d72545ecd
commit
4151c3c3a5
@@ -35,7 +35,7 @@ class ToolOutput(BaseModel):
|
||||
status: Literal[
|
||||
"success",
|
||||
"error",
|
||||
"clarification_required",
|
||||
"files_required_to_continue",
|
||||
"full_codereview_required",
|
||||
"focused_review_required",
|
||||
"test_sample_needed",
|
||||
@@ -55,11 +55,11 @@ class ToolOutput(BaseModel):
|
||||
)
|
||||
|
||||
|
||||
class ClarificationRequest(BaseModel):
|
||||
"""Request for additional context or clarification"""
|
||||
class FilesNeededRequest(BaseModel):
|
||||
"""Request for missing files / code to continue"""
|
||||
|
||||
status: Literal["clarification_required"] = "clarification_required"
|
||||
question: str = Field(..., description="Question to ask Claude for more context")
|
||||
status: Literal["files_required_to_continue"] = "files_required_to_continue"
|
||||
mandatory_instructions: str = Field(..., description="Critical instructions for Claude regarding required context")
|
||||
files_needed: Optional[list[str]] = Field(
|
||||
default_factory=list, description="Specific files that are needed for analysis"
|
||||
)
|
||||
@@ -362,7 +362,7 @@ class NoBugFound(BaseModel):
|
||||
|
||||
# Registry mapping status strings to their corresponding Pydantic models
|
||||
SPECIAL_STATUS_MODELS = {
|
||||
"clarification_required": ClarificationRequest,
|
||||
"files_required_to_continue": FilesNeededRequest,
|
||||
"full_codereview_required": FullCodereviewRequired,
|
||||
"focused_review_required": FocusedReviewRequired,
|
||||
"test_sample_needed": TestSampleNeeded,
|
||||
|
||||
Reference in New Issue
Block a user