REST API /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/logs
returns 404 while workflow run is still running
#75518
Replies: 28 comments 2 replies
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
Any update ? |
Beta Was this translation helpful? Give feedback.
-
Hi @cunla, Thanks so much for reaching out in our community. Can you provide me with some reproduction steps so that I can test this out on my end? |
Beta Was this translation helpful? Give feedback.
-
Pretty straight forward, prepare a workflow that takes quite some time (fork one of my repos if you like).
i.e., it is not possible to see the logs in real-time like in the actions tab. I analyzed the actions tabs, it seems it is calling an unpublished API to get the logs of a single step, and it is getting real-time logs of one step. |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Bug
Body
It is impossible to receive the logs of a workflow-run that is in-progress because of that reason.
Also using https://api.github.com/repos/OWNER/REPO/actions/jobs/JOB_ID/logs for getting a specific job logs it returns 404 while the job is running.
Beta Was this translation helpful? Give feedback.
All reactions