Commit 7e182aa
committed
fix: Adjust 'next command' timestamp increment to 2 seconds
This commit modifies the "suggest next command" feature in
`scripts/gha/get_pr_review_comments.py`. The time added to the
last processed comment's timestamp (for the `--since` parameter
in the suggested command) has been changed from 1 second to 2 seconds.
This adjustment provides a slightly larger buffer to more reliably
exclude already seen comments when fetching subsequent comments,
addressing potential timestamp granularity or query resolution
behavior observed with the GitHub API. The `since` parameter for
the relevant API endpoint filters by `created_at`, and this change
is a heuristic improvement for that existing logic.1 parent 24a03ea commit 7e182aa
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
205 | | - | |
| 205 | + | |
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
| |||
0 commit comments