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

lightninglabs / migrate / 19914161277
57%
ll-fork: 57%

Build:
Build:
LAST BUILD BRANCH: 2025-09-rerun-post-step-callbacks-on-error
DEFAULT BRANCH: ll-fork
Ran 04 Dec 2025 01:27AM UTC
Jobs 2
Files 60
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

04 Dec 2025 01:05AM UTC coverage: 56.741%. First build
19914161277

Pull #3

github

ViktorT-11
migrate: make rerun of failed programmatic migs optional

The last commit introduced functionality to rewind the database to the
prior version before the migration was attempted, when a programmatic
migration fails. This is done to ensure that such migrations are re-run
on the next startup and to ensure that the database is not left in a
dirty state.

However, to support the old behavior that did not re-run failed
programmatic migrations, we add a new flag called RerunOnError which is
part of the migration definition.
When this flag is set to false, a failing programmatic migration will
leave the database dirty at the migration version of the failed
programmatic migration, which matches the old behavior.
Pull Request #3: migrate: re-run post-step callbacks on error

112 of 143 new or added lines in 3 files covered. (78.32%)

4676 of 8241 relevant lines covered (56.74%)

51.62 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
6
73.68
util.go
25
71.47
migrate.go
Jobs
ID Job ID Ran Files Coverage
1 Go-1.23.x - 19914161277.1 04 Dec 2025 01:27AM UTC 60
56.74
GitHub Action Run
2 Go-1.24.x - 19914161277.2 04 Dec 2025 01:28AM UTC 60
54.51
GitHub Action Run
Source Files on build 19914161277
  • Tree
  • List 60
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #3
  • Delete
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

© 2025 Coveralls, Inc