dwsmith1983 opened a new issue, #7727:
URL: https://github.com/apache/datafusion-comet/issues/7727

   ### What is the problem the feature request solves?
   
   After a contributor reruns failed jobs on their fork, the `CI (fork)` check 
on the pull request keeps showing the old result for up to a few hours. The 
rerun looks like it did nothing, so pushing a new commit, which starts a full 
run, looks like the only way to refresh the check.
   
   A rerun in a fork sends no event to this repository and does not change the 
pull request's `updated_at`. `fork_ci_status.yml` only finds it on its 
15-minute schedule, and a check that already has a result is refreshed only in 
a rotating slice of 25 pull requests. With about 210 open pull requests, one 
rotation takes about 2ΒΌ hours.
   
   Measured on 2026-11-20: 15 fork reruns finished between 15:59 and 16:52 UTC, 
and their checks updated at 17:12 or 19:55 UTC, between 20 minutes and about 4 
hours later. None showed `in_progress` while the rerun was going.
   
   ### Describe the potential solution
   
   Spark fixed the same problem in its build status updater 
([SPARK-60879](https://issues.apache.org/jira/browse/SPARK-60879)). One batched 
GraphQL query per 25 pull requests returns both the upstream check and the fork 
head commit's check suites, so a rerun costs no extra request to detect. Every 
10 minutes it syncs pull requests updated in the last 3 days, including 
completed checks, and every 4 hours it syncs all of them. It writes a check 
only when its state changed. Spark reports 7 GraphQL reads per pass instead of 
about 1,480 REST reads.
   
   The same design would fit the scheduled part of `fork_ci_status.yml`, 
leaving the `workflow_run` path as it is. GitHub cannot reopen a completed 
check, so a rerun would still not show `in_progress`, but its result would 
usually reach the pull request within about 10 minutes of the rerun finishing.
   
   ### Additional context
   
   `fork_ci_status.yml` was adapted from apache/arrow-rs#11788 and 
apache/datafusion#25591, which share the same sweep.
   
   ### Willingness to contribute
   
   I can contribute a fix for this bug independently
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to