Skip to content

Prevent stale workflow workspaces - #295

Open
eshulman2 wants to merge 1 commit into
forge-sdlc:mainfrom
eshulman2:fix/workspace-cleanup
Open

Prevent stale workflow workspaces#295
eshulman2 wants to merge 1 commit into
forge-sdlc:mainfrom
eshulman2:fix/workspace-cleanup

Conversation

@eshulman2

Copy link
Copy Markdown
Collaborator

Summary

  • use ownership-aware cleanup for recovery backups and normal workspace teardown
  • preserve the current registry entry when deleting a superseded workspace
  • clean workspaces recreated during CI/review when a workflow reaches complete
  • bound Podman cleanup attempts and fall back to shutil

Production cleanup

Removed the stale AISOS-2385 and AISOS-2386 directories from forge-worker-1; /tmp usage dropped from 1.7 GB to 2.7 MB.

Validation

  • 23 passed, 65 deselected (focused workspace and terminal-cleanup tests)
  • Ruff passed for all changed files
  • git diff --check passed

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