You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: Align 'since' filter and next command with observed API behavior (updated_at)
This commit modifies `scripts/gha/get_pr_review_comments.py` to
correctly use `updated_at` timestamps for its `--since` filtering
and the "suggest next command" feature. This aligns with the
observed behavior of the GitHub API endpoint for listing pull
request review comments, where the `since` parameter filters by
update time rather than creation time (contrary to some initial
documentation interpretations for this specific endpoint).
Changes include:
- The "suggest next command" feature now tracks the maximum
`updated_at` timestamp from processed comments to calculate the
`--since` value for the next suggested command.
- The help text for the `--since` argument has been updated to
clarify it filters by "updated at or after".
- The informational message printed to stderr when the `--since`
filter is active now also states "updated since".
- The `created_at` timestamp continues to be displayed for each
comment for informational purposes.
0 commit comments