|
3 | 3 | <!-- distilled-through: none --> |
4 | 4 |
|
5 | 5 | ## Backend contracts and configuration |
6 | | - |
7 | | -- L-0001 (1×, #1018): When changing cursor.description type_code strings, update every downstream conversion branch that matches them. |
| 6 | +- L-0001 (1×, log:2026-08-13): When changing cursor.description type_code strings, update every downstream conversion branch that matches them. |
8 | 7 | - L-0002 (1×, #560): Recover Spark SQL types sharing a Thrift TTypeId from Arrow field Spark:DataType:SqlName metadata. |
9 | 8 | - L-0003 (4×, #910 #921 #919): New resolver branches must preserve mutual-exclusion checks and forward shared options on every applicable path; directly test forwarding even when omission has a safe default. |
10 | 9 | - L-0004 (2×, #916 #922): Use Thrift as the reference when checking kernel value semantics; deprecated SEA behavior can differ. |
|
26 | 25 | - L-0020 (1×, #974): Before replacing permissive wire parsing with typed parsing, verify real server representations and test case, quoting and numeric/bool variants. |
27 | 26 | - L-0021 (1×, #985): SQL LIKE escape handling depends on preceding backslash-run parity; a one-character negative lookbehind cannot establish JDBC equivalence. |
28 | 27 | - L-0022 (1×, #1026): Reject bool explicitly when validating integer options before native conversion, so True/False cannot silently become 1/0. |
29 | | -## Results and lifecycle |
30 | 28 |
|
| 29 | +## Results and lifecycle |
31 | 30 | - L-0023 (2×, #1019): Verify server metadata and forwarded configuration behavior with live tests and an opposite-setting positive control; fabricated metadata or forwarding-only unit tests cannot establish server behavior. |
32 | 31 | - L-0024 (2×, #923): Keep the original async owning handle for telemetry-producing polls/results. Reserve retained handles against concurrent use and use attach-by-id for resume/refetch or concurrent fallback. |
33 | 32 | - L-0025 (2×, #907): Lazy imports must preserve every formerly exported name and patch seam. Import-isolation subprocess tests need distinct success/error sentinels so import crashes cannot satisfy assertions. |
34 | 33 | - L-0026 (1×, #975): Dependency upgrades may tighten size/depth defaults; explicitly set relied-on limits and test them. |
35 | 34 | - L-0027 (1×, #990): Pair result columns with Arrow fields by position to preserve duplicate aliases; use names only as a documented malformed/short-schema fallback. |
36 | 35 | - L-0028 (2×, #995): Use plain concat_tables when chunk schemas match, preserving valid duplicate column names. Enable promote/promote_options only for genuinely differing schemas. |
37 | | -- L-0029 (1×, #1018): Preserve NaN, NULL and positive/negative infinity distinctly through pandas conversion, comparing nullable-dtype behavior with the as_py path. |
| 36 | +- L-0029 (1×, log:2026-10-30): Preserve NaN, NULL and positive/negative infinity distinctly through pandas conversion, comparing nullable-dtype behavior with the as_py path. |
38 | 37 | - L-0030 (1×, #1013): When broadening rendering input types, explicitly test formerly rejected strings, bytes, sets and empty containers so loud failures cannot become silently wrong values. |
39 | 38 | - L-0031 (1×, #1017): Enforce runtime Optional-state invariants with descriptive driver errors; Python -O removes assert statements. |
40 | 39 | - L-0032 (1×, #1022): KERNEL_REV changes CI source only. Shipping a kernel fix requires a released wheel and matching packaging floor/lock update, plus an in-repo E2E regression. |
41 | 40 | - L-0033 (1×, #1020): Prove optional C acceleration actually executes and skip when unavailable. Choose input/output protocols separately and verify encoded bytes and nesting limits against the fallback. |
42 | 41 | - L-0034 (1×, #1016): Carry sync result metadata into async get_execution_result. Read numModifiedRows from the existing terminal FINISHED_STATE status response via the shared helper, avoiding an extra RPC. |
43 | | -## Logging and concurrency |
44 | 42 |
|
| 43 | +## Logging and concurrency |
45 | 44 | - L-0035 (2×, #924): pyo3-log caches effective logger levels. Reset its cache after relevant level changes/session setup and isolate cached state in tests. |
46 | 45 | - L-0036 (3×, #947): Logging filters that rewrite record.args must separately handle None, positional tuples and mapping dictionaries, with coverage for all three. |
47 | 46 | - L-0037 (1×, #974): Keep shared locks out of blocking network I/O; coordinate in-flight work without serializing unrelated callers on a slow fetch. |
48 | 47 | - L-0038 (1×, #974): Do not retain singleton executors/clients that other paths can destroy and replace; resolve them at use time or handle shutdown races. |
49 | 48 | - L-0039 (1×, #1020): Log large payloads with lazy percent-format arguments; eager f-strings/format calls consume CPU and memory even when the logger is disabled. |
50 | 49 | - L-0040 (1×, #1055): urllib3 pool mocks must route both _get_conn and _put_conn by test thread. Mock close returning None and prove isolation with concurrent users of one shared pool. |
51 | 50 | - L-0041 (1×, #1024): Reset process-global caches with autouse fixtures in tests that exercise them; each test must start cold. |
52 | | -## Verification and bot workflow |
53 | 51 |
|
| 52 | +## Verification and bot workflow |
54 | 53 | - L-0042 (1×, #905 #906): Bot MODEL_ENDPOINT must name the concrete model serving-endpoints/model/invocations URL; the anthropic/invocations form produces an invalid translated CLI path. |
55 | 54 | - L-0043 (3×, #930): Keep planning read-only, structured output concise, and PR summaries aligned with the complete final diff. |
56 | | -- L-0044 (1×, #1018): Performance tests should count calls to the real expensive operation through a spy and assert deterministic bounds instead of live wall-clock timings. |
| 55 | +- L-0044 (1×, log:2026-10-30): Performance tests should count calls to the real expensive operation through a spy and assert deterministic bounds instead of live wall-clock timings. |
57 | 56 | - L-0045 (1×, #1004): Recheck capability claims after tool upgrades; replacing version numbers inside old support statements does not validate them. |
58 | 57 | - L-0046 (1×, #1013): Confirm targeted regression tests fail when their guarded check is removed; inject inputs where earlier sanitization cannot neutralize the case. |
59 | 58 | - L-0047 (1×, #1045): Secret-bearing CI steps must run Python isolated or from a neutral directory, preventing checkout modules from shadowing trusted imports. |
0 commit comments