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
{{ message }}
Repository navigation
Commit b653f5e
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: apps/sim/scripts/backfill-projects.ts
+15-17Lines changed: 15 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -125,7 +125,7 @@ async function main() {
125
125
if(values.help||!positionals.length){
126
126
process.stdout.write(`Operator-controlled Project preparation; never runs automatically on deployment.\n
127
127
From apps/sim: bun --no-env-file scripts/backfill-projects.ts <command> [options]\n
128
-
plan Read-only discovery; atomically writes a new --manifest PATH (never overwrites).\nrepair Repair only archived environments listed in --manifest; requires --report PATH.\napply Assign reviewed families from --manifest; requires --report PATH.\nverify Fresh database validation; include --manifest and --report to verify repair completion.\nstatus Read --report; does not connect or resume.\n
128
+
plan Read-only discovery; atomically writes a new --manifest PATH (never overwrites).\nrepair Repair only archived environments listed in --manifest; requires --report PATH.\napply Assign reviewed families from --manifest; requires --report PATH.\nverify Validate the database and repair completion; requires --manifest and --report.\nstatus Read --report; does not connect or resume.\n
129
129
Writes require MIGRATION_DATABASE_URL pointing directly to the primary and --ack-release-drained.\nDeploy #8830 and verify old servers/workers drained first. Keep the reviewed manifest and report\nin durable private job storage. Review conflicts and repairs before repair/apply. Repair requires\nthe app runtime environment (DATABASE_URL must target the same database) for provider cleanup.\n
130
130
Defaults: --batch-size 50 (1–50), --max-batches 100 (1–10000), --seconds 60 (1–3600), --pause-ms 100 (1–60000).\nA budget limits scheduling. Transactions use 3s statement limits and a 5s total limit on PG17+,\notherwise a 5s idle-transaction limit on PG16. Reuse the same report\nto resume; lost reports can be recreated safely from the same manifest. Changed families need a\nnew plan/report. Complete verify plus deployment evidence is required before #8590 enforcement.\nExit: 0 complete, 2 paused/incomplete, 1 failure. Never run db:migrate to launch this tool.\n`)
0 commit comments