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

noripyt / django-cachalot / 21406042386
98%

Build:
DEFAULT BRANCH: master
Ran 27 Jan 2026 05:01PM UTC
Jobs 11
Files 23
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

27 Jan 2026 04:49PM UTC coverage: 98.204% (+0.005%) from 98.199%
21406042386

push

github

Andrew-Chen-Wang
fix: Handle Django 6.0 resolved subquery detection in table extraction

In Django 6.0, Subquery.resolve_expression() returns a Query object
directly with subquery=True instead of keeping the Subquery wrapper.
This broke table detection for annotations containing subqueries when
CACHALOT_FINAL_SQL_CHECK=False.

Add check for Query objects with subquery=True attribute to properly
detect tables in resolved subqueries on Django 6.0+.

Fixes failing tests:
- test_annotate_subquery
- test_annotate_case_with_when
- test_annotate_case_with_when_and_query_in_default
- test_annotate_coalesce
- test_custom_subquery_no_check

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

2 of 2 new or added lines in 1 file covered. (100.0%)

711 of 724 relevant lines covered (98.2%)

10.8 hits per line

Jobs
ID Job ID Ran Files Coverage
1 21406042386.1 27 Jan 2026 05:01PM UTC 23
98.2
GitHub Action Run
2 21406042386.2 27 Jan 2026 05:04PM UTC 23
98.2
GitHub Action Run
3 21406042386.3 27 Jan 2026 05:04PM UTC 23
98.2
GitHub Action Run
4 21406042386.4 27 Jan 2026 05:05PM UTC 23
98.2
GitHub Action Run
5 21406042386.5 27 Jan 2026 05:05PM UTC 23
98.2
GitHub Action Run
6 21406042386.6 27 Jan 2026 05:05PM UTC 23
98.2
GitHub Action Run
7 21406042386.7 27 Jan 2026 05:06PM UTC 23
98.2
GitHub Action Run
8 21406042386.8 27 Jan 2026 05:06PM UTC 23
98.2
GitHub Action Run
9 21406042386.9 27 Jan 2026 05:07PM UTC 23
98.2
GitHub Action Run
10 21406042386.10 27 Jan 2026 05:09PM UTC 23
98.2
GitHub Action Run
11 21406042386.11 27 Jan 2026 05:09PM UTC 23
98.2
GitHub Action Run
Source Files on build 21406042386
  • Tree
  • List 23
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 68f14860 on github
  • Prev Build on master (#14505022162)
  • Next Build on master (#21407227925)
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