Skip to content

Guard Discussion pagination against a repeated cursor #43

Closed

Description

@jamesconwaydev

Listing the Likes Discussions follows endCursor page by page. If GitHub ever hands back the same cursor twice, we loop until the job times out. We also have no test that spans more than one page, so a pagination bug would only show up once there are 100+ entries. The REST helper has a cousin of this problem: a page that isn't a list.

Done when a repeated cursor stops the loop with an error, a non-list REST page raises, and there's a multi-page test for each.

Activity

  1. added
    priority: mediumNext in line once the high ones are done
    area: botThe Python bots that take submissions, count Likes and check health
    on Nov 6, 2026
  2. updated Area Bot, Effort S and Priority Medium on Nov 6, 2026
  3. moved this from Todo to In Progress in DevStream Roadmapon Nov 6, 2026
  4. jamesconwaydev commented on Nov 6, 2026

    @jamesconwaydev
    CollaboratorAuthor

    Done in #199.

  5. moved this from In Progress to Done in DevStream Roadmapon Nov 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: botThe Python bots that take submissions, count Likes and check healthpriority: mediumNext in line once the high ones are done

    Type

    Fields

    Priority

    Medium

    Effort

    S

    Area

    Bot

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions