Skip to content

feat(devbox): devbox runtime class name env support#6857

Draft
mlhiter wants to merge 4 commits intolabring:mainfrom
mlhiter:feat/add-runtime-env-support
Draft

feat(devbox): devbox runtime class name env support#6857
mlhiter wants to merge 4 commits intolabring:mainfrom
mlhiter:feat/add-runtime-env-support

Conversation

@mlhiter
Copy link
Copy Markdown
Member

@mlhiter mlhiter commented Apr 1, 2026

…)"

This reverts commit d0ba22f.

mlhiter added 2 commits April 1, 2026 16:16
- Introduced DEVBOX_RUNTIME_CLASS_NAME to .env.template and default environment settings.
- Updated API routes to utilize the new runtime class name in devbox creation and updates.
- Enhanced YAML generation functions to include runtime class name in the configuration.
@mlhiter mlhiter requested a review from a team as a code owner April 1, 2026 08:24
@pull-request-size
Copy link
Copy Markdown

Whoa! Easy there, Partner!

This PR is too big. Please break it up into smaller PRs.

…issues

- Changed exports of ErrorCode and ErrorType to use local constants to prevent SWC from dropping re-exported bindings during Next.js builds.
- Maintained existing functionality while improving code clarity.
@mlhiter mlhiter marked this pull request as draft April 1, 2026 09:03
- Added a new function to preserve the existing runtime class name when applying patches to devbox configurations.
- Updated API routes to utilize this function, ensuring that the runtime class name is maintained if it already exists.
- Enhanced error logging for better debugging in case of failures during the patch process.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant