-
Notifications
You must be signed in to change notification settings - Fork 31
fix(cli): surface unknown liveness in resolve/delete/archive (win32) #39
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
Changes from all commits
7619ead
502c5e8
58d17b2
d9f5dbe
6a08feb
caa3eb9
8a49cea
eeb1f87
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -555,8 +555,17 @@ def done(ok: bool | None) -> None: | |
|
|
||
| @work(thread=True, group="lifecycle") | ||
| def _cleanup_sessions_worker(self) -> None: | ||
| killed = runs.prune_sessions(self.project) | ||
| # killed and unknown come from prune_sessions' single partition sample, | ||
| # so the warning below only ever names sessions that were actually pruned | ||
| killed, _live, unknown = runs.prune_sessions(self.project) | ||
| windows = launch.prune_ctl_windows(self.project) | ||
| if unknown: | ||
| self.call_from_thread( | ||
| self.notify, | ||
| f"{len(unknown)} pruned session(s) had an unverifiable engine pid " | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Severity: low 🤖 Was this useful? React with 👍 or 👎, or 🚀 if it prevented an incident/outage. |
||
| f"(may still be live): {', '.join(sorted(unknown))}", | ||
| severity="warning", | ||
| ) | ||
| self.call_from_thread( | ||
| self.notify, | ||
| f"removed {len(killed)} session(s), {len(windows)} window(s)", | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.