Skip to content

chore(devcontainer): clean up devcontainer resources on workspace archive#428

Merged
jakehobbs merged 1 commit into
mainfrom
jakehobbs/cleanup-dangling-devcontainers
May 30, 2026
Merged

chore(devcontainer): clean up devcontainer resources on workspace archive#428
jakehobbs merged 1 commit into
mainfrom
jakehobbs/cleanup-dangling-devcontainers

Conversation

@jakehobbs
Copy link
Copy Markdown
Member

Adds a Conductor archive script (.devcontainer/workspace-archive.sh) that runs just before a workspace is archived to reclaim the per-workspace devcontainer resources Conductor itself leaves behind. It tears down the Docker Compose project (containers, network, and named volumes) and removes the ~2.9GB vsc-* image the devcontainer CLI built for the worktree. Every step is best-effort and guarded so a missing resource never blocks the archive, and it only ever acts on dxe-adb-* projects.

🤖 Generated with Claude Code

…hive

Add a conductor.json archive script that tears down the per-workspace
devcontainer resources Conductor leaves behind: the Docker Compose project
(containers, network, named volumes) plus the ~2.9GB vsc-* image the CLI
built for the worktree. Best-effort and guarded so a missing resource never
blocks the archive.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings May 30, 2026 20:22
@jakehobbs jakehobbs requested a review from alexsapps as a code owner May 30, 2026 20:22
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 30, 2026

Warning

Review limit reached

@jakehobbs, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 31 minutes and 6 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 2b1f71ec-ef98-44de-9356-74506aae8e44

📥 Commits

Reviewing files that changed from the base of the PR and between b3bc08e and e5ac811.

📒 Files selected for processing (2)
  • .devcontainer/workspace-archive.sh
  • conductor.json
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch jakehobbs/cleanup-dangling-devcontainers

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@jakehobbs jakehobbs merged commit c78e8e9 into main May 30, 2026
2 of 3 checks passed
@jakehobbs jakehobbs deleted the jakehobbs/cleanup-dangling-devcontainers branch May 30, 2026 20:23
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

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.

2 participants