Skip to content

Delay in recording a task as succeeded #5144

Answered by siddharthab
siddharthab asked this question in Q&A

You must be logged in to vote

I think I have the answer.

In my setup, the terminal is an emulated terminal (PTS instead of TTY) run by the VS Code browser window. When I close the browser window, VS Code starts buffering the data sent to the PTS, to display when the user opens a new browser window to reconnect to the session. I am not sure of the details, but I think because of the nature of Nextflow progress rendering, the PTS buffers become full and any further write operations to them will block. Which means, the renderProgress call in Nextflow will block. However, the various functions in AnsiLogObserver are all synchronized under one lock, instead of more granular synchronization on sources and sinks. So because r…

Replies: 5 comments 6 replies

You must be logged in to vote
0 replies

You must be logged in to vote
0 replies

You must be logged in to vote
0 replies

You must be logged in to vote
1 reply
@pditommaso

You must be logged in to vote
5 replies
@pditommaso

@siddharthab

Answer selected by siddharthab
@siddharthab

@pditommaso

@siddharthab

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #5143 on July 13, 2024 14:30.