v2.1.3
v2.1.3
Released: 2026-03-03
Summary
Stability patch fixing SSE connection leaks that caused the Tower dashboard to hang, plus E2E test and CI monitoring improvements.
Bug Fixes
- SSE connection leak — dashboard spinner hang (#580): Tower dashboard would hang on reload showing an infinite spinner. Root cause:
fetch+ReadableStream-based SSE connections don't auto-close likeEventSourceon page unload, exhausting Chrome's 6-per-origin connection limit. Fix: addedbeforeunloadhandler to abort SSE connections on page reload. - SSE tunnel ghost connections: Tunnel-proxied SSE connections accumulated indefinitely because both ends are localhost and TCP never detects the close. Fix: server-side max-age eviction (5 minutes) in the heartbeat loop. Clients auto-reconnect transparently.
- Dashboard E2E test failure (#579):
work-view-backlogtest failed becausePRwasn't included as a valid artifact link type. Fixed assertion to include all artifact types. - Architect command parsing (#578): Fixed flag parsing for architect commands.
Improvements
- CI health cron: Cron alert now only fires when the latest run per workflow is failing, not when any historical failure exists in the lookback window. Eliminates false alerts from stale failures.
- Dashboard E2E stability (#579, #582): Fixed test selectors, removed CI-incompatible tests, improved scheduled run reliability. CI now passes 47/47 tests with 0 failures.
Install
npm install -g @cluesmith/codev@2.1.3