-
Notifications
You must be signed in to change notification settings - Fork 4.3k
chore(cli-integ): cleanup unnecessary AwsClients creation
#33051
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
Conversation
| } | ||
|
|
||
| export class AwsClients { | ||
| public static async default(output: NodeJS.WritableStream) { |
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.
No one is using this now - which is great, we really shouldn't have been calling this function at all because it bypasses the region pool.
|
➡️ PR build request submitted to A maintainer must now check the pipeline and add the |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #33051 +/- ##
=======================================
Coverage 81.52% 81.52%
=======================================
Files 224 224
Lines 13762 13762
Branches 2414 2414
=======================================
Hits 11220 11220
Misses 2270 2270
Partials 272 272
Flags with carried forward coverage won't be shown. Click here to find out more.
|
|
Draft to wait for the test pipeline to succeed |
|
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
1 similar comment
|
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
|
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
|
Comments on closed issues and PRs are hard for our team to see. |
Some fixture cleanup:
withCdkMigrateAppwas needlessly creating its own instance ofAwsClientsinstead of reusing the one created by thewithAwsfixture.withMonolithicCfnIncludeCdkAppis no longer necessary because we now havewithSpecificFixturewhich can use a non default app.This will make it easier to introduce the allocation service logic as there is now only a single place that creates
AwsClientsChecklist
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license