Commit 8a5c32d
committed
fix(temporal): address Codex P2s — DepClosure::default ready + HLC fallback to lance_version
Two real foot-guns codex caught on #468; both fixed + regression-tested (15/15 green).
P2 #1 — DepClosure::default() blocked every row.
The derived Default produced satisfied: false, so any consumer using
..Default::default() (or default()) would silently make deinterlace drop every
contemporary row via Classification::dispatchable. The trivial/empty case IS the
ready case (matches DepClosure::ready + NoDeps). Replaced derive with a manual
Default that delegates to ready(); regression: dep_closure_default_is_ready_not_blocking.
P2 #2 — unwrap_or(0) on hlc_tick forced every missing-HLC row ahead of all HLC rows.
The doc says "falls back to lance_version" but the code used 0. During partial
cross-server rollout (mixed HLC + legacy) this returned a non-causal projection
that clustered all legacy rows at the start regardless of their version. Changed
to unwrap_or_else(|| r.lance_version()) so single-server / legacy rows sort by
their own version; cross-server rows sort by HLC; mixed inputs interleave on the
unified scale. Regression: deinterlace_mixed_hlc_falls_back_to_lance_version.
https://claude.ai/code/session_01VysoWJ6vsyg3wEGc5v7T5v1 parent db9249a commit 8a5c32d
1 file changed
Lines changed: 46 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
186 | | - | |
| 186 | + | |
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
| |||
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
204 | 214 | | |
205 | 215 | | |
206 | 216 | | |
| |||
301 | 311 | | |
302 | 312 | | |
303 | 313 | | |
304 | | - | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
305 | 319 | | |
306 | 320 | | |
307 | 321 | | |
| |||
443 | 457 | | |
444 | 458 | | |
445 | 459 | | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
446 | 490 | | |
0 commit comments