Fusion
5e58ab91cf
feat(FN-3003): merge fusion/fn-3003
- Unify notification service ownership across the engine: `Notifier` now operates on `ProjectEngine` rather than its own `Core` reference, resolving stale-closure issues during engine lifecycle
- Add regression tests in `notifier.test.ts` covering merge dedupe wiring and ownership initialization
- Expand `project-engine.test.ts` to cover ownership state transitions and `ProjectEngine`-notifier integration
- Fix TypeScript regressions in `ModelOnboardingModal.tsx` and `SettingsModal.tsx` introduced by custom provider types
- Document the notification ownership model in `docs/architecture.md`
Commits merged:
- feat(FN-3003): complete Step 4 — document notification ownership model
- fix(FN-3003): resolve dashboard custom provider typecheck regressions
- test(FN-3003): complete Step 2 — add merge dedupe wiring regressions
- feat(FN-3003): complete Step 1 — unify notification service ownership
Files changed:
docs/architecture.md | 2 +
.../app/components/ModelOnboardingModal.tsx | 13 +++++-
.../dashboard/app/components/SettingsModal.tsx | 17 +++++--
packages/engine/src/__tests__/notifier.test.ts | 33 ++++++++++++++
.../engine/src/__tests__/project-engine.test.ts | 53 +++++++++++++++++++---
packages/engine/src/notifier.ts | 3 +-
packages/engine/src/project-engine.ts | 12 +++--
7 files changed, 116 insertions(+), 17 deletions(-)
Fusion-Task-Id: FN-3003
2026-04-29 21:48:13 -07:00
..
2026-04-29 14:23:58 -07:00
2026-04-28 14:25:55 -07:00
2026-04-15 19:27:53 -07:00
2026-04-27 19:59:52 -07:00
2026-04-27 19:59:52 -07:00
2026-04-27 19:59:52 -07:00
2026-04-24 19:39:20 -07:00
2026-04-24 19:39:20 -07:00
2026-04-29 13:29:00 -07:00
2026-04-27 03:13:32 -07:00
2026-04-17 09:16:08 -07:00
2026-04-22 09:56:26 -07:00
2026-04-28 18:21:17 -07:00
2026-04-27 19:59:52 -07:00
2026-04-29 16:55:20 -07:00
2026-04-29 14:26:58 -07:00
2026-04-25 00:07:19 -07:00
2026-04-29 16:11:59 -07:00
2026-04-28 19:20:10 -07:00
2026-04-25 01:45:29 -07:00
2026-04-27 12:45:53 -07:00
2026-04-29 09:21:30 -07:00
2026-04-29 09:46:16 -07:00
2026-04-29 13:23:31 -07:00
2026-04-27 19:59:52 -07:00
2026-04-27 04:05:25 -07:00
2026-04-18 12:21:14 -07:00
2026-04-28 19:20:10 -07:00
2026-04-25 17:44:55 -07:00
2026-04-25 19:35:47 -07:00
2026-04-29 20:15:05 -07:00
2026-04-24 19:39:20 -07:00
2026-04-24 13:29:48 -07:00
2026-04-22 16:31:30 -07:00
2026-04-22 15:53:08 -07:00
2026-04-25 11:28:33 -07:00
2026-04-24 08:55:02 -07:00
2026-04-25 10:50:32 -07:00
2026-04-27 19:59:52 -07:00
2026-04-29 19:09:55 -07:00
2026-04-24 19:39:20 -07:00
2026-04-18 07:36:57 -07:00
2026-04-28 16:20:24 -07:00
2026-04-27 04:05:25 -07:00
2026-04-27 19:59:52 -07:00
2026-04-29 00:09:39 -07:00
2026-04-29 16:25:30 -07:00
2026-04-29 12:12:05 -07:00
2026-04-27 02:24:21 -07:00
2026-04-28 19:20:10 -07:00
2026-04-27 19:59:52 -07:00
2026-04-28 14:25:55 -07:00
2026-04-24 09:38:16 -07:00
2026-04-24 19:39:20 -07:00
2026-04-24 19:39:20 -07:00
2026-04-24 19:39:20 -07:00
2026-04-29 13:29:00 -07:00
2026-04-27 16:05:50 -07:00
2026-04-24 19:39:20 -07:00
2026-04-29 00:23:29 -07:00
2026-04-27 19:59:52 -07:00
2026-04-17 05:36:02 -07:00
2026-04-29 20:15:05 -07:00
2026-04-26 12:25:10 -07:00
2026-04-28 18:21:17 -07:00
2026-04-27 19:59:52 -07:00
2026-04-28 14:25:56 -07:00
2026-04-27 19:59:52 -07:00
2026-04-27 19:59:52 -07:00
2026-04-16 08:38:08 -07:00
2026-04-28 23:23:34 -07:00
2026-04-24 19:39:20 -07:00
2026-04-16 09:08:06 -07:00
2026-04-17 08:01:38 -07:00
2026-04-29 17:23:22 -07:00
2026-04-25 07:04:50 -07:00
2026-04-24 08:55:02 -07:00
2026-04-28 14:25:55 -07:00
2026-04-27 19:59:52 -07:00
2026-04-27 19:59:52 -07:00
2026-04-16 10:04:44 -07:00
2026-04-25 07:04:50 -07:00
2026-04-27 19:59:52 -07:00
2026-04-14 10:43:51 -07:00
2026-04-28 23:23:34 -07:00
2026-04-18 03:08:00 -07:00
2026-04-27 19:25:10 -07:00
2026-04-23 10:58:36 -07:00
2026-04-29 19:15:23 -07:00
2026-04-29 00:09:39 -07:00
2026-04-27 19:59:52 -07:00
2026-04-27 19:59:52 -07:00
2026-04-27 19:59:52 -07:00
2026-04-29 12:12:05 -07:00
2026-04-27 04:05:25 -07:00
2026-04-27 19:59:52 -07:00
2026-04-16 08:38:55 -07:00
2026-04-27 19:59:52 -07:00
2026-04-27 19:59:52 -07:00
2026-04-29 20:15:05 -07:00
2026-04-29 20:15:05 -07:00
2026-04-29 20:15:05 -07:00
2026-04-16 08:38:08 -07:00
2026-04-16 08:38:08 -07:00
2026-04-16 04:38:05 -07:00
2026-04-19 20:48:13 -07:00
2026-04-28 21:13:30 -07:00
2026-04-24 19:39:20 -07:00
2026-04-25 12:40:32 -07:00
2026-04-27 04:05:25 -07:00
2026-04-27 08:45:49 -07:00
2026-04-29 21:48:13 -07:00
2026-04-29 11:42:37 -07:00
2026-04-26 22:21:18 -07:00
2026-04-29 18:01:59 -07:00
2026-04-22 08:04:24 -07:00
2026-04-28 16:24:22 -07:00
2026-04-28 19:20:10 -07:00
2026-04-27 19:59:52 -07:00
2026-04-29 17:23:22 -07:00
2026-04-29 21:33:18 -07:00
2026-04-29 00:31:46 -07:00
2026-04-27 19:59:52 -07:00
2026-04-25 12:18:55 -07:00
2026-04-13 17:41:33 -07:00