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

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

Build:
Build:
LAST BUILD BRANCH: 2025-09-rerun-post-step-callbacks-on-error
DEFAULT BRANCH: ll-fork
Ran 10 Dec 2025 09:19PM 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

10 Dec 2025 08:58PM UTC coverage: 56.777%. First build
20113123393

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

119 of 150 new or added lines in 3 files covered. (79.33%)

4683 of 8248 relevant lines covered (56.78%)

51.58 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
6
73.68
util.go
25
71.74
migrate.go
Jobs
ID Job ID Ran Files Coverage
1 Go-1.24.x - 20113123393.1 10 Dec 2025 09:22PM UTC 60
54.55
GitHub Action Run
2 Go-1.23.x - 20113123393.2 10 Dec 2025 09:19PM UTC 60
56.78
GitHub Action Run
Source Files on build 20113123393
  • 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