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

openmrs / openmrs-core / 29365517473
64%
master: 65%

Build:
Build:
LAST BUILD BRANCH: 2.8.x
DEFAULT BRANCH: master
Ran 14 Jul 2026 08:30PM UTC
Jobs 1
Files 859
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 Jul 2026 08:23PM UTC coverage: 63.813% (+0.04%) from 63.775%
29365517473

push

github

web-flow
TRUNK-6675: Module is not updated when omod changes (#6257)

* TRUNK-6675: Module is not updated when omod changes

* TRUNK-6675: Address review comments

- Split the deleteDirectory try-catch in the optimized-startup branch so IOException from deletion logs an accurate message instead of "Error while reading module last modified file"
- Pin getLibCacheFolderForModule_shouldRecreateNonEmptyDirWhenModuleChanged to the module-changed branch by explicitly setting optimized.startup=true

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* TRUNK-6675: Address review comments

- Extract deleteLibCacheDir helper to reduce cognitive complexity (fixes SonarCloud quality gate)
- Guard .moduleLastModified write on successful deletion so a failed delete does not mask the problem on the next restart
- Fix Context.getRuntimeProperties() defensive-copy bug in both tests: mutate the copy and push it back via Context.setRuntimeProperties() so isOptimizedStartup() actually sees the change

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* Update api/src/main/java/org/openmrs/module/ModuleClassLoader.java

Co-authored-by: dkayiwa <dkayiwa@openmrs.org>

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: dkayiwa <dkayiwa@openmrs.org>

7 of 11 new or added lines in 1 file covered. (63.64%)

21 existing lines in 8 files now uncovered.

24094 of 37757 relevant lines covered (63.81%)

0.64 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
62.84
-0.35% api/src/main/java/org/openmrs/module/ModuleClassLoader.java

Coverage Regressions

Lines Coverage ∆ File
7
15.0
-35.0% api/src/main/java/org/openmrs/scheduler/jobrunr/JobRequestHandlerAdapter.java
4
52.12
-2.42% api/src/main/java/org/openmrs/api/context/Daemon.java
4
0.0
-17.39% api/src/main/java/org/openmrs/scheduler/jobrunr/JobRunrTaskContext.java
2
77.78
-22.22% api/src/main/java/org/openmrs/scheduler/jobrunr/JobRequestAdapter.java
1
87.8
-0.61% api/src/main/java/org/openmrs/api/context/UserContext.java
1
83.54
-0.2% api/src/main/java/org/openmrs/Concept.java
1
98.85
-1.15% api/src/main/java/org/openmrs/ConceptNumeric.java
1
95.05
-0.26% api/src/main/java/org/openmrs/util/ThreadSafeCircularFifoQueue.java
Jobs
ID Job ID Ran Files Coverage
1 29365517473.1 14 Jul 2026 08:30PM UTC 859
63.81
Source Files on build 29365517473
  • Tree
  • List 859
  • Changed 12
  • Source Changed 2
  • Coverage Changed 12
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29365517473
  • 918f0511 on github
  • Prev Build on 2.9.x (#29105757637)
  • Next Build on 2.9.x (#29373009385)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc