gsxdsm
3fac409cf9
FN-7452: preserve workflow settings after identity assignment
Preserve rootDir-migrated workflow settings once a durable project identity is assigned.
- Store the Fusion directory on Database instances so identity writes can detect rootDir-keyed workflow settings.
- Reconcile fallback workflow_settings rows into the identity-keyed row without overwriting existing identity values.
- Cover rootDir backfill, conflict merging, and corrupt or empty row handling in settings migration tests.
- Add a patch changeset for the published Fusion CLI package.
Files changed:
.changeset/fn-7452-workflow-settings-identity.md | 7 ++
.../core/src/__tests__/settings-migration.test.ts | 89 ++++++++++++++++++++++
packages/core/src/db.ts | 84 ++++++++++++++++----
3 files changed, 166 insertions(+), 14 deletions(-)
Fusion-Task-Id: FN-7452
Fusion-Task-Lineage: 0a49a969-fbce-45bb-adda-95b67e5c680d
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>
2026-07-02 14:24:09 -07:00
..
2026-07-02 14:24:09 -07:00
2026-07-02 00:22:58 -07:00
2026-07-02 00:22:58 -07:00
2026-04-18 23:41:47 -07:00
2026-06-20 10:28:25 -07:00