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

kobotoolbox / kpi / 17093956689
81%
master: 76%

Build:
Build:
LAST BUILD BRANCH: dev-1257-remove-v1-forms-endpoint
DEFAULT BRANCH: master
Ran 20 Aug 2025 09:58AM UTC
Jobs 1
Files 665
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 09:11AM UTC coverage: 78.909% (-2.5%) from 81.424%
17093956689

push

github

web-flow
fix(attachments): clear usage cache and remove limit counter after attachment cleanup DEV-911 (#6139)

### πŸ“£ Summary
Ensure users are unblocked immediately after excess attachments are
auto-deleted by clearing cached usage and removing the storage limit
counter right away.

### πŸ“– Description
Previously, when celery task automatically deleted older attachments for
users exceeding their storage quota, the system did not immediately
clear the usage cache or remove the storage limit counter. As a result,
users could remain blocked for up to 15 minutes (due to caching) or
appear over quota until the next daily counter update.

With this fix, the `auto_delete_excess_attachments` task now clears the
user’s usage cache and updates or removes the storage limit counter
immediately after cleanup, ensuring quota status reflects the changes
right away.

6257 of 10176 branches covered (61.49%)

4 of 9 new or added lines in 1 file covered. (44.44%)

25 existing lines in 1 file now uncovered.

23679 of 30008 relevant lines covered (78.91%)

0.79 hits per line

New Missed Lines in Diff

Lines Coverage βˆ† File
5
43.42
-37.74% kobo/apps/trash_bin/tasks/attachment.py

Uncovered Existing Lines

Lines Coverage βˆ† File
25
43.42
-37.74% kobo/apps/trash_bin/tasks/attachment.py
Jobs
ID Job ID Ran Files Coverage
1 17093956689.1 20 Aug 2025 09:58AM UTC 665
78.91
Source Files on build 17093956689
  • Tree
  • List 665
  • Changed 29
  • Source Changed 0
  • Coverage Changed 29
Coverage βˆ† File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • fec78204 on github
  • Prev Build on release/2.025.34 (#17086000058)
  • Next Build on release/2.025.34 (#17128183552)
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