Files
fusion/packages
gsxdsm 77a109958b FN-5796: make plugin same-state transitions idempotent
Prevent duplicate-state plugin updates from throwing invalid transition errors.

- treat updatePluginState calls where next state equals current state as idempotent no-ops
- allow same-state updates with an explicit error payload to persist error changes and emit plugin:updated
- add regression tests for same-state no-op behavior, no extra stateChanged event emission, and error payload updates
- add a patch changeset documenting the Dependency Graph plugin fix

Files changed:
 .changeset/fn-5796-plugin-state-noop.md          |  7 +++++
 packages/core/src/__tests__/plugin-store.test.ts | 34 ++++++++++++++++++++++++
 packages/core/src/plugin-store.ts                | 15 +++++++++++
 3 files changed, 56 insertions(+)

Fusion-Task-Id: FN-5796

Fusion-Task-Lineage: 0da1d035-383f-456c-a212-0903dc029874
2026-05-31 20:50:09 -07:00
..
2026-05-31 20:05:32 -07:00
2026-05-31 20:05:32 -07:00
2026-05-31 20:05:32 -07:00
2026-05-31 20:05:32 -07:00
2026-05-31 20:05:32 -07:00
2026-05-31 20:05:32 -07:00
2026-05-31 20:05:32 -07:00
2026-05-31 20:05:32 -07:00
2026-05-31 20:05:32 -07:00