You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary
This change set improves export behavior for stacks that use nested global fields, completes the move of the plugin into the cli-plugins repository, fixes incorrect or noisy message-code output in the console, and adds support for the v2-beta API or export path (adjust the wording to match your actual surface: flag, env, or default version).
Changes
Nested global field support
Ensures global fields referenced inside other global fields (or nested structures) are resolved and exported consistently with the rest of the schema, so dependent definitions are not dropped or flattened incorrectly.
Migrate plugin to cli-plugins repo
Relocates the export package (and any shared tooling) under the monorepo’s cli-plugins layout so it builds, versions, and ships with the rest of the CLI plugins.
Update any import paths, CI jobs, and docs that still pointed at the old package location.
Fix message code print issue
Corrects how message / error codes are printed (e.g. raw object vs string, duplicate codes, or missing codes) so operators see stable, readable identifiers when debugging failures.
Support v2-beta
Adds or wires through v2-beta support for the export flow (version selection, API client, or response handling as applicable), with backward compatibility for existing callers where required.
Testing
Export a stack that uses nested global fields and confirm globals and dependents match the source stack.
Run export against an environment that requires v2-beta and confirm success paths and errors show the expected message codes.
Smoke-test install/build from cli-plugins (workspace or published artifact).
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
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.
Summary
This change set improves export behavior for stacks that use nested global fields, completes the move of the plugin into the cli-plugins repository, fixes incorrect or noisy message-code output in the console, and adds support for the v2-beta API or export path (adjust the wording to match your actual surface: flag, env, or default version).
Changes
Nested global field support
Ensures global fields referenced inside other global fields (or nested structures) are resolved and exported consistently with the rest of the schema, so dependent definitions are not dropped or flattened incorrectly.
Migrate plugin to cli-plugins repo
Relocates the export package (and any shared tooling) under the monorepo’s cli-plugins layout so it builds, versions, and ships with the rest of the CLI plugins.
Update any import paths, CI jobs, and docs that still pointed at the old package location.
Fix message code print issue
Corrects how message / error codes are printed (e.g. raw object vs string, duplicate codes, or missing codes) so operators see stable, readable identifiers when debugging failures.
Support v2-beta
Adds or wires through v2-beta support for the export flow (version selection, API client, or response handling as applicable), with backward compatibility for existing callers where required.
Testing
Export a stack that uses nested global fields and confirm globals and dependents match the source stack.
Run export against an environment that requires v2-beta and confirm success paths and errors show the expected message codes.
Smoke-test install/build from cli-plugins (workspace or published artifact).