Repository navigation
Fix timestamp index bounds for non-timestamp sort keys - #437
Conversation
|
Review Code: The fix is correct and minimal. Test: The new loop in
Makefile:
Docs:
Status: The PR says the Linux image build and smoke gate are still running and it is in draft. I'd wait for those before merge. I did not run the tests myself. No security or performance concerns. This is a small, well-guarded correctness fix. The docs bulk and the two small nits above are the only things I'd raise. |
Monoscope production impact · Coverage unknownProject Evidence window (UTC): 2026-10-19 03:20:02.16654216 UTC → 2026-10-26 03:20:02.16654216 UTC Coverage: Open Monoscope for evidence and coverage details. |
Indexed latest-page planning used a timestamp-derived bound for other descending sort keys. Sorting by
context___is_remotethen failed with an unsupported timestamp-to-Boolean cast.Restrict this optimization to the
timestampcolumn. Extend the existing indexed/raw fixture to cover Boolean and Int32 sorts while retaining timestamp narrowing and deletion-winner assertions. Scope development MinIO stops to the shared server command so isolated fixtures survive local test setup.Validation:
a0da0fc9with the exact cast error.cargo lint, 2,892 native tests, 16 doctests, PostgreSQL smoke, and 85 end-to-end tests. Native retains 34 skips and one leak diagnostic. The existing deletion-vector fixture passes its configured retry after an initial no-source-files failure; retain that failure.make ci-signoff CHECKS="fmt clippy test pg-smoke e2e"passed, including the Linux production image build and real PGWire smoke check. The signed-off image is published.ghcr.io/monoscope-tech/timefusion@sha256:13b17070cd972d42fc87d76fcca2075e6df97b85617efb3ea74150731756e83a.This carries the pending correctness work from draft PR #428 onto the deployed aggregate-alias correction. It also consolidates the latest implementation and acceptance evidence in the existing plan. Experimental body-search and browser optimizations remain separate.