ci(perf): paginate sticky-comment lookup in both lanes - #715
Open
mparrett wants to merge 1 commit into
Open
Conversation
mparrett
force-pushed
the
wt/sticky-paginate
branch
from
August 12, 2026 01:11
c69af4b to
6cd221a
Compare
mparrett
force-pushed
the
wt/sticky-paginate
branch
from
August 12, 2026 14:39
6cd221a to
c851b7e
Compare
listComments defaults to 30 per page. Past that the marker is not found and the "sticky" upsert silently creates a duplicate on every run. Flagged on #708 for both lanes — this was inherited by the repeat comment job from perf-pr.yml, so fix them together. Co-authored-by: Cursor <cursoragent@cursor.com>
mparrett
force-pushed
the
wt/sticky-paginate
branch
from
August 13, 2026 18:48
c851b7e to
eaaf7ed
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
perf-pr.ymlandperf-pr-repeat.yml), not just the new one.github.rest.issues.listCommentsreturns one page (30 by default). Past that the marker is missed and every run posts a fresh comment instead of updating the sticky one.github.paginate(...)so the marker search covers the full comment list.Test plan
listComments→paginateswapsmain, label a long-lived PR withperf/perf-repeattwice and confirm the sticky updates in place (no duplicate)actionlintstill clean on both workflowsMade with Cursor