-
Notifications
You must be signed in to change notification settings - Fork 3
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
Approval sometimes doesn't show up #355
Comments
Interesting, cmd.askForApprovalMsg is received and then the process hangs. Will have to repro locally to debug deeper. |
I wasn't able to repro this in like 10 tries. Can you exclude that this was a rendering issue (e.g. resizing the terminal at an inconvenient time)? Can you confirm that the process was truly hanging (no reaction to inputs)? Specifically no reactions to (in this order): regular letters, pressing enter, pressing escape, pressing Ctrl+C. If you have a process hanging like this the next time, please try to grab a goroutine dump by sending a SIQUIT or SIGABRT as described here: https://stackoverflow.com/a/35290196/4918 |
I ran it again without resizing (I had never resized) and it's still happening
Session 1:
Session 2:
^ This was not visible before pressing Ctrl+C
I can get a dump but it's ~7000 lines in this horiffic format:
|
Since it does seem to respond to inputs, this is a rendering issue, not a "hang" per-se. A screenshot would be beneficial, and how the program reacts to resizing the terminal.
Yes. just paste it into a text file and send it over. It's all the same to me. |
Here's a video of it happening, I'm pretty convinced that it's just not showing the prompt, since if you hit enter it behaves in the same way as you'd expect if the prompt was there. In this case though I hit Ctrl+C: Screen.Recording.2024-06-04.at.5.46.02.PM.mp4 |
I think I figured out what this is: |
Even after a bunch of debugging, Dylan's VSCode shell is the only instance where we could observe this. Gonna punt on this for now. |
This seems to be a similar race condition to the ones we were seeing before. Occasionally when running
overmind terraform plan
the approval box doesn't show up and the command appears to hang, then other times it works. I have tried this a few times and the behaviour appears to be intermittentTry 1: Worked
Try 2: Hung - teabug log attached
The text was updated successfully, but these errors were encountered: