mirror of
https://github.com/Donkie/Spoolman.git
synced 2026-10-19 00:29:46 -05:00
Spool responses carry fields derived from the filament (remaining_length, plus the initial_weight/price fall-backs). Editing a filament emitted only a filament WS event, so subscribers to that filament's spools kept stale derived values until each spool was next touched — visible in client_v2 as a length inconsistent with the displayed density, but affecting every consumer. filament.update now re-broadcasts the filament's spools (archived included) as spool "updated" events after commit. Adds a WS integration test asserting a density patch reaches /api/v1/spool with the new density and changed length. Claude-Session: https://claude.ai/code/session_014Cwk5Yyze9yPvkYkUtMAP4
5 lines
67 B
Plaintext
5 lines
67 B
Plaintext
pytest==9.1.1
|
|
pytest-asyncio==1.4.0
|
|
httpx==0.27.0
|
|
websockets==13.1
|