Nicholas Chammas created SPARK-62335:
----------------------------------------

             Summary: Point `GITHUB_PREV_SHA` at the last tested commit in 
sampled post-merge CI
                 Key: SPARK-62335
                 URL: https://issues.apache.org/jira/browse/SPARK-62335
             Project: Spark
          Issue Type: Sub-task
          Components: Build
    Affects Versions: 4.4.0
            Reporter: Nicholas Chammas


Post-merge CI on {{master}} and {{branch-4.x}} runs on one in ten commits, and 
the skipped commits create no workflow run. {{GITHUB_PREV_SHA}} is still 
{{{}github.event.before{}}}, the previous commit, which usually wasn't tested. 
So {{dev/run-tests.py}} and {{dev/is-changed.py}} select modules from only the 
sampled commit's diff, and changes from up to nine untested commits are never 
selected. Resolve the last successfully tested commit once in the 
{{precondition}} job and use it in place of {{{}github.event.before{}}}. When 
it can't be resolved, fall back to running every module.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

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

Reply via email to