-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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: always execute closeContainer() executor #988
fix: always execute closeContainer() executor #988
Conversation
During our earlier refactoring in nektos#984 we accidentally changed the behaviour in such a way that the `closeContainer()` executor was never called. This commit restores the earlier behaviour. Ref: * https://github.com/nektos/act/pull/984/files#diff-c057d66dc9657d8428e290c69871596e2b567bb8fecad62a99cab54398131a84L294 * https://github.com/nektos/act/pull/984/files#diff-ea9d5c93d769ef9b268932dd9990363e97fc3bec8a00114979d049bead5dd718R68
This commit adds tests to ensure that the executors of `startContainer`, `stopContainer`, `interpolateOutputs` and `closeContainer` are always called in the correct order.
@ZauberNerd this pull request has failed checks 🛠 |
fd84c2a
to
5bba913
Compare
Codecov Report
@@ Coverage Diff @@
## master #988 +/- ##
==========================================
+ Coverage 57.50% 58.24% +0.73%
==========================================
Files 32 34 +2
Lines 4594 4615 +21
==========================================
+ Hits 2642 2688 +46
+ Misses 1729 1703 -26
- Partials 223 224 +1
Continue to review full report at Codecov.
|
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.
Thanks
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.
I better ran my fd leak test on the previous change... This is not something you would notice easily within act.
During our earlier refactoring in #984 we accidentally changed the
behaviour in such a way that the
closeContainer()
executor was nevercalled.
This commit restores the earlier behaviour and adds test cases for this regression.
Ref: