Skip to content

Migrate legacy SQLite inline constrains and fix long running ones - #7440

Merged
6543 merged 16 commits into
woodpecker-ci:mainfrom
6543-forks:db-migrate_rm-legacy-sqlite-constrains
Nov 24, 2026
Merged

6543 merged 16 commits into
woodpecker-ci:mainfrom
6543-forks:db-migrate_rm-legacy-sqlite-constrains

Test long migrations running on a later start

26e9e7e
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Nov 12, 2026 in 0s

66.77% (+0.01%) compared to 913b07e

View this Pull Request on Codecov

66.77% (+0.01%) compared to 913b07e

Details

Codecov Report

❌ Patch coverage is 78.75000% with 17 lines in your changes missing coverage. Please review.
✅ Project coverage is 66.77%. Comparing base (913b07e) to head (26e9e7e).

Files with missing lines Patch % Lines
...igration/032_remove_sqlite_legacy_inline_unique.go 72.72% 12 Missing ⚠️
...ation/005_convert_to_new_pipeline_errors_format.go 85.71% 3 Missing ⚠️
server/store/datastore/migration/migration.go 86.66% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7440      +/-   ##
==========================================
+ Coverage   66.76%   66.77%   +0.01%     
==========================================
  Files         450      451       +1     
  Lines       22582    22653      +71     
==========================================
+ Hits        15076    15127      +51     
- Misses       7506     7526      +20     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.