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

HSF / phoenix / 34469057217
55%
master: 38%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 10 Sep 2026 11:04AM UTC
Jobs 1
Files 59
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

10 Sep 2026 11:00AM UTC coverage: 47.73% (+0.2%) from 47.548%
34469057217

push

github

web-flow
fix(event-display): keep loading a zip when one JSON entry is malformed (#1004)

`handleZipFileEvents` called `JSON.parse` on every `.json` entry of a zip
loaded from a URL with no error handling. The `try`/`catch` above it only
covers `readZipFile`, so a SyntaxError from a bad entry escaped past it
and rejected the promise, where nothing caught it.

The damage went well beyond skipping the bad file. The JiveXML block below
never ran, so valid `.xml` entries in the same archive were dropped too,
and `parsePhoenixEvents` was never reached, so nothing from the archive
loaded at all. The rejection was unhandled, so the user saw an empty
display with no indication of what went wrong. A zip bundles many events,
so one corrupt or truncated file discarded all the others.

Wrap the parse per file, report the bad entry through `console.error` and
the info logger, and carry on with the rest.

This matches the convention established in #994 for #991, which guarded
the two `loadFile` sites. This zip path has the same defect and was not
part of that change; the `readZipFile` failure directly above it already
reports through the info logger this way.

Added a test covering that a malformed entry is reported and skipped while
the valid entries still load. It fails before this change.

Fixes #1003

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

860 of 2106 branches covered (40.84%)

Branch coverage included in aggregate %.

4 of 4 new or added lines in 1 file covered. (100.0%)

3230 of 6463 relevant lines covered (49.98%)

203.6 hits per line

Jobs
ID Job ID Ran Files Coverage
1 34469057217.1 10 Sep 2026 11:04AM UTC 59
47.73
GitHub Action Run
Source Files on build 34469057217
  • Tree
  • List 59
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #34469057217
  • d641cf01 on github
  • Prev Build on main (#34468959179)
  • Next Build on main (#34469112707)
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