TryGhost
OSS
Ghost
Fixed non-deterministic reply ordering when created_at is tied - the replies hasMany relation ordered by created_at ASC only; replies inserted in a tight loop (admin Comments e2e tests) share a millisecond on created_at, so the tie-break was implementation-defined - the new created_at index in the comments-moderation migration exposed this by giving the planner a covering index for the sort, which flipped two reply orderings against the test's implicit assumption about insertion order - pinned ordering to id ASC as a deterministic tie-break, restoring the insertion-order behavior the tests and any client paginating by id rely on
nx run ghost:test:legacy
Sign in / Sign up
Open main menu
Succeeded
CI Pipeline Execution
nx run ghost:test:legacy
Click to copy
Linux
4 CPU cores
read-write
access token used
beeb0ff6
28734