Skip to content

feat(cmd): add set-up command for BYOC container configuration#196

Merged
skevetter merged 1 commit into
mainfrom
b511-80ea-devsy-014-setup-byoc
May 4, 2026
Merged

feat(cmd): add set-up command for BYOC container configuration#196
skevetter merged 1 commit into
mainfrom
b511-80ea-devsy-014-setup-byoc

Conversation

@skevetter

Copy link
Copy Markdown
Contributor

Summary

Adds a new devsy set-up command that applies devcontainer.json configuration (lifecycle hooks and containerEnv) to an already-running container without building an image. This enables BYOC (Bring Your Own Container) workflows where users have pre-existing containers and want to apply devcontainer lifecycle hooks via docker exec.

The command accepts --container (required), --config (optional path to devcontainer.json), and --workspace-folder (optional workspace path inside the container). It parses the devcontainer.json and executes postCreateCommand and postStartCommand hooks with containerEnv variables passed as -e flags to docker exec.

Introduces a new `devsy set-up` command that applies devcontainer lifecycle
hooks (postCreateCommand, postStartCommand) and containerEnv variables to
an already-running container via `docker exec`, without building an image.
@netlify

netlify Bot commented May 4, 2026

Copy link
Copy Markdown

Deploy Preview for devsydev canceled.

Name Link
🔨 Latest commit f8a564d
🔍 Latest deploy log https://app.netlify.com/projects/devsydev/deploys/69f82e91d1bb1c0008de250c

@coderabbitai

coderabbitai Bot commented May 4, 2026

Copy link
Copy Markdown

Warning

Rate limit exceeded

@skevetter has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 3 minutes and 44 seconds before requesting another review.

To keep reviews running without waiting, you can enable usage-based add-on for your organization. This allows additional reviews beyond the hourly cap. Account admins can enable it under billing.

⌛ How to resolve this issue?

After the wait time has elapsed, 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 have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 0f1e1cb7-2c3c-4aa1-8784-74be5cf8045a

📥 Commits

Reviewing files that changed from the base of the PR and between bb0c72f and f8a564d.

📒 Files selected for processing (4)
  • cmd/root.go
  • cmd/setup.go
  • cmd/setup_test.go
  • e2e/tests/setup/setup.go

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
Review rate limit: 0/1 reviews remaining, refill in 3 minutes and 44 seconds.

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

@skevetter
skevetter marked this pull request as ready for review May 4, 2026 05:28
@skevetter
skevetter enabled auto-merge (squash) May 4, 2026 05:28
@github-actions github-actions Bot added the size/l label May 4, 2026
@skevetter
skevetter merged commit 3eb488e into main May 4, 2026
53 checks passed
@skevetter
skevetter deleted the b511-80ea-devsy-014-setup-byoc branch May 4, 2026 06:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant