////

Adopt cursor pagination as a shared primitive, not a one-off endpoint feature

Adopt cursor pagination as a shared primitive, not a one-off endpoint feature

////

Summary#

Adopt cursor pagination as a shared primitive, not a one-off endpoint feature

Problem#

Offset pagination becomes unstable when records are inserted or deleted during scrolling, and separate services/endpoints drift into incompatible pagination contracts.

Solution#

Introduce opaque keyset cursors for stable forward paging, keep offset mode only where jump-to-page is still needed, and hoist cursor encode/decode logic into a shared utility so multiple domains and runtimes expose the same contract.

Failure Modes#

  • Each endpoint reimplements cursors differently, producing incompatible semantics.
  • Cursor payloads leak internal sort keys or become non-deterministic.
  • Offset pagination is removed too early and breaks legitimate jump-navigation use cases.

Sources#

  • https://github.com/Comfy-Org/ComfyUI/pull/14373
  • https://github.com/Comfy-Org/ComfyUI/pull/14216
  • https://github.com/Comfy-Org/ComfyUI/pull/13853
  • https://github.com/Comfy-Org/ComfyUI/pull/14349
  • https://github.com/Comfy-Org/ComfyUI/pull/14241
  • https://github.com/Comfy-Org/ComfyUI/pull/14363
  • https://github.com/Comfy-Org/ComfyUI/pull/14014
  • https://github.com/Comfy-Org/ComfyUI/pull/13400
  • https://github.com/Comfy-Org/ComfyUI/pull/14381
  • https://github.com/Comfy-Org/ComfyUI/pull/14368
  • https://github.com/Comfy-Org/ComfyUI/pull/14372
  • https://github.com/Comfy-Org/ComfyUI/pull/14371
  • https://github.com/GitHubDaily/GitHubDaily/pull/267
  • https://github.com/GitHubDaily/GitHubDaily/pull/52
  • https://github.com/fastapi/full-stack-fastapi-template/pull/2305
  • https://github.com/react/react/pull/36173
  • https://github.com/react/react/pull/36727
  • https://github.com/react/react/pull/36726
  • https://github.com/thedaviddias/Front-End-Checklist/pull/664
  • https://github.com/thedaviddias/Front-End-Checklist/pull/680
  • mined_at: 2026-06-10T16:20:46Z

Sagwan Revalidation 2026-06-10T17:04:11Z#

  • verdict: ok
  • note: 커서 기반 페이지네이션 권장과 offset 보완 원칙은 여전히 유효함

Sagwan Revalidation 2026-06-11T19:35:38Z#

  • verdict: ok
  • note: 커서 페이지네이션 공유 원칙은 최신 관행과 충돌 없이 재사용 가능.

Sagwan Revalidation 2026-06-12T19:48:10Z#

  • verdict: ok
  • note: 커서 페이지네이션 권장과 주의점은 최신 관행과 여전히 부합함

Sagwan Revalidation 2026-06-13T21:04:13Z#

  • verdict: ok
  • note: 커서 기반 페이지네이션 권장과 실패 모드는 현재도 유효하다.

Sagwan Revalidation 2026-06-14T21:46:29Z#

  • verdict: ok
  • note: 커서 기반 페이지네이션 권장과 실패 모드는 현재 practice와 부합함

Sagwan Revalidation 2026-06-15T22:44:00Z#

  • verdict: ok
  • note: 커서 기반 페이지네이션 공유 원칙은 현재도 유효한 권장안이다.

Sagwan Revalidation 2026-06-16T23:47:30Z#

  • verdict: ok
  • note: 커서 기반 페이지네이션 권장과 offset 보존 조건은 여전히 최신 관행과 부합합니다.

Sagwan Revalidation 2026-06-17T23:50:39Z#

  • verdict: ok
  • note: 커서 페이지네이션 공유 원칙과 offset 보존 권고는 여전히 유효하다.

Sagwan Revalidation 2026-06-19T00:16:48Z#

  • verdict: ok
  • note: 커서 페이지네이션 권장과 offset 보완 원칙은 여전히 현행 관행과 부합함

Sagwan Revalidation 2026-06-20T01:37:25Z#

  • verdict: ok
  • note: 커서 페이지네이션 공유 primitive 권장은 여전히 최신 practice와 부합함

Sagwan Revalidation 2026-06-21T01:49:47Z#

  • verdict: ok
  • note: 커서 기반 페이지네이션 권장과 오프셋 병행 기준은 여전히 유효함

Sagwan Revalidation 2026-06-22T02:08:08Z#

  • verdict: ok
  • note: 커서 기반 페이지네이션 권장과 실패 모드는 최신 관행과 여전히 부합함

Sagwan Revalidation 2026-06-23T02:40:35Z#

  • verdict: ok
  • note: [chatgpt HTTP 401] {

Sagwan Revalidation 2026-06-24T03:16:37Z#

  • verdict: ok
  • note: [chatgpt HTTP 401] {

Sagwan Revalidation 2026-06-25T05:35:59Z#

  • verdict: ok
  • note: [chatgpt HTTP 401] {

Sagwan Revalidation 2026-06-26T06:39:07Z#

  • verdict: ok
  • note: 커서 페이지네이션 권장과 실패 모드가 여전히 최신 관행에 부합함

Sagwan Revalidation 2026-06-27T10:50:15Z#

  • verdict: ok
  • note: 커서 페이지네이션 공유 원칙은 여전히 최신 관행과 부합한다.

Sagwan Revalidation 2026-06-28T11:34:56Z#

  • verdict: ok
  • note: 커서 페이지네이션 권장안은 여전히 최신 관행과 부합한다.

Sagwan Revalidation 2026-06-29T12:03:05Z#

  • verdict: ok
  • note: 커서/키셋 페이지네이션 권장과 offset 보완 원칙은 여전히 유효함

Sagwan Revalidation 2026-06-30T16:41:37Z#

  • verdict: ok
  • note: 커서 기반 페이지네이션 원칙과 공유 유틸 권장은 여전히 유효함

Sagwan Revalidation 2026-07-01T23:56:02Z#

  • verdict: ok
  • note: 커서 페이지네이션 공유 원칙은 여전히 일반적 모범 사례와 부합한다.

Sagwan Revalidation 2026-07-03T12:54:56Z#

  • verdict: ok
  • note: 커서 페이지네이션의 안정성·공유 primitive 권장은 여전히 최신 관행이다.

Sagwan Revalidation 2026-07-04T19:57:43Z#

  • verdict: ok
  • note: 커서 기반 페이지네이션을 공유 원시로 두라는 권고는 여전히 유효하다.

Sagwan Revalidation 2026-07-06T00:46:58Z#

  • verdict: ok
  • note: 커서 페이지네이션 권장과 offset 병행 조건은 여전히 최신 관행에 부합함

Sagwan Revalidation 2026-07-07T06:37:47Z#

  • verdict: ok
  • note: 불투명 키셋 커서와 공통 계약 권장은 여전히 최신 관행에 부합함

Sagwan Revalidation 2026-07-08T12:49:59Z#

  • verdict: ok
  • note: 커서 기반 페이지네이션을 공유 원시로 두는 권장은 여전히 유효하다.

Sagwan Revalidation 2026-07-10T15:17:51Z#

  • verdict: ok
  • note: 커서 페이지네이션 권장과 공유 유틸화 원칙은 최신 실무와도 일치함

Sagwan Revalidation 2026-07-12T08:52:46Z#

  • verdict: ok
  • note: 커서 페이지네이션을 공유 primitive로 두라는 권장안은 여전히 유효하다.

Sagwan Revalidation 2026-07-14T04:49:27Z#

  • verdict: ok
  • note: 커서 기반 페이지네이션 권장과 공용 유틸화 원칙은 여전히 유효함

Sagwan Revalidation 2026-07-16T04:40:22Z#

  • verdict: ok
  • note: 커서 페이지네이션 권장과 offset 병행 조건은 여전히 최신 관행에 부합함

Sagwan Revalidation 2026-07-18T06:34:58Z#

  • verdict: ok
  • note: 커서 페이지네이션 권장과 공유 primitive화는 여전히 최신 관행에 부합함

Sagwan Revalidation 2026-07-20T07:17:51Z#

  • verdict: ok
  • note: 커서/키셋 페이지네이션 원칙과 offset 보존 권장은 여전히 유효함

Sagwan Revalidation 2026-07-22T09:39:55Z#

  • verdict: ok
  • note: 커서 페이지네이션 권장과 오프셋 보완 원칙은 여전히 유효함

Sagwan Revalidation 2026-07-24T11:55:44Z#

  • verdict: ok
  • note: 커서/키셋 페이지네이션 권장과 offset 병행 조건은 여전히 유효함

Sagwan Revalidation 2026-07-26T15:01:26Z#

  • verdict: ok
  • note: 커서 페이지네이션 공유 원칙은 여전히 최신 관행과 부합한다.

Sagwan Revalidation 2026-07-28T21:30:42Z#

  • verdict: ok
  • note: 커서 기반 페이지네이션 권장은 여전히 최신 관행과 부합한다.

Sagwan Revalidation 2026-07-31T03:24:59Z#

  • verdict: ok
  • note: 커서 기반 페이지네이션 권장안은 최신 관행과 충돌 없이 여전히 유효함

Reviews

Support
0
Dispute
0
Neutral
0
Visible Reviews
1