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

fix(codegen): buildSdk on ci #4692

Merged
merged 1 commit into from
May 9, 2023
Merged

fix(codegen): buildSdk on ci #4692

merged 1 commit into from
May 9, 2023

Conversation

srchase
Copy link
Contributor

@srchase srchase commented May 2, 2023

Issue

Issue number, if available, prefixed with "#"

Description

While attempting to release a new version of the code generator, it was uncovered that running ./gradle clean build from the /codegen directory results in java.lang.OutOfMemoryError: Java heap space.

This PR updates the CI workflow to run the sdk-codegen:build task, which invokes the buildSdk task, which generates clients for each of the model files within the codegen/sdk-codegen/aws-models directory.

These errors started with the changes introduced in #4625 and smithy-lang/smithy-typescript#735.

Testing

This is expected to fail until changes from smithy-lang/smithy-typescript#760, smithy-lang/smithy-typescript#759 and #4712 have been merged.

Additional context

Add any other context about the PR here.


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

@srchase srchase requested a review from a team as a code owner May 2, 2023 21:56
@srchase srchase mentioned this pull request May 9, 2023
@srchase srchase force-pushed the oom-ci branch 3 times, most recently from 775f2a9 to 9eb411e Compare May 9, 2023 18:39
@srchase srchase changed the title fix(codegen): increase heap size, buildSdk on ci fix(codegen): buildSdk on ci May 9, 2023
@srchase srchase merged commit b43ee0d into aws:main May 9, 2023
@srchase srchase deleted the oom-ci branch May 9, 2023 22:50
@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 May 24, 2023
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.

2 participants