David Alonso
David Alonso3w ago

`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
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
2 Replies
Convex Bot
Convex Bot3w ago
Thanks for posting in <#1088161997662724167>. Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets. - Provide context: What are you trying to achieve, what is the end-user interaction, what are you seeing? (full error message, command output, etc.) - Use search.convex.dev to search Docs, Stack, and Discord all at once. - Additionally, you can post your questions in the Convex Community's <#1228095053885476985> channel to receive a response from AI. - Avoid tagging staff unless specifically instructed. Thank you!
David Alonso
David AlonsoOP3w ago
Note that this is just showing a migrations summary for the first migration in our list dryRun: false actually does run all migrations but it's also not clear in the terminal output

Did you find this page helpful?