Skip to content

Fix workspace retry recovery loop#114

Merged
eshulman2 merged 1 commit into
forge-sdlc:mainfrom
eshulman2:fix-workspace-retry-recreate-cap
Jun 30, 2026
Merged

Fix workspace retry recovery loop#114
eshulman2 merged 1 commit into
forge-sdlc:mainfrom
eshulman2:fix-workspace-retry-recreate-cap

Conversation

@eshulman2

Copy link
Copy Markdown
Collaborator

Summary

  • recreate an existing worker workspace from the fork branch when workspace sync fails
  • persist a blocked/paused state when auto-retry reaches the cap to avoid repeated error loops
  • add regression coverage for workspace recreation and retry-cap blocking

Tests

  • UV_CACHE_DIR=/tmp/uv-cache uv run pytest tests/unit/workflow/nodes/test_workspace_setup.py tests/unit/workflow/test_implement_review.py tests/unit/orchestrator/test_worker.py::TestQuestionDetection::test_auto_retry_cap_marks_workflow_blocked_once
  • UV_CACHE_DIR=/tmp/uv-cache uv run ruff check src/forge/workflow/nodes/workspace_setup.py tests/unit/workflow/nodes/test_workspace_setup.py

@eshulman2 eshulman2 merged commit a7a8b27 into forge-sdlc:main Jun 30, 2026
2 checks passed
@eshulman2 eshulman2 deleted the fix-workspace-retry-recreate-cap branch June 30, 2026 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant