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

akvo / iwsims / #45
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: HEAD
DEFAULT BRANCH: main
Ran 16 Jun 2026 06:02AM UTC
Jobs 1
Files 109
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

16 Jun 2026 05:55AM UTC coverage: 88.111% (-0.04%) from 88.146%
#45

Pull #21

coveralls-python

ifirmawan
[#20] Fix REFRESH CONCURRENTLY inside Django test transaction

Django's TestCase wraps each test in a transaction. REFRESH MATERIALIZED
VIEW CONCURRENTLY cannot run inside a transaction block (PostgreSQL raises
InFailedSqlTransaction). The fix: check connection.in_atomic_block before
using CONCURRENTLY — if we are inside a transaction, fall back to the
blocking form automatically.

This was triggered by DataBatchApprovedTestCaseWithFileSaving which
overrides TEST_ENV=False, causing tasks.py to call
refresh_materialized_data(concurrent=True) inside a TestCase transaction.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Pull Request #21: [#20] MV4V Task 1 to Task 3

5058 of 5892 branches covered (85.85%)

Branch coverage included in aggregate %.

9786 of 10955 relevant lines covered (89.33%)

0.89 hits per line

Coverage Regressions

Lines Coverage ∆ File
32
86.08
-2.93% api/v1/v1_visualization/functions.py
2
94.03
-1.0% utils/custom_generator.py
1
95.45
-2.27% api/v1/v1_users/management/commands/fake_user_seeder.py
Jobs
ID Job ID Ran Files Coverage
1 #45.1 16 Jun 2026 06:02AM UTC 109
88.11
Source Files on build #45
  • Tree
  • List 109
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Pull Request #21
  • PR Base - feature/20-materialized-views-for-visualization-api-optimization (#)
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