• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

HSF / phoenix / 33948550759
55%
master: 38%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 05 Sep 2026 06:02AM UTC
Jobs 1
Files 58
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

05 Sep 2026 05:58AM UTC coverage: 46.306% (+0.02%) from 46.285%
33948550759

push

github

web-flow
fix(event-display): handle malformed JSON in user-loaded files (#994)

'Load state' and 'Load labels' both call `JSON.parse` on the contents of a
user-chosen file inside a `loadFile` callback, with no error handling. A file
that is not valid JSON throws a SyntaxError out of the callback, where
nothing catches it: the load silently does nothing and the user gets no
indication of what went wrong.

Wrap both parses and report the failure via `console.error`, matching how the
surrounding managers surface errors, then return without attempting to apply
the state or labels. `session-codec.ts` already guards its parses this way -
these two sites were simply not updated to match.

Added a test covering that a malformed state file is reported rather than
thrown, and that `loadStateFromJSON` is not called with garbage.

Fixes #991

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>

824 of 2087 branches covered (39.48%)

Branch coverage included in aggregate %.

4 of 9 new or added lines in 2 files covered. (44.44%)

3112 of 6413 relevant lines covered (48.53%)

204.44 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
8.8
-0.12% packages/phoenix-event-display/src/managers/ui-manager/index.ts
1
72.65
1.85% packages/phoenix-event-display/src/managers/state-manager.ts
Jobs
ID Job ID Ran Files Coverage
1 33948550759.1 05 Sep 2026 06:02AM UTC 58
46.31
GitHub Action Run
Source Files on build 33948550759
  • Tree
  • List 58
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #33948550759
  • fab6a002 on github
  • Prev Build on main (#33948415449)
  • Next Build on main (#33948760103)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc