Commit b728e91
fix(waterdata): align cql-json filter tests with the unchunkable raise
ChunkPlan now raises RequestTooLarge for an over-budget request with no
chunkable axis. That broke test_cql_json_filter_is_not_chunked, whose
300-clause (~30 KB) cql-json filter is no longer passed through. Use a
within-budget filter so it still asserts cql-json ships un-chunked, and add
test_cql_json_filter_over_budget_raises for the new behavior.
Cleanups: reuse the existing _filter_chunking_clauses() helper instead of
re-hand-rolling the clause/join, pin both raises with match=, drop a
provably-dead transport-mock block (the raise fires during ChunkPlan
construction, before any send), and trim a redundant comment.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent d0e23d1 commit b728e91
3 files changed
Lines changed: 34 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
872 | 872 | | |
873 | 873 | | |
874 | 874 | | |
875 | | - | |
876 | | - | |
877 | | - | |
878 | | - | |
879 | | - | |
880 | | - | |
881 | | - | |
| 875 | + | |
| 876 | + | |
| 877 | + | |
| 878 | + | |
882 | 879 | | |
883 | 880 | | |
884 | 881 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
178 | | - | |
| 178 | + | |
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
270 | 271 | | |
271 | 272 | | |
272 | 273 | | |
273 | | - | |
274 | | - | |
275 | | - | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
276 | 282 | | |
277 | 283 | | |
278 | 284 | | |
| |||
304 | 310 | | |
305 | 311 | | |
306 | 312 | | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
307 | 333 | | |
308 | 334 | | |
309 | 335 | | |
| |||
0 commit comments