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

kobotoolbox / kpi / 16347975647
81%
master: 76%

Build:
Build:
LAST BUILD BRANCH: beccagraber/dev-1452-new_action
DEFAULT BRANCH: master
Ran 17 Jul 2025 03:09PM UTC
Jobs 1
Files 638
Run time 2min
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

17 Jul 2025 02:31PM UTC coverage: 80.779% (+0.002%) from 80.777%
16347975647

push

github

web-flow
perf(exports): cache results of attachment xpaths in protected property of Asset model DEV-706 (#5925)

### 📣 Summary
Speed up and improve the performance of both sync and async exports

### 📖 Description
This PR introduces a performance optimization for exports by caching the
results of attachment xpaths computation in a protected property on the
Asset model instance.

Previously, the same logic was computed repeatedly, under certain
circumstances, during export processes (both sync and async) , leading
to redundant work and slower execution.

6150 of 9743 branches covered (63.12%)

17 of 20 new or added lines in 2 files covered. (85.0%)

2 existing lines in 1 file now uncovered.

23220 of 28745 relevant lines covered (80.78%)

0.81 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
92.47
-0.17% kpi/models/asset.py
2
64.06
0.0% kobo/apps/subsequences/utils/deprecation.py

Uncovered Existing Lines

Lines Coverage ∆ File
2
92.47
-0.17% kpi/models/asset.py
Jobs
ID Job ID Ran Files Coverage
1 16347975647.1 17 Jul 2025 03:09PM UTC 638
80.78
Source Files on build 16347975647
  • Tree
  • List 638
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • cea4d052 on github
  • Prev Build on release/2.025.14 (#16344604802)
  • Next Build on release/2.025.14 (#16507281437)
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