`migrations:runAll` not showing expected output
I would have expected the following to show me the regular output of individual dry runs but for all migrations
Tagging @Michael
npx convex run migrations:runAll '{dryRun: true}'
[CONVEX ?(migrations:runAll)] [WARN] 'Running this from the dashboard? Here\'s some args to use:'
[CONVEX ?(migrations:runAll)] [WARN] {
'Dry run': '{ "dryRun": true, "cursor": null }',
'For real': '{ "fn": "path/to/migrations:yourFnName" }'
}
[CONVEX ?(migrations:runAll)] [DEBUG] 'DRY RUN: No changes were found in the first page. Try {"dryRun": true, "cursor": "075eb8195265dca32d17b67e61056da93b293a89715b695a0e8f22903b037035550602d4beef4e2fffbcff685a85572020ca6b5bbd5c83a3cf3ec1fb9c9cc4be0e0089734273cf97f9cf41946badcb0699aba65777cbc79cc605a0637af3942cf03b2a"}'
{
DryRun: 'No changes were committed.',
Name: 'migrations/0001_bid:addMissingBid',
Status: 'DRY RUN: Migration already done.',
lastFinished: '2025-04-04T04:31:02.540Z',
lastStarted: '2025-04-04T04:31:02.540Z',
nowUp: [
'migrations/0001_bid:useBidInForkedFromAppProp',
'migrations/0001_bid:removeAppIdFromForkedFromAppProp',
'migrations/0002_appsOptionalFields:markAllAppsAsReady'
],
processed: 16
}npx convex run migrations:runAll '{dryRun: true}'
[CONVEX ?(migrations:runAll)] [WARN] 'Running this from the dashboard? Here\'s some args to use:'
[CONVEX ?(migrations:runAll)] [WARN] {
'Dry run': '{ "dryRun": true, "cursor": null }',
'For real': '{ "fn": "path/to/migrations:yourFnName" }'
}
[CONVEX ?(migrations:runAll)] [DEBUG] 'DRY RUN: No changes were found in the first page. Try {"dryRun": true, "cursor": "075eb8195265dca32d17b67e61056da93b293a89715b695a0e8f22903b037035550602d4beef4e2fffbcff685a85572020ca6b5bbd5c83a3cf3ec1fb9c9cc4be0e0089734273cf97f9cf41946badcb0699aba65777cbc79cc605a0637af3942cf03b2a"}'
{
DryRun: 'No changes were committed.',
Name: 'migrations/0001_bid:addMissingBid',
Status: 'DRY RUN: Migration already done.',
lastFinished: '2025-04-04T04:31:02.540Z',
lastStarted: '2025-04-04T04:31:02.540Z',
nowUp: [
'migrations/0001_bid:useBidInForkedFromAppProp',
'migrations/0001_bid:removeAppIdFromForkedFromAppProp',
'migrations/0002_appsOptionalFields:markAllAppsAsReady'
],
processed: 16
}Tagging @Michael
