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

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

Build:
Build:
LAST BUILD BRANCH: 2.8.x
DEFAULT BRANCH: master
Ran 14 Jul 2026 10:33PM UTC
Jobs 1
Files 859
Run time 3min
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 10:26PM UTC coverage: 63.842% (+0.03%) from 63.813%
29373009385

push

github

web-flow
TRUNK-6516: Fix outbox/broker issues found in events/CDC sign-off (#6298) (#6313)

Backport of #6298 to 2.9.x, adapted to the 2.9.x platform (javax
persistence / Hibernate 5 / Spring 5). Addresses findings 1, 2, 4, 5, 7
from the sign-off issue.

- Finding 1: OutboxEventRegistry now owns the scheduler lifecycle. It
  triggers OutboxTaskSchedulerInitializer.schedule()/deleteScheduledTasks()
  after scanning listener beans, guaranteeing the poller only starts once
  listeners are known. OutboxTaskSchedulerInitializer no longer implements
  SmartInitializingSingleton and no longer references OutboxEventRegistry.
- Finding 2: Use Context.loadClass() instead of Class.forName() in
  OutboxPollingTaskHandler so module-defined event types resolve.
- Finding 4: Change outbox_event.payload and completed_listeners from TEXT
  to MEDIUMTEXT in the update changelog and align the OutboxEvent entity
  columnDefinition. HibernateAdministrationDAO now treats LONGTEXT and
  MEDIUMTEXT columns as unbounded so ValidateUtil accepts large payloads.
- Finding 5: BrokerEventListenerFactory rejects wildcard/raw
  BrokerIncomingEvent at registration time instead of dead-lettering.
- Finding 7: Document on OpenmrsServiceEventAdvice that a synchronous
  @EventListener exception aborting the service call is intentional.

The 2.9.x liquibase schema-only snapshot does not exist yet, so only the
update changelog carries the MEDIUMTEXT change. Context.java javadoc link
updated to OutboxTaskSchedulerInitializer#schedule().

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

19 of 27 new or added lines in 5 files covered. (70.37%)

15 existing lines in 5 files now uncovered.

24113 of 37770 relevant lines covered (63.84%)

0.64 hits per line

Uncovered Changes

Lines Coverage ∆ File
5
63.16
-24.34% api/src/main/java/org/openmrs/event/outbox/tasks/OutboxTaskSchedulerInitializer.java
2
66.67
-0.61% api/src/main/java/org/openmrs/event/outbox/OutboxEventRegistry.java
1
14.04
0.0% api/src/main/java/org/openmrs/event/outbox/tasks/OutboxPollingTaskHandler.java

Coverage Regressions

Lines Coverage ∆ File
5
67.44
-11.63% api/src/main/java/org/openmrs/event/broker/BrokerEvent.java
4
41.18
-23.53% api/src/main/java/org/openmrs/event/broker/BrokerIncomingEvent.java
3
92.47
-1.08% api/src/main/java/org/openmrs/validator/PatientProgramValidator.java
2
63.16
-24.34% api/src/main/java/org/openmrs/event/outbox/tasks/OutboxTaskSchedulerInitializer.java
1
66.67
-0.61% api/src/main/java/org/openmrs/event/outbox/OutboxEventRegistry.java
Jobs
ID Job ID Ran Files Coverage
1 29373009385.1 14 Jul 2026 10:33PM UTC 859
63.84
Source Files on build 29373009385
  • Tree
  • List 859
  • Changed 21
  • Source Changed 8
  • Coverage Changed 18
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29373009385
  • 606b5bc8 on github
  • Prev Build on 2.9.x (#29365517473)
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