-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Fix NREs in SuspendStoppingPipeline() and RestoreStoppingPipeline() #11870
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
Fix NREs in SuspendStoppingPipeline() and RestoreStoppingPipeline() #11870
Conversation
PaulHigin
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
Can we add a regression test? |
Repo steps in original issue are too expensive/tricky. I don't know how create simple test. |
|
@iSazonov I agree. The original repro is too complex. It is unusual to not have a running pipeline and runspace, but engine events is one case. Another case might be Action script blocks on debugger breakpoints, but I don't think it is worth searching for another repro. |
|
Hi guys, I don't know what are your rules/policies in terms of regression tests when it comes to starting child shell in tests, but if that would not be an issue then what about a test like that : would that be of any use ? |
|
We have quite a few tests that start child shells, so that shouldn't be an issue I wouldn't think. Thanks for putting that together! 💖 It might be a good idea to output the exception details rather than just a string, but that's a very good start, thanks! |
|
@iSazonov can you please check if that test prototype can be integrated to this PR? Thank you. |
|
Test was added. |
|
🎉 Handy links: |
PR Summary
Fix #11869
PR Context
PR Checklist
.h,.cpp,.cs,.ps1and.psm1files have the correct copyright headerWIP:or[ WIP ]to the beginning of the title (theWIPbot will keep its status check atPendingwhile the prefix is present) and remove the prefix when the PR is ready.