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

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

Build:
Build:
LAST BUILD BRANCH: 2025-09-rerun-post-step-callbacks-on-error
DEFAULT BRANCH: ll-fork
Ran 13 Nov 2025 01:47AM 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

13 Nov 2025 01:20AM UTC coverage: 56.603%. First build
19317390486

Pull #3

github

ViktorT-11
migrate: re-run migration tasks callbacks on error

This commit modifies the migration framework to re-attempt migration
tasks if they error during a migration, on the next run. Previously, if
a migration task failed, but their associated SQL migration succeeded,
the database version would be set to a dirty state, and require manual
intervention in order to reset the SQL migration and re-attempt it + the
migration task.

The new re-attempt mechanism is achieved by ensuring that a migration
can only be either an SQL migration or a migration task, but not both.
This way, if a migration task errors, the database version will be
reset to the previous version prior to executing the migration task, and
the migration task will be re-attempted on the next run.
Pull Request #3: migrate: re-run post-step callbacks on error

82 of 110 new or added lines in 2 files covered. (74.55%)

4646 of 8208 relevant lines covered (56.6%)

50.95 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
4
69.23
migration_task.go
24
72.3
migrate.go
Jobs
ID Job ID Ran Files Coverage
1 Go-1.23.x - 19317390486.1 13 Nov 2025 01:47AM UTC 60
56.6
GitHub Action Run
2 Go-1.24.x - 19317390486.2 13 Nov 2025 01:47AM UTC 60
54.36
GitHub Action Run
Source Files on build 19317390486
  • 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