Skip to content
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

Log lines for an active step are inaccessible #2131

Closed
etaormm opened this issue Sep 19, 2022 · 38 comments
Closed

Log lines for an active step are inaccessible #2131

etaormm opened this issue Sep 19, 2022 · 38 comments
Assignees
Labels
bug Something isn't working

Comments

@etaormm
Copy link

etaormm commented Sep 19, 2022

Last issue got closed without resolution -> #886

Describe the bug
When opening the "run" page for an active job you can see:

Gray checkmarks and expandable sections for completed steps and all of their log lines.
Yellow loading animation on any active steps.
Circles for the future steps.
The log lines for the active steps will then start streaming in, but the prior lines for that step are not there, and there appears to be no way to see them until the step completes.

To Reproduce
Steps to reproduce the behavior:

Run an action
Visit the run page after a few seconds and try to find the log lines for the currently running step that occurred before you loaded the page.

Expected behavior
All of the log lines that were emit before I loaded the page should be visible, then new ones stream in afterwards.

@etaormm etaormm added the bug Something isn't working label Sep 19, 2022
@ViacheslavKudinov
Copy link

Same issue.
It's not possible to see the previous log output if no new logs are coming.
We need the ability to see what is happening if to open Action run later and job/step is "stuck on something", but without streaming any new logs.
Now it is impossible to troubleshoot what is happening.
Moreover, cancelletion is not an option for some use cases just to get log outputs.

@nikola-jokic nikola-jokic added the Runner Bug Bug fix scope to the runner label Oct 3, 2022
@etaormm
Copy link
Author

etaormm commented Jan 11, 2023

@nikola-jokic I don't like to bump issues, but when can we assign this to Developer?

@mcarans
Copy link

mcarans commented Jan 12, 2023

It is pretty poor that the first issue (886) got closed without any explanation. This issue has been a pain for me for a while. Whenever I have a step that runs far longer than expected, I cannot look at the log to see where it has reached. I can't determine whether it's near the finish line or stuck somewhere near the beginning.

If developer inconvenience is insufficient cause to fix this, then another way to look at it is cost. If I know a step is stuck near the beginning from the log, I will probably stop it rather than letting it run in the hope it is near completion. Imagine this unnecessary processing across many errant steps in multiple Actions from many projects and the resources add up.

This really needs to be prioritised and fixed.

@dongho-jung
Copy link

image

I'm sure that a lot of developers are suffering due to this issue. is that technically impossible? if so, please say so, so that I don't need to mind this issue anymore

@ViacheslavKudinov
Copy link

Same issue.
It's not possible to understand what is happening when open log and there is no new lines.
Is it stuck? Is it doing something? If so, should I wait or cancel?
It is really poor experience with this behaviour of showing logs.

@umm0n
Copy link

umm0n commented Jan 12, 2023

If somebody were to ask me what's my number 1 annoyance with GHA, I would point them to this issue. It would be amazing if this could get prioritised.

@amravazzi
Copy link

+1

@ruvceskistefan ruvceskistefan removed the Runner Bug Bug fix scope to the runner label Jan 13, 2023
@ruvceskistefan
Copy link
Contributor

Hey @etaormm,
This is not runner issue, other team is currently working on this feature.
As mentioned in closed ticket this repo is just for Runner bugs so I'll close this issue. You can address it on GitHub feedback forum

@etaormm
Copy link
Author

etaormm commented Jan 13, 2023

Hey @ruvceskistefan,

Okey but, this was first raised back in 2020 (someone mentioned in old ticket that this feature is in backlog) - so, 2 years ago and this issue is still present.... it is indeed a major issue, just look at GitLab - they don't have such bug with log output.

Since you're saying that other team is working on this issue (feature), is there any possibility that we can escalate this?
This should be a priority.

@ViacheslavKudinov
Copy link

ViacheslavKudinov commented Jan 13, 2023

While ago when we asked Enterprise support, they pointed us out to address this issue in actions/runner repo.
GitLab is not the one example, I've never had this issue with Jenkins, Google Cloud build, Bamboo, DroneCI, GoCD...
It is really frustrating to have it on GitHub when we heavily rely on the platform these days.

@mcarans
Copy link

mcarans commented Jan 13, 2023

Hey @etaormm, This is not runner issue, other team is currently working on this feature. As mentioned in closed ticket this repo is just for Runner bugs so I'll close this issue. You can address it on GitHub feedback forum

I would classify this as a bug since not displaying any output for a step that is long running is not what I would describe as normal behaviour.

I have raised it on the GitHub Feedback Forum here: community/community#44250

@axel-h
Copy link

axel-h commented Apr 17, 2023

@ruvceskistefan Fair point, that it's not a runner issue. But this issue (or #886) is what people like me find when trying to find a solution or the current status. So, where should we look instead?

@jaredsinclair
Copy link

jaredsinclair commented Apr 18, 2023

Please GitHub provide visibility into this issue. We are wasting so much time and energy canceling and rerunning logs, not to mention the total inability to have multiple teammates in a work-from-home scenario be able to jointly view logs from active jobs. None of us are asking for the moon here. Visibility please.

@tking16
Copy link

tking16 commented May 19, 2023

Lol closed and no fix, embarrassing...

@adamwojt
Copy link

Still not fixed.

@umm0n
Copy link

umm0n commented Jun 27, 2023

This feature will soon be released. I suggest you follow issue #886 for updates.

@ViacheslavKudinov
Copy link

Hm, but #886 is closed.
@umm0n Was it the correct issue to follow?

@umm0n
Copy link

umm0n commented Jun 27, 2023

@ViacheslavKudinov It's the only issue I've seen with regular dev updates on this, last one being May 31 2023.

@meyuviofficial
Copy link

I'm running Packer in my GitHub Workflow (self-hosted runners) and the log never shows up. As everyone knows, if it is completed/failed, then it is available. But, it is not live. Please provide a fix soon.

@axelcoezard
Copy link

I have this bug too on a Github Workflow (self-hosted runners), running Cypress tests.

@ChangeinX
Copy link

Last issue got closed without resolution -> #886

Describe the bug
When opening the "run" page for an active job you can see:

Gray checkmarks and expandable sections for completed steps and all of their log lines.
Yellow loading animation on any active steps.
Circles for the future steps.
The log lines for the active steps will then start streaming in, but the prior lines for that step are not there, and there appears to be no way to see them until the step completes.

To Reproduce
Steps to reproduce the behavior:

Run an action
Visit the run page after a few seconds and try to find the log lines for the currently running step that occurred before you loaded the page.

Expected behavior
All of the log lines that were emit before I loaded the page should be visible, then new ones stream in afterwards.

@divmgl
Copy link

divmgl commented Aug 31, 2023

Running into this issue now and it's costing me hours of my time. Killing the workflow also isn't showing me logs.

@paholg
Copy link

paholg commented Sep 19, 2023

Also running into this. Can we please have a tracking issue or something at least? It's pretty crazy that this is not fixed, yet the only issues about it are closed.

@shqear93
Copy link

any updates here?? @github "engineers"!

@vmoens
Copy link

vmoens commented Sep 20, 2023

Help guys! This is a real pain, help would be greatly appreciated!

@bryanmacfarlane
Copy link
Member

Since #866 was linked here, please check the last entry there from last week

@chtpl
Copy link

chtpl commented Sep 26, 2023

This is a no-go, Microsoft. Fix it ASAP!

@ogwok
Copy link

ogwok commented Oct 3, 2023

Me too, I can't really view the "errors" in the logs. Please we need a fix.

@r0b3r4
Copy link

r0b3r4 commented Oct 4, 2023

wtf this issue is just closed?

@phact
Copy link

phact commented Oct 6, 2023

😭

@omril1
Copy link

omril1 commented Nov 21, 2023

This is pure evil of you to not fix and even close the issue.
Truly a dark pattern to make us waste more time on CI aborts and reruns for your greedy corp

@Dmitry1987
Copy link

This is pure evil of you to not fix and even close the issue. Truly a dark pattern to make us waste more time on CI aborts and reruns for your greedy corp

🤣
you watch too much youtube mate, it's not evil, it's called business 👨‍💼 💼
but yeah completely ridiculous, 3 years passed since people started complaining about that issue...

@bryanmacfarlane
Copy link
Member

bryanmacfarlane commented Dec 12, 2023

Check the comment above linking to the dupe with the status. It's implemented, many customers have been flagged in and it's starting to rollout.

@patrickelectric
Copy link

images

@philipvirtune
Copy link

pls fix

@wrslatz
Copy link

wrslatz commented Apr 30, 2024

Looks like this has been released! 🎉
Blog, github/roadmap#839

@HaveAGitGat
Copy link

For those like me confused that this still doesn't seem to be working: link

will also show the previous 1,000 lines when visiting the logs of an actively running job.

It's still not possible to see the whole log of the active step. So I would say this feature has not been implemented, could add a UI indicator to say it's limited to the last 1000 lines. Maybe AI in 50 years will be able to solve the problem of giving a log file to the user ;).

1000 lines is an improvement though so thank you for that 😊.

@brianjmurrell
Copy link

Clearly 1000 lines is a performance thing.

Maybe a compromise is to default to 1000 lines but allow the user to specify if they want more. That way for anyone that 1000 lines is enough, the existing behaviour is maintained but for those that really do need more than 1000 they have the option, that they have to take action to achieve.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests