Repository navigation
Normalize subscription migration unscheduling JSON - #8589
Merged
gonzaloriestra merged 4 commits intoOct 9, 2026
Conversation
gonzaloriestra
added this pull request to stack #8590
September 18, 2026 12:23
gonzaloriestra
force-pushed
the
gonzalo/json-subscription-migrations-unschedule
branch
from
September 21, 2026 12:17
3e1da7a to
d0b90e1
Compare
gonzaloriestra
force-pushed
the
gonzalo/json-subscription-migrations-unschedule
branch
from
September 22, 2026 11:26
d0b90e1 to
5f3cdee
Compare
gonzaloriestra
force-pushed
the
gonzalo/json-subscription-migrations-unschedule
branch
from
September 22, 2026 12:24
5f3cdee to
1afaeb3
Compare
gonzaloriestra
force-pushed
the
gonzalo/json-subscription-migrations-unschedule
branch
2 times, most recently
from
September 24, 2026 10:41
2e90475 to
6c3df12
Compare
gonzaloriestra
marked this pull request as ready for review
September 24, 2026 10:46
gonzaloriestra
marked this pull request as draft
October 6, 2026 12:00
gonzaloriestra
force-pushed
the
gonzalo/json-subscription-migrations-unschedule
branch
from
October 6, 2026 12:05
6c3df12 to
24d3228
Compare
gonzaloriestra
force-pushed
the
gonzalo/json-subscription-migrations-unschedule
branch
from
October 6, 2026 12:26
24d3228 to
f84d3b3
Compare
gonzaloriestra
marked this pull request as ready for review
October 8, 2026 08:57
gonzaloriestra
force-pushed
the
gonzalo/json-subscription-migrations-unschedule
branch
from
October 8, 2026 11:40
f84d3b3 to
a6d9463
Compare
isaacroldan
approved these changes
Oct 8, 2026
gonzaloriestra
force-pushed
the
gonzalo/json-subscription-migrations-unschedule
branch
2 times, most recently
from
October 9, 2026 08:12
a1526af to
fe2e84b
Compare
gonzaloriestra
force-pushed
the
gonzalo/json-subscription-migrations-unschedule
branch
from
October 9, 2026 08:37
fe2e84b to
bb547fd
Compare
Contributor
|
| Changeset | Package |
|---|---|
normalize-migration-status-json.md |
"@shopify/cli": major |
normalize-migration-submission-json.md |
"@shopify/cli": major |
normalize-migration-subscription-list-json.md |
"@shopify/cli": major |
normalize-migration-unscheduling-json.md |
"@shopify/cli": major |
normalize-subscription-migration-json.md |
"@shopify/cli": major |
Contributor
Differences in type declarationsWe detected differences in the type declarations generated by Typescript for this branch compared to the baseline ('main' branch). Please, review them to ensure they are backward-compatible. Here are some important things to keep in mind:
New type declarationspackages/cli-kit/dist/public/node/error/serialization.d.tsimport type { JsonError } from './types.js';
/**
* Projects an error into the shared JSON error contract, retaining only allowlisted fields.
*
* @param source - Error to project.
* @returns The error classification, message, and available recovery information.
*/
export declare function errorToJson(source: unknown): JsonError;
Existing type declarationspackages/cli-kit/dist/private/node/json-error.d.ts@@ -1,16 +1,3 @@
-interface FatalErrorLike {
- type?: number;
- message?: unknown;
- formattedMessage?: unknown;
- tryMessage?: unknown;
- nextSteps?: unknown;
- customSections?: unknown;
- stack?: unknown;
- command?: unknown;
- args?: unknown;
- details?: unknown;
- code?: unknown;
-}
/**
* Writes the public JSON representation of a fatal error to stdout.
*
@@ -19,5 +6,4 @@ interface FatalErrorLike {
*
* @param error - Fatal error to serialize.
*/
-export declare function renderFatalErrorAsJson(error: FatalErrorLike): void;
-export {};
\ No newline at end of file
+export declare function renderFatalErrorAsJson(error: unknown): void;
\ No newline at end of file
|
gonzaloriestra
deleted the
gonzalo/json-subscription-migrations-unschedule
branch
October 9, 2026 09:10
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.
WHY are these changes introduced?
Subscription migration JSON must follow the shared CLI conventions and expose a discoverable contract.
WHAT is this pull request doing?
Share the submission contract with scheduling: explicit outcomes,
gid/shopGidandoperationGidsfields, flat results, and cancellation results that exit zero. Keep JSON format independent of non-interactive execution. RemoveschemaVersion; result contracts follow CLI release versions. Update the schema, tests, and generated help together. These existing JSON contract changes include a major changeset.How to manually test your changes?
Checklist