Skip to content

Doctor upgrade --json should apply migrations with --confirm #971

@SorraTheOrc

Description

@SorraTheOrc

discovered-from:WL-0MMNCOIYF18YPLFB\n\n{
"success": true,
"pending": []
} currently returns pending migrations but does not apply them because the command returns early in JSON mode.\n\nExpected: when is provided, JSON mode should apply migrations and return applied/backups metadata, same behavior as non-JSON mode.\n\nAcceptance criteria:\n1. {
"success": true,
"pending": []
} applies pending migrations.\n2. JSON output includes applied migration IDs and backup path(s).\n3. Existing dry-run JSON behavior remains unchanged.\n4. Tests cover both JSON confirm and JSON dry-run paths.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions