Fusion - the Fusion 360 Bridge
Public Made by Adomby adom
Drive Autodesk Fusion 360 from the cloud via Adom Bridge: component libraries, IPC package generation, board layout, exports (STEP/Gerbers/BOM/CPL), fast APS cloud search, and parametric modeling.
restart_for_addin: when the add-in cannot save, Fusion's Unsaved changes box is drawn and stays open
What happened (fusion-bridge 1.13.17, Fusion 2706, DESKTOP-BAR6S0F, 2026-10-29 16:07):
fusion_restart_for_addin {save: true} after installing a release with a new add-in version (1.0.23 → 1.0.24) left Fusion's "Unsaved changes" box open (Save / Don't Save / Cancel) for lane-BQ25792-copy. Fusion was not restarted, and the add-in stopped answering until the box was answered.
The bridge's own action log (~/.adom/fusion-bridge/actions.jsonl):
save: ok false. The add-in request failed: "Network Error ... A connection attempt failed".save-unavailable: so the restart fell back to closing Fusion the way a person would.stop: errorCodeunsaved_work, "The prompt was cancelled, so nothing was saved, discarded or closed past that point".restart_stopped_short.
Even so, the box was still open a few minutes later. I answered Save in the background with desktop_ui_click, because it was my own test copy.
Two defects
- Fusion was allowed to draw the dialog. When the add-in cannot save, the graceful close reaches Fusion's own prompt, and the cancel did not leave Fusion clear. The document read
isSaved: truewith changes pending:board_report'srun_drcstores its result in the board, and document hygiene counted it as needing a save. So nothing on the bridge side knew to save it first. - The add-in was unreachable right after
bridge_install. The save step's connection failed even thoughfusion_addin_statushad answered (1.0.23, stale) seconds before.
What it should do: when the add-in cannot save, refuse with restart_needs_decision before any close is attempted, rather than discovering the unsaved work through Fusion's dialog. Also retry the add-in connection once before falling back.
The second restart, with the document saved, went through cleanly and loaded add-in 1.0.25.