feat(devbox): devbox runtime class name env support#6857
Draft
mlhiter wants to merge 4 commits intolabring:mainfrom
Draft
feat(devbox): devbox runtime class name env support#6857mlhiter wants to merge 4 commits intolabring:mainfrom
mlhiter wants to merge 4 commits intolabring:mainfrom
Conversation
…ring#6613)" This reverts commit d0ba22f.
- 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.
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.
- 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…)"
This reverts commit d0ba22f.