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

openwisp / openwisp-firmware-upgrader / 17102382293 / 1
98%
master: 98%

Build:
DEFAULT BRANCH: master
Ran 25 Aug 2025 11:50PM UTC
Files 37
Run time 1s
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.1

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

Source Files on job python- - 17102382293.1
  • Tree
  • List 37
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 17102382293
  • 05a6a49f on github
  • Prev Job for on master (#17076777518.1)
  • Next Job for on master (#17684733177.1)
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