[ 
https://issues.apache.org/jira/browse/SPARK-59293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wenchen Fan resolved SPARK-59293.
---------------------------------
    Fix Version/s: 5.0.0
       Resolution: Fixed

Issue resolved by pull request 58579
[https://github.com/apache/spark/pull/58579]

> Fix update_build_status.yml to map non-standard workflow run conclusions
> ------------------------------------------------------------------------
>
>                 Key: SPARK-59293
>                 URL: https://issues.apache.org/jira/browse/SPARK-59293
>             Project: Spark
>          Issue Type: Task
>          Components: Project Infra
>    Affects Versions: 5.0.0
>            Reporter: Tornike Gurgenidze
>            Assignee: Tornike Gurgenidze
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 5.0.0
>
>
> The scheduled "Update build status workflow" job fails with HTTP 422 when a 
> fork's workflow run has a conclusion the check-runs API does not accept.
> Example: [https://github.com/apache/spark/actions/runs/34106623995]
> Unhandled error: HttpError: Invalid request. startup_failure is not a member 
> of ["success", "failure", "neutral", "cancelled", "timed_out", 
> "action_required", "skipped"].
> GET /repos/\{owner}/\{repo}/actions/runs/\{run_id} can return 
> "startup_failure" and "stale" as conclusions, neither of which is accepted by 
> PATCH /repos/\{owner}/\{repo}/check-runs/\{check_run_id}. The workflow 
> forwards run.data.conclusion unchanged, so the request is rejected.



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