-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
CFNV2: provide logging for deferred actions and cleanup #13018
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
Merged
pinzon
merged 6 commits into
cfn/v2/url-replacements
from
cfn/v2/defer-action-logging-and-cleanup
Aug 19, 2025
Merged
CFNV2: provide logging for deferred actions and cleanup #13018
pinzon
merged 6 commits into
cfn/v2/url-replacements
from
cfn/v2/defer-action-logging-and-cleanup
Aug 19, 2025
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34df121 to
b6e8b5a
Compare
5ab71be to
ab7dcf3
Compare
b6e8b5a to
2e95f36
Compare
ab7dcf3 to
8b8386d
Compare
8b8386d to
05caaa7
Compare
2e95f36 to
6bd0ec4
Compare
pinzon
approved these changes
Aug 19, 2025
Member
pinzon
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
| def _compute_fn_not(arg: bool) -> bool: | ||
| return not arg | ||
| def _compute_fn_not(arg: list[bool] | bool) -> bool: | ||
| # Is the argument ever a lone boolean? |
Member
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.
the docs define the argument of a Fn::Not is an array. But let's keep the try/except just in case.
simonrw
added a commit
that referenced
this pull request
Aug 19, 2025
simonrw
added a commit
that referenced
this pull request
Aug 19, 2025
simonrw
added a commit
that referenced
this pull request
Aug 19, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
review: merge when ready
Signals to the reviewer that a PR can be merged if accepted
semver: minor
Non-breaking changes which can be included in minor releases, but not in patch releases
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation
While debugging I found it useful to log the deffered actions as they happen along with why the action was being run.
There are also some tests that now pass that haven't been unskipped.
Note
This PR is part of a stack and builds on #13012
Changes