-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG]: There's no WorkflowJobStatus.Waiting #2730
Comments
Interesting...it seems like that was missed in the specification. The docs here show the following options: "status": {
"description": "The phase of the lifecycle that the job is currently in.",
"type": "string",
"enum": [
"queued",
"in_progress",
"completed"
],
"examples": [
"queued"
]
}, but I do see where the API returns |
I've asked around internally about why this may be the case, and I'll follow up here before taking action on your PR. Thanks! |
It seems like there's several API schemas that do and do not have "waiting" as a status. The docs linked above also have a "Get a job for a workflow run" endpoint that returns (in part): "status": {
"description": "The phase of the lifecycle that the job is currently in.",
"type": "string",
"enum": [
"queued",
"in_progress",
"completed"
],
"examples": [
"queued"
]
}, Since Octokit.net has one model we share across these endpoints, your PR looks reasonable. |
Yes, however, in my case it's just returning as a response from a |
What happened?
While querying for the workflow job status, suddenly it returns sth other than
queued
in_progress
norcompleted
butwaiting
.As it's waiting for some prod approval.
Versions
octoket v6.1.0
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: