Conversation
701bc3c to
e72e9a1
Compare
…precations - Add scripts/build-toolkit/ - TypeScript build runner using @aws-cdk/toolkit-lib for programmatic synthesis with structured warning/deprecation capture - Supports all 5 languages: TypeScript, Python, Java, Go, C#/.NET - Fix Node 16 runtime deprecation in s3-sns-lambda-chain (use NODEJS_LATEST) - Fix V1 pipeline type in codepipeline-build-deploy, elasticbeanstalk-bg-pipeline, lambda-api-ci (use PipelineType.V2) - Fix Python 3.6 runtime in elasticbeanstalk-bg-pipeline (use PYTHON_3_12) - Fix installLatestAwsSdk deprecation in ddb/global-table-with-cmk - Fix all C# projects: net6.0 -> net8.0 (EOL framework), including capitalize-string asset path and aws-lambda-tools-defaults.json - Fix deprecated 'dotnet run -p' -> 'dotnet run --project' in all C# cdk.json - Fix go/httpapi-lambda test: Template_FromStack API change (add nil opts) - Fix Go build command in build-toolkit (go build, not go build ./...)
e72e9a1 to
a0484f9
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Changes
New:
scripts/build-toolkit/A TypeScript build runner that replaces the bash-based
build-*.shscripts with programmatic CDK synthesis using@aws-cdk/toolkit-lib.Supports all 5 languages:
Features:
@aws-cdk/toolkit-libToolkitclass with customIIoHostto capture all warnings, deprecations, and errors during synthesisp-limit(default: 50% of CPU cores)--languagefilter to build only one language at a timeDeprecation fixes
s3-sns-lambda-chain@aws-cdk/aws-lambda-nodejs:useLatestRuntimeVersionfeature flagcodepipeline-build-deploypipelineType: PipelineType.V2elasticbeanstalk-bg-pipelinePipelineType.V2, changedPYTHON_3_6toPYTHON_3_12lambda-api-cipipelineType: PipelineType.V2ddb/global-table-with-cmkinstallLatestAwsSdkdefault@aws-cdk/customresources:installLatestAwsSdkDefault: falsefeature flagValidation
Smoke tested one project per language (python/lambda-cron, java/lambda-cron, go/lambda-cron, csharp/lambda-cron) - all pass build + synth.
Full TypeScript run: 77 ✅, 4 ❌ (pre-existing credential/snapshot issues), 7 ⏭️
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.