Skip to content
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

Better server start coordination #4292

Merged
merged 5 commits into from
Mar 22, 2024
Merged

Conversation

JohnMcPMS
Copy link
Member

@JohnMcPMS JohnMcPMS commented Mar 20, 2024

Change

Improve this named event creation by having both sides try to create or open it. The current version will almost always have to sleep at least once while the server sets up and can completely fail if it takes too long. With this change, we should be able to properly wait for startup on the first attempt.

Validation

Manual verification of functionality with a sleep introduced to ensure failure of previous code.

Microsoft Reviewers: Open in CodeFlow

@JohnMcPMS JohnMcPMS requested a review from a team as a code owner March 20, 2024 22:17
yao-msft
yao-msft previously approved these changes Mar 21, 2024
@JohnMcPMS
Copy link
Member Author

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

This comment has been minimized.

@JohnMcPMS JohnMcPMS merged commit 834806b into microsoft:master Mar 22, 2024
8 checks passed
@JohnMcPMS JohnMcPMS deleted the man-act-fix branch March 22, 2024 16:38
ryfu-msft pushed a commit to ryfu-msft/winget-cli that referenced this pull request Mar 25, 2024
## Change
Improve this named event creation by having both sides try to create or
open it. The current version will almost always have to sleep at least
once while the server sets up and can completely fail if it takes too
long. With this change, we should be able to properly wait for startup
on the first attempt.
ryfu-msft added a commit that referenced this pull request Mar 25, 2024
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