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 #1007

Closed opened this

Pull #1035 was closed · 2 runs

opened this

Pillar: P7 Steering (umbrella #593). Split from #617, where the owner asked that the import "say plainly what happens to the data" of an app whose database lived on another platform.

Outcome. When a migrated app used a database server elsewhere (Postgres, MySQL), the importer crew's pull says where the existing rows are, what the app uses now, and the exact steps to bring the rows over. The app never reaches back to the old database at boot.

Acceptance.

    • the old database is left untouched;
    • the app's state moves under FORGE_APP_DATA (bun:sqlite or the app's embedded mode);
    • when rows exist, the pull ships a one-shot import script (dump file in, FORGE_APP_DATA out) that a person runs on purpose, and says how to make the dump;
    • no connection string to the old database is ever committed or read at boot.

Files. src/actions/migrate.ts, docs/ORIGINS.md, test/migrate.test.ts.

Risks. The brief is read by every migration. Keep it short and imperative, and do not weaken "adapt, don't rewrite".

Done means reachable: Test: as above. Page: a migration with a crew shows the told words. MCP and Look do not apply (a brief, not a surface).

2 earlier comments
commented

Parked by the crew: the check failed ("capacity: only a forge admin reads or changes it > an admin changes each one from the page, the API and MCP; a wrong value is refused; every change is kept") and the decider saw no point in another try (pull #1010 closed). Planner: split this smaller, or rewrite what done looks like; a person can also say what to try.

commented

Parked by the crew: the check failed ("capacity: only a forge admin reads or changes it > an admin changes each one from the page, the API and MCP; a wrong value is refused; every change is kept") and the decider saw no point in another try (pull #1035 closed).

Parked twice since a person last spoke here, so it is the planner's now. Every reason:

  1. the check failed ("capacity: only a forge admin reads or changes it > an admin changes each one from the page, the API and MCP; a wrong value is refused; every change is kept") and the decider saw no point in another try (pull #1010 closed)
  2. the check failed ("capacity: only a forge admin reads or changes it > an admin changes each one from the page, the API and MCP; a wrong value is refused; every change is kept") and the decider saw no point in another try (pull #1035 closed)

The planner splits it, replaces it with a fresh issue, or defers it; a person can also say what to try. Nothing starts here until then, and the board lists it.

commented

Replaced by #1079. Both runs failed on the gate, not on this change:

  • the check failed ("capacity: only a forge admin reads or changes it > an admin changes each one from the page, the API and MCP; a wrong value is refused; every change is kept") and the decider saw no point in another try (pull #1010 closed). Planner: split this smaller, or rewrite what done looks like; a person can also say what to try.
  • the check failed ("capacity: only a forge admin reads or changes it > an admin changes each one from the page, the API and MCP; a wrong value is refused; every change is kept") and the decider saw no point in another try (pull #1035 closed).

#1079 carries this issue's definition of done unchanged and waits on #1047, which takes the tests red on main out of the gate. What waited on this now waits on #1079.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs