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

0xmichalis / nftbk / 18462124200
54%

Build:
DEFAULT BRANCH: main
Ran 13 Oct 2025 10:02AM UTC
Jobs 1
Files 46
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 Oct 2025 10:01AM UTC coverage: 35.637% (+0.3%) from 35.366%
18462124200

push

github

web-flow
Support backup deletion subresources with storage mode logic (#51)

* feat: Add endpoints to delete backup archives and pins

This commit introduces two new API endpoints:
- `DELETE /v1/backups/{task_id}/archive`: Deletes the filesystem archive for a backup.
- `DELETE /v1/backups/{task_id}/pins`: Deletes the IPFS pins for a backup.

These endpoints allow for granular deletion of backup data, supporting different storage modes and updating the job's storage mode accordingly or deleting the job entirely if only one storage mode was in use.

Co-authored-by: kargakis <kargakis@protonmail.com>

* refactor: rename storage mode values

* Update src/server/mod.rs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* fix: prune redundant db data on storage mode downgrade

* Update src/server/mod.rs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update src/server/mod.rs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update src/server/mod.rs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update src/server/handlers/handle_backup_delete.rs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

75 of 258 new or added lines in 7 files covered. (29.07%)

3 existing lines in 2 files now uncovered.

1284 of 3603 relevant lines covered (35.64%)

5.42 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
43.1
0.0% src/server/handlers/handle_backup.rs
2
0.0
0.0% src/server/router.rs
23
0.0
0.0% src/server/db.rs
40
34.43
src/server/handlers/handle_backup_delete_archive.rs
43
32.81
src/server/handlers/handle_backup_delete_pins.rs
74
12.41
4.92% src/server/mod.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
0.0
0.0% src/server/db.rs
2
12.41
4.92% src/server/mod.rs
Jobs
ID Job ID Ran Files Coverage
1 18462124200.1 13 Oct 2025 10:02AM UTC 46
35.64
GitHub Action Run
Source Files on build 18462124200
  • Tree
  • List 46
  • Changed 10
  • Source Changed 9
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #18462124200
  • f693e6fb on github
  • Prev Build on main (#18431725726)
  • Next Build on main (#18462526665)
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