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(codegen): update to Smithy 1.12.0 #2878

Merged
merged 2 commits into from
Oct 7, 2021

Conversation

adamthom-amzn
Copy link
Contributor

Description

Updates to Smithy 1.12.0 to align with the same update in smithy-typescript: smithy-lang/smithy-typescript#448

CI will probably fail until smithy-lang/smithy-typescript#448 has been merged, and will need to be rerun.

Testing

Regenerated protocol tests for client and server locally and ran them, and built the generic client locally as well.


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Some malformed request tests are applied to the restJson1 service, which
results in unused client commands being generated for the non-server tests,
hence the large batch of new files in the aws-restjson protocol tests.
@adamthom-amzn adamthom-amzn requested review from JordonPhillips, gosar and a team October 7, 2021 22:19
@codecov-commenter
Copy link

Codecov Report

Merging #2878 (6ed4f94) into main (d9012cc) will decrease coverage by 1.84%.
The diff coverage is 61.27%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #2878      +/-   ##
==========================================
- Coverage   60.42%   58.57%   -1.85%     
==========================================
  Files         554      558       +4     
  Lines       28886    30249    +1363     
  Branches     7072     7443     +371     
==========================================
+ Hits        17453    17719     +266     
- Misses      11433    12530    +1097     
Impacted Files Coverage Δ
protocol_tests/aws-ec2/src/EC2ProtocolClient.ts 92.00% <ø> (ø)
protocol_tests/aws-json-10/src/JSONRPC10Client.ts 92.00% <ø> (ø)
protocol_tests/aws-json/src/JsonProtocolClient.ts 92.85% <ø> (ø)
...rotocol_tests/aws-query/src/QueryProtocolClient.ts 92.00% <ø> (ø)
...l_tests/aws-restjson/src/RestJsonProtocolClient.ts 92.00% <ø> (ø)
..._tests/aws-restjson/src/protocols/Aws_restJson1.ts 44.13% <ø> (-16.86%) ⬇️
protocol_tests/aws-ec2/src/protocols/Aws_ec2.ts 64.75% <25.92%> (-0.98%) ⬇️
...col_tests/aws-json-10/src/protocols/Aws_json1_0.ts 64.18% <25.92%> (-2.48%) ⬇️
...otocol_tests/aws-json/src/protocols/Aws_json1_1.ts 68.11% <25.92%> (-1.28%) ⬇️
...rotocol_tests/aws-query/src/protocols/Aws_query.ts 64.56% <25.92%> (-0.71%) ⬇️
... and 6 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d9012cc...6ed4f94. Read the comment docs.

@AllanZhengYP AllanZhengYP merged commit 7f5567b into aws:main Oct 7, 2021
@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants