nchammas commented on code in PR #60305:
URL: https://github.com/apache/spark/pull/60305#discussion_r4532754138


##########
.github/workflows/update_build_status.js:
##########
@@ -282,23 +342,28 @@ module.exports = async ({github, context, core, env = 
process.env, log = console
           count.unchanged++
           continue
         }
+        // The fork run was rerun after its check completed. GitHub accepts an 
update
+        // that reopens a completed check but leaves it unchanged, so create a 
new
+        // check instead. It hides this one, since the PR query reads only the 
latest
+        // Build check in a suite.
+        if (cr.status == 'completed' && state.status != 'completed') {

Review Comment:
   Good catch. I revised this path and added regression coverage for the cases 
you identified.



-- 
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