Skip to content

backfromexile/Aspire9.4.0-WaitForCompletion-bug-repro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

This is a project to reproduce the bug is was facing.

There is a bug with .WaitForCompletion(...) where a project resource will be detected as finished with exit code 0 if there is an exception.
To mitigate this bug we added a try-catch-block to our runner that exits with exit code -1.

However, after adding YARP we found that the WaitForCompletion is completely ignore if YARP is added as the parent of the resource that is supposed to wait for completion.

We were also able to reproduce the bug with another container resource (scalar) so this is probably related to all container resources and not just exclusively these two.

Reproduction

The project as is runs as expected.
Set Aspire:YarpAsParent to true and the web API will not wait for the completion of the runner, it will immediately be started.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages