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

medplum / medplum / 31060324972
92%

Build:
DEFAULT BRANCH: main
Ran 06 Aug 2026 01:09AM UTC
Jobs 1
Files 861
Run time 2min
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

06 Aug 2026 12:38AM UTC coverage: 92.064% (-0.007%) from 92.071%
31060324972

push

github

web-flow
Guard against WebSocket subscription messages without a SubscriptionStatus (#10062)

* Guard against WebSocket subscription messages without a SubscriptionStatus

The SubscriptionManager message handler read bundle?.entry?.[0]?.resource
with optional chaining but dereferenced .type on it unguarded, so any
parseable frame without a SubscriptionStatus threw
"Cannot read properties of undefined (reading 'type')" and the catch
broadcast the TypeError as an error event to every criteria emitter
(likely the Sentry noise reported in #6590).

Warn and ignore such frames instead, matching the handler's existing
treatment of notifications for unknown subscriptions. Unparseable frames
still surface through the catch as error events.

Signed-off-by: Albert Wong <183894628+ajwwong@users.noreply.github.com>

* [autofix.ci] apply automated fixes

* Include the parsed payload in the dropped-frame warning

Per review: log the received message alongside the warning for
auditability. Test asserts the payload is passed for both malformed
shapes.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Signed-off-by: Albert Wong <183894628+ajwwong@users.noreply.github.com>

---------

Signed-off-by: Albert Wong <183894628+ajwwong@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>

22985 of 26078 branches covered (88.14%)

Branch coverage included in aggregate %.

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

6 existing lines in 2 files now uncovered.

40754 of 43155 relevant lines covered (94.44%)

12210.87 hits per line

Coverage Regressions

Lines Coverage ∆ File
5
90.41
-0.84% packages/core/src/subscriptions/index.ts
1
95.16
-0.81% packages/agent/src/hl7-client-pool.ts
Jobs
ID Job ID Ran Files Coverage
1 31060324972.1 06 Aug 2026 01:09AM UTC 861
92.06
GitHub Action Run
Source Files on build 31060324972
  • Tree
  • List 861
  • Changed 3
  • Source Changed 1
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #31060324972
  • cc105401 on github
  • Prev Build on gh-readonly-queue/main/pr-10106-93088f7fec5ea1597d918c0b80aeeff9f0b04678 (#31055315941)
  • Next Build on main (#31071675445)
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