Skip to content

only reconnect to isBackground task terminals#181430

Merged
meganrogge merged 1 commit into
mainfrom
merogge/bg
May 4, 2023
Merged

only reconnect to isBackground task terminals#181430
meganrogge merged 1 commit into
mainfrom
merogge/bg

Conversation

@meganrogge

@meganrogge meganrogge commented May 3, 2023

Copy link
Copy Markdown
Collaborator

To test:

Using xterm.js, modify the Start demo task so none of its dependencies have isBackground:true. Start that task and reload the window. 🐛 , without these changes, the tasks are still running but the task system doesn't know that. With these changes, the task terminals should no longer be there.

Context:
We wanted to keep terminals around that had tasks run in them regardless of whether or not those tasks persisted. In doing that, the tasks were never terminated. We could keep the terminals around after reload, but I think that's confusing and we should just kill them.

Also see #180374 (comment)

An exploration into a different approach - where we would reconnect to non background tasks as well:
#180243 (comment)

fixes #180243

@meganrogge meganrogge requested a review from Tyriar May 3, 2023 17:40
@vscodenpa vscodenpa added this to the May 2023 milestone May 3, 2023
@meganrogge meganrogge merged commit e315a9e into main May 4, 2023
@meganrogge meganrogge deleted the merogge/bg branch May 4, 2023 01:09
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"Developer: Reload Window" causes issues for long running tasks

3 participants