nix-output-monitor
nix-output-monitor copied to clipboard
Sometimes nom doesn‘t update the displayed state after a first build failure
Relevant when using nom with --keep-going.
Encountered by me, @piegamesde and @andir
Apparently even going back quite a while.
First step would be to find a reliable reproducer.
For reproducing, I suggest cross-compiling some larger package, for example aarch64-multiplatform.gtk4:
- A large package tree
- At least some of the packages are bound to fail straight away during configure phase
- Large enough to give you multiple attempts before having to GC :)
@piegamesde do you remember if the clock kept running after the error?
I wouldn‘t be surprised if this issue does not happen with the new json based parsing, but we should keep an eye out for it.
Not sure if the clock kept running for the failed task, but for the other (supposedly) running tasks it did
This issue is very old and the code in question has seen a lot of refactoring since. I have not been able to reproduce it. I encourage anyone who encounters this again to reopen this issue.
I just observed this issue again. Clock keeps running, logs still get printed but the displayed state goes stale. Like the thread responsible for updating the state hangs somehow.