gsxdsm
ac92174cba
FN-5907: harden planning task creation side effects
Keep Planning Mode task creation responses successful when follow-up work fails.
- catch and log planning create-task/create-tasks side-effect failures so the API can still return 201 after task creation succeeds
- safely handle async task lifecycle listener failures in the core store to avoid leaking unhandled rejections during follow-up updates
- add regression coverage for single-task and multi-task Planning Mode creation across live/persisted sessions, branch selection surfaces, and GitHub tracking failures
Files changed:
.changeset/fn-5907-planning-create-fetch.md | 5 +
.../core/src/__tests__/task-creation-hook.test.ts | 25 ++
packages/core/src/store.ts | 38 ++-
.../src/__tests__/routes-planning-tracking.test.ts | 108 ++++++++-
.../src/__tests__/routes-planning.test.ts | 267 +++++++++++++++++++++
.../src/routes/register-planning-subtask-routes.ts | 69 +++++-
6 files changed, 496 insertions(+), 16 deletions(-)
Fusion-Task-Id: FN-5907
Fusion-Task-Lineage: d9f6574b-e19b-4459-a612-7a3d2510836f
2026-06-03 13:20:17 -07:00
..
2026-06-02 21:54:14 -07:00
2026-05-31 20:05:32 -07:00
2026-06-03 13:20:17 -07:00
2026-06-03 13:20:17 -07:00
2026-05-31 20:05:32 -07:00
2026-05-31 20:05:32 -07:00
2026-06-03 13:08:06 -07:00
2026-05-31 20:05:32 -07:00
2026-05-31 20:05:32 -07:00
2026-05-28 21:23:48 -07:00
2026-05-31 20:05:32 -07:00