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

noripyt / django-cachalot / 21406042386 / 3
98%
master: 98%

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

27 Jan 2026 04:49PM UTC coverage: 98.204% (+0.6%) from 97.645%
21406042386.3

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>

711 of 724 relevant lines covered (98.2%)

0.98 hits per line

Source Files on job 21406042386.3
  • Tree
  • List 23
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 21406042386
  • 68f14860 on github
  • Prev Job for on master (#14505022162.11)
  • Next Job for on master (#21407227925.11)
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