Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Mitchdenny/wait-behavior-follow-up - #7668

#7668
Merged
mitchdenny merged 3 commits into
mainmicrosoft/aspire:mainfrom
mitchdenny/wait-behavior-follow-upmicrosoft/aspire:mitchdenny/wait-behavior-follow-upCopy head branch name to clipboard
Feb 19, 2025
Merged

Mitchdenny/wait-behavior-follow-up#7668
mitchdenny merged 3 commits into
mainmicrosoft/aspire:mainfrom
mitchdenny/wait-behavior-follow-upmicrosoft/aspire:mitchdenny/wait-behavior-follow-upCopy head branch name to clipboard

Conversation

@mitchdenny

Copy link
Copy Markdown
Member

Description

Follow up to #7650. Renames WaitBehavior enumeration values and adopts Davids ShouldYield inner method.

Checklist

  • Is this feature complete?
    • Yes. Ready to ship.
    • No. Follow-up changes expected.
  • Are you including unit tests for the changes and scenario tests if relevant?
    • Yes
    • No
  • Did you add public API?
    • Yes
      • If yes, did you have an API Review for it?
        • Yes
        • No
      • Did you add <remarks /> and <code /> elements on your triple slash comments?
        • Yes
        • No
    • No
  • Does the change make any security assumptions or guarantees?
    • Yes
      • If yes, have you done a threat model and had a security review?
        • Yes
        • No
    • No
  • Does the change require an update in our Aspire docs?

Copilot AI review requested due to automatic review settings February 19, 2025 00:27
@mitchdenny mitchdenny self-assigned this Feb 19, 2025
@mitchdenny mitchdenny added the area-app-testing Issues pertaining to the APIs in Aspire.Hosting.Testing label Feb 19, 2025
@mitchdenny mitchdenny added this to the 9.1 milestone Feb 19, 2025

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Comments suppressed due to low confidence (1)

src/Aspire.Hosting/ResourceBuilderExtensions.cs:741

  • Renamed WaitBehavior enumeration values to StopOnResourceUnavailable and WaitOnResourceUnavailable.
WaitFor(messaging, WaitBehavior.StopOnResourceUnavailable);

@eerhardt eerhardt left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good. Just 2 comments on comments

Comment thread src/Aspire.Hosting/ApplicationModel/ResourceNotificationService.cs Outdated
Comment thread src/Aspire.Hosting/ApplicationModel/WaitAnnotation.cs Outdated
@mitchdenny
mitchdenny merged commit d8ab7d0 into main Feb 19, 2025
@mitchdenny
mitchdenny deleted the mitchdenny/wait-behavior-follow-up branch February 19, 2025 01:18
@mitchdenny

Copy link
Copy Markdown
Member Author

/backport to release/9.1

@github-actions

Copy link
Copy Markdown
Contributor

Started backporting to release/9.1: https://github.com/dotnet/aspire/actions/runs/13403420214

@github-actions github-actions Bot locked and limited conversation to collaborators Mar 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-app-testing Issues pertaining to the APIs in Aspire.Hosting.Testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.