Fix ascending report pagination tie-breaker - #5393
Conversation
|
Claude finished @gcwill70's task in 1m 36s —— View job Review
The core fix is correct and the regression test is well-targeted. One mechanical gap (missing changeset). Details below. What the fix does (and why it's right)
For three open reports with an identical
Aligning the tie-breaker with I also checked index compatibility, since the PR description mentions it: every report index is Test
Finding (non-blocking)Missing changeset for Nothing else stood out — the change is tightly scoped and the fix is sound. |
|
This keeps the |
|
I'll analyze this and get back to you. |
|
Claude finished @gcwill70's task in 3m 17s —— View job Re-review
Your explanation matches what the diff does, and the prior review's one finding is now resolved. Changeset resolved. Fix re-verified. Index note holds. The existing Test. Nothing else stood out — the change is tightly scoped and correct. I couldn't run the Postgres-backed integration test here (no |

Summary
There is a risk that mismatched sort direction in keyset columns will lead to skipped or missed reports. This will make the sort direction in both columns the same to avoid that.
This was added so that ozone#561 can show oldest reports reliably.
Testing
pnpm exec eslint packages/ozone/src/mod-service/report.ts packages/ozone/tests/query-reports.test.tsDB_TEST_POSTGRES_URLare unavailableisolatedDeclarationserrors inpackages/lex/lex-schema