mirror of
https://github.com/Comfy-Org/Comfy-PR.git
synced 2026-11-04 23:37:33 +00:00
[PR #206] fix(gh-priority-sync): use last_edited_time filter for Notion checkpoint resume #208
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/Comfy-PR#208
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Comfy-Org/Comfy-PR/pull/206
Author: @snomiao
Created: 5/2/2026
Status: 🔄 Open
Base:
main← Head:sno/fix-notion-cursor-priority-sync📝 Commits (3)
e733128fix(gh-priority-sync): use last_edited_time filter for Notion checkpoint resume8c70240chore(gh-priority-sync): drop stale CHECKPOINT commentaaae089fix(gh-priority-sync): handle ties at checkpoint last_edited_time📊 Changes
1 file changed (+55 additions, -20 deletions)
View changed files
📝
app/tasks/gh-priority-sync/index.ts(+55 -20)📄 Description
Summary
APIResponseError: The start_cursor provided is invalid: 34a6d73d-3650-810c-89ee-e9c25cd07700.gh-priority-syncpassedcheckpoint.id(a Notion page ID) intonotion.dataSources.query({ start_cursor }). Notion'sstart_cursoronly accepts a token previously returned asnext_cursor— feeding it an arbitrary page ID makes Notion reject the request.last_edited_time on_or_after checkpoint.editedAtand start pagination fromundefined. The existing post-filtere.id !== checkpoint?.idstill drops the boundary entry.Test plan
gh-combined-tasksworkflow)GitHub Issue Priorities Labeler Taskno longer throwsstart_cursorvalidation errors and resumes from the prior checkpoint vialast_edited_timefilter🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.