mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-09-30 03:01:21 +02:00
The #2575 reconciliation correctly deletes a stale external-spool assignment in on_ams_change, but did so silently: spool_assignment_changed was only broadcast by the manual REST assign/unassign endpoints, and the frontend's spool-assignments cache is invalidated only by that event. So after an external-spool type swap the DB was correct but every open browser kept rendering the unlinked spool on the slot until an unrelated refetch — which the reporter read as "the fix didn't work" (a browser refresh showed the right state all along). Broadcast spool_assignment_changed for each auto-unlinked slot after the commit. No frontend change — the handler already invalidates the cache.