Owen Lin
2f02d8461d
Support update-boundary paging across forked thread histories ( #59793 )
...
## Why
Item reads with an update boundary previously rejected forked thread histories and only supported an exclusive lower bound on update ordinals.
## What changed
- Add `before_updated_at_ordinal` as an exclusive upper bound, mutually exclusive with `after_updated_at_ordinal`.
- Allow update-filtered and update-ordered item reads across parent and child segments, applying segment bounds and preserving cursor pagination in both directions.
- Require an update boundary for update-order sorting and reject either boundary when using an item anchor or item-ID filtering.
## Testing
Extend thread-store tests to cover upper-bound filtering, descending cursor pagination, forward and backward paging across forked lineages, mutually exclusive boundaries, and ordinals outside SQLite's integer range.
GitOrigin-RevId: 63f7e18fb24a89a41ff8e570cf65963622519a25
2026-11-06 02:21:38 +00:00
..
2026-11-05 11:22:06 +00:00
2026-10-29 17:25:51 +00:00
2026-11-03 15:02:57 +00:00
2026-11-03 12:33:26 +00:00
2026-11-05 16:08:23 +00:00
2026-11-05 22:03:29 +00:00
2026-11-06 02:21:38 +00:00
2026-11-05 21:44:12 +00:00
2026-11-03 04:20:50 +00:00
2026-11-06 01:10:49 +00:00
2026-11-02 16:00:20 +00:00
2026-11-04 21:33:28 +00:00
2026-11-02 17:05:56 +00:00
2026-10-26 20:26:32 +00:00
2026-11-04 00:19:12 +00:00
2026-11-05 05:09:32 +00:00
2026-11-05 22:03:29 +00:00
2026-11-05 22:18:49 +00:00
2026-11-05 16:41:33 +00:00
2026-11-05 04:25:19 +00:00
2026-11-05 05:09:32 +00:00
2026-11-05 05:09:32 +00:00
2026-11-06 01:49:33 +00:00
2026-11-06 01:49:33 +00:00
2026-11-05 07:13:37 +00:00
2026-10-29 01:04:48 +00:00
2026-11-06 00:24:03 +00:00
2026-11-05 22:03:29 +00:00
2026-11-06 00:21:16 +00:00
2026-10-30 20:39:47 +00:00
2026-10-29 18:24:34 +00:00
2026-11-06 02:00:39 +00:00
2026-11-05 22:49:46 +00:00
2026-11-06 00:23:38 +00:00
2026-10-27 05:52:01 +00:00
2026-11-03 23:49:01 +00:00
2026-11-03 04:08:59 +00:00
2026-11-06 01:10:49 +00:00
2026-11-06 02:21:14 +00:00
2026-11-05 04:25:19 +00:00
2026-10-27 23:53:09 +00:00
2026-11-05 00:55:46 +00:00
2026-11-06 01:50:20 +00:00
2026-11-05 03:49:13 +00:00
2026-11-06 00:23:38 +00:00
2026-11-05 17:34:20 +00:00
2026-11-06 00:37:27 +00:00
2026-11-04 09:51:28 +00:00
2026-11-04 13:02:36 +00:00
2026-11-04 13:03:01 +00:00
2026-11-06 01:49:33 +00:00
2026-11-05 20:56:09 +00:00
2026-11-06 02:00:39 +00:00
2026-11-04 22:43:34 +00:00
2026-11-05 18:12:28 +00:00
2026-11-02 20:34:35 +00:00
2026-11-06 02:00:39 +00:00
2026-11-06 02:00:39 +00:00
2026-11-03 15:02:57 +00:00
2026-11-03 23:00:54 +00:00
2026-11-06 00:24:03 +00:00
2026-10-27 16:36:32 +00:00
2026-11-03 01:58:18 +00:00
2026-11-06 00:59:18 +00:00
2026-11-03 21:02:34 +00:00
2026-11-05 22:03:29 +00:00
2026-11-04 19:58:49 +00:00
2026-11-06 01:20:54 +00:00
2026-11-03 23:35:00 +00:00
2026-11-06 02:21:14 +00:00
2026-10-27 05:52:01 +00:00
2026-11-04 23:46:52 +00:00
2026-10-27 05:52:01 +00:00
2026-10-29 17:49:51 +00:00
2026-11-04 19:58:49 +00:00
2026-10-30 07:11:56 +00:00
2026-11-05 13:38:12 +00:00
2026-11-06 02:21:38 +00:00
2026-10-30 20:53:25 +00:00
2026-11-06 02:01:43 +00:00
2026-11-05 19:46:31 +00:00
2026-10-30 16:35:54 +00:00
2026-11-04 09:51:28 +00:00
2026-10-27 05:52:01 +00:00
2026-11-03 15:02:57 +00:00
2026-11-05 21:33:57 +00:00
2026-11-05 21:33:57 +00:00
2026-11-04 00:52:58 +00:00
2026-10-28 21:09:05 +00:00
2026-11-06 00:24:03 +00:00
2026-11-05 23:10:43 +00:00
2026-11-05 11:22:06 +00:00
2026-10-27 05:52:01 +00:00