convictional / trigger-workflow-and-wait

Trigger a workflow in another (or same) repository and wait for the job to finish.
MIT License
311 stars 151 forks source link

curl returns 502 randomly #55

Closed kwavnet closed 1 year ago

kwavnet commented 2 years ago
Checking conclusion [null]
Checking status [queued]
Sleeping for 10 seconds
Checking conclusion [null]
Checking status [queued]
curl: (22) The requested URL returned error: 502
api failed:
path: runs/2830763366
response: {
  "message": "Server Error"
}

this can be seen randomly, making the pipeline fail, even though the called workflow is still running and fine. From my perspective it would be safe to ignore error 5xx

rabih commented 2 years ago

@keithconvictional thoughts on this?

keithconvictional commented 2 years ago

@rabih I guess worst case scenario it runs till the API returns to a healthy state. I agree with it.