Retrieving jobs metadata (via an API) of currently running workflow (in which I'm currently running) often return incorrect jobs/steps statuses #139586
Replies: 1 comment
-
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Bug
Body
I'm trying to fetch the status of the current workflow (in which I'm currently running) using the following rest api
The results often do not reflect the live statuses, but statuses that were true in the past
For e.g
I got two steps (within a job):
Step 1
- fail with exit 1Step 2
- fetches jobs metadata of the current workflowThe response I get (while in
Step 2
) from the jobs metadata API is the following:In the aforementioned example,
Step 1
should have been with statusfailed
andStep 2
should have been with statusin_progress
Beta Was this translation helpful? Give feedback.
All reactions