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

codeigniter4 / CodeIgniter4 / 25151096414
89%
develop: 88%

Build:
Build:
LAST BUILD BRANCH: feat/request-id
DEFAULT BRANCH: develop
Ran 30 Apr 2026 06:48AM UTC
Jobs 1
Files 414
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

30 Apr 2026 06:34AM UTC coverage: 88.343% (+0.03%) from 88.309%
25151096414

push

github

web-flow
feat: add transaction lifecycle callbacks (#10144)

* feat: add transaction lifecycle callbacks

- Add afterCommit() and afterRollback() callbacks to database connections
- Run callbacks only after the outermost transaction commits or rolls back
- Discard callbacks registered for the opposite transaction outcome
- Document callback exception behavior and automatic rollback handling
- Add live database coverage for callback ordering, nesting, and failures

Signed-off-by: memleakd <121398829+memleakd@users.noreply.github.com>

* feat(database): refine transaction callback API

Signed-off-by: memleakd <121398829+memleakd@users.noreply.github.com>

* docs(database): document transaction callback interface break

Signed-off-by: memleakd <121398829+memleakd@users.noreply.github.com>

* docs(database): sort interface change entry

Signed-off-by: memleakd <121398829+memleakd@users.noreply.github.com>

* test(database): address transaction callback review notes

Signed-off-by: memleakd <121398829+memleakd@users.noreply.github.com>

* test(database): cover transaction callback retry behavior

- Add commit callback coverage when driver commit fails once
- Add rollback callback coverage when driver rollback fails once
- Verify callbacks run after retry and are cleared afterward

Signed-off-by: memleakd <121398829+memleakd@users.noreply.github.com>

* fix(database): harden worker transaction cleanup

- Catch rollback callback exceptions during worker cleanup
- Log cleanup callback failures as critical
- Add regression coverage for worker-mode rollback cleanup

Signed-off-by: memleakd <121398829+memleakd@users.noreply.github.com>

---------

Signed-off-by: memleakd <121398829+memleakd@users.noreply.github.com>

30 of 30 new or added lines in 2 files covered. (100.0%)

23305 of 26380 relevant lines covered (88.34%)

218.1 hits per line

Jobs
ID Job ID Ran Files Coverage
1 25151096414.1 30 Apr 2026 06:47AM UTC 414
88.34
GitHub Action Run
Source Files on build 25151096414
  • Tree
  • List 414
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 466d0f7e on github
  • Prev Build on 4.8 (#25048770385)
  • Next Build on 4.8 (#25182014381)
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