Skip to content

[release/13.4] Handle process inspection race during shutdown#17681

Closed
aspire-repo-bot[bot] wants to merge 1 commit into
release/13.4from
backport/pr-17676-to-release/13.4
Closed

[release/13.4] Handle process inspection race during shutdown#17681
aspire-repo-bot[bot] wants to merge 1 commit into
release/13.4from
backport/pr-17676-to-release/13.4

Conversation

@aspire-repo-bot
Copy link
Copy Markdown
Contributor

@aspire-repo-bot aspire-repo-bot Bot commented May 29, 2026

Backport of #17676 to release/13.4

/cc @danegsta

Customer Impact

Fixes an issue where aspire start could throw when checking for the start time of a process that had already exited instead of reporting it as not found.

Testing

Manual smoke tests.

Risk

Low, just an extra defensive exception handler.

Regression?

No

Treat Win32Exception while inspecting process metadata as a stale or non-targetable process so stop monitoring does not fail when an AppHost exits during shutdown.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings May 29, 2026 20:19
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@github-actions
Copy link
Copy Markdown
Contributor

🚀 Dogfood this PR with:

⚠️ WARNING: Do not do this without first carefully reviewing the code of this PR to satisfy yourself it is safe.

curl -fsSL https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 17681

Or

  • Run remotely in PowerShell:
iex "& { $(irm https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 17681"

@danegsta danegsta closed this May 29, 2026
@microsoft-github-policy-service microsoft-github-policy-service Bot added this to the 13.4 milestone May 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants