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

medplum / medplum / 31847754187
92%
main: 92%

Build:
Build:
LAST BUILD BRANCH: config-default-app-name
DEFAULT BRANCH: main
Ran 14 Aug 2026 10:58PM UTC
Jobs 1
Files 884
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

14 Aug 2026 10:43PM UTC coverage: 92.191%. Remained the same
31847754187

push

github

web-flow
perf(subscriptions): drop redundant deepClone in the subscription worker (#10213)

readVersion builds its result from parseHistoryContent, which is a JSON.parse of
the history row, and removeHiddenFields then mutates and returns that same
object. The resource is therefore already private to this caller, so cloning it
before rewriteAttachments copied something no one else could observe. Its only
consumers are execBot and sendRestHook, and it is not read afterwards.

The clone was redundant before the attachment-rewrite fast path as well, since
rewriteAttachments rebuilt the whole object graph anyway. It is removed here
rather than in that change because it needs its own verification.

Adds a test pinning the invariant the removal depends on: two readVersion calls
must not share structure. If a future in-process cache makes readVersion hand
out shared objects, that test fails and flags every caller that mutates its
result in place.

Signed-off-by: Derrick Farris <derrick@medplum.com>

24040 of 27218 branches covered (88.32%)

Branch coverage included in aggregate %.

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

42390 of 44839 relevant lines covered (94.54%)

11751.09 hits per line

Jobs
ID Job ID Ran Files Coverage
1 31847754187.1 14 Aug 2026 10:58PM UTC 884
92.19
GitHub Action Run
Source Files on build 31847754187
  • Tree
  • List 884
  • 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 #31847754187
  • d98cee79 on github
  • Prev Build on gh-readonly-queue/main/pr-10204-b82c16db5e493d31a4450cecb30516891a4698dd (#31847753089)
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