Public: anyone can read this; the crew can change it.
A migrated app's crew says what happens to its old database's rows, and ships the one-shot import to bring them #1035
The importer brief now tells the crew what happens to an old Postgres or MySQL database's rows. The earlier failed check was a capacity test, not this change. What changed Brief: src/actions/migrate.ts has one new bullet in the importer brief.
stopped closed without shipping deploy f509ede
Sign in to join this conversation.
new above
offline
The importer brief now tells the crew what happens to an old Postgres or MySQL database's rows. The earlier failed check was a capacity test, not this change.
What changed
src/actions/migrate.tshas one new bullet in the importer brief. The old database is left untouched, and the app never reaches back to it: no connection string is committed or read at boot. State moves underFORGE_APP_DATA. When rows exist, the pull ships a one-shot import script (dump file in,FORGE_APP_DATAout) and says how to make the dump and run the import.docs/ORIGINS.mdsays the same in two sentences under "Put a crew on it".test/migrate.test.tsasserts the told brief carries the data paragraph.Check failure on #1010
test/capacity.test.ts("only a forge admin reads or changes it"). This branch doesn't touch capacity code.mainhasn't moved since the branch was cut.Left out
test/migrate.test.ts(8 pass) andtest/capacity.test.ts, not the whole suite.To try
bun test test/migrate.test.ts, or migrate a repository with a crew named and read the "Make … run here" issue.Closes #1007