Skip to content
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

chore(cli-core): double hooks invocation bugfix #11335

Closed
wants to merge 5 commits into from

Conversation

aws-eddy
Copy link
Contributor

@aws-eddy aws-eddy commented Nov 4, 2022

Description of changes

Added context information on exception handler such that whenever there was an error, the hookExecutor would know about the exception. Clearing out the executionQueue after each run also allows for the queue to be kept tidy and not have lingering executions that can be misconstrued by the hooksExecutor.

Issue #, if available

#9996

Description of how you validated changes

tested locally, creating a tagged release to validate that the issue no longer exists in hosting.

Checklist

  • PR description included
  • yarn test passes
  • Tests are changed or added
  • [n/a] Relevant documentation is changed or added (and PR referenced)
  • [n/a] New AWS SDK calls or CloudFormation actions have been added to relevant test and service IAM policies
  • [] Pull request labels are added

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@aws-eddy aws-eddy requested review from jhockett and akshbhu November 4, 2022 21:37
@aws-eddy aws-eddy requested a review from a team as a code owner November 4, 2022 21:37
@aws-eddy
Copy link
Contributor Author

aws-eddy commented Nov 5, 2022

had another tagged release with this branch name so publishing was failing

@aws-eddy aws-eddy closed this Nov 5, 2022
@aws-eddy aws-eddy deleted the tagged-release/double-hooks branch November 5, 2022 05:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant