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

openwisp / openwisp-firmware-upgrader / 17102382293
98%

Build:
DEFAULT BRANCH: master
Ran 25 Aug 2025 11:49PM 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

20 Aug 2025 03:05PM UTC coverage: 97.726% (+0.1%) from 97.597%
17102382293

push

github

web-flow
[fix] Ensured firmware image files get always deleted from filesystem #301

When deleting a firmware build, a firmware category, or an organization,
the delete operation cascades to related models and firmware images are
removed as well.

However, due to how Django handles cascade deletes, the method
AbstractFirmwareImage.delete() is not invoked, causing image files to
linger on the filesystem.

This patch fixes the issue by collecting file paths to remove and
passing them to a background task which deletes the files and cleans up
empty directories.

Fixes #301

1633 of 1671 relevant lines covered (97.73%)

12.7 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
12
97.27
0.48% base/models.py
Jobs
ID Job ID Ran Files Coverage
1 python- - 17102382293.1 25 Aug 2025 11:49PM UTC 37
97.73
GitHub Action Run
Source Files on build 17102382293
  • Tree
  • List 37
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #17102382293
  • 05a6a49f on github
  • Prev Build on master (#17076777518)
  • Next Build on master (#17684733177)
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