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

nbari / backup / 27130690190
80%
main: 80%

Build:
Build:
LAST BUILD BRANCH: develop
DEFAULT BRANCH: main
Ran 08 Jun 2026 10:13AM UTC
Jobs 1
Files 37
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

08 Jun 2026 10:10AM UTC coverage: 78.559% (+1.1%) from 77.486%
27130690190

push

github

nbari
run: interrupted-run safety (version completion flag) + fix orphan blob reuse

Two fixes for the cancel/re-run scenario:

- Correctness: LocalStore.put now OVERWRITES (atomic temp+rename) instead of
  skipping when the object exists. An interrupted run can leave an orphan blob
  (no Files row) encrypted with a now-lost key; since dedup is gated by the
  catalog (is_stored), put is only called for content that must be (re)written,
  so a re-run re-keys and overwrites it — the stored blob always matches the
  recorded key. (Previously the stale orphan was kept -> restore would fail.)

- Completion flag: BackupVersions gains completed_at, stamped in the same
  transaction as the metadata write (so complete == metadata committed AND all
  blobs stored, since uploads run first). latest_version() returns only completed
  versions, so view shows the last completed snapshot and ignores an interrupted
  one (clear 'no completed snapshot yet' message). Idempotent ALTER+backfill
  migration for existing catalogs.

Tests: orphan-overwrite e2e, latest_version completeness, put overwrite; manual
cancel/re-run smoke verified. 70 tests passing.

89 of 107 new or added lines in 4 files covered. (83.18%)

150 existing lines in 6 files now uncovered.

2759 of 3512 relevant lines covered (78.56%)

7.6 hits per line

Uncovered Changes

Lines Coverage ∆ File
16
91.44
-0.81% src/db/sqlite.rs
1
0.0
0.0% src/cli/actions/view.rs
1
91.15
-0.17% src/engine/run.rs

Coverage Regressions

Lines Coverage ∆ File
75
91.15
-0.17% src/engine/run.rs
35
91.44
-0.81% src/db/sqlite.rs
32
0.0
0.0% src/cli/actions/run.rs
4
98.33
0.03% src/utils/crypto.rs
3
82.45
0.14% src/engine/view.rs
1
0.0
0.0% src/cli/actions/view.rs
Jobs
ID Job ID Ran Files Coverage
1 27130690190.1 08 Jun 2026 10:13AM UTC 37
78.56
GitHub Action Run
Source Files on build 27130690190
  • Tree
  • List 37
  • Changed 10
  • Source Changed 10
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #27130690190
  • 91fb3e1f on github
  • Prev Build on sandbox (#27103070725)
  • Next Build on sandbox (#27133041432)
  • 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

© 2026 Coveralls, Inc