feat(integ-runner): toolkit-lib-engine is now the only engine (removes old cli-wrapper engine)#1108
Merged
aws-cdk-automation merged 4 commits intomainfrom Feb 3, 2026
Conversation
BREAKING CHANGE: The `--unstable=deprecated-cli-engine` option has been removed. The toolkit-lib engine is now the only supported engine for running integration tests. The `@aws-cdk/cdk-cli-wrapper` package has been deleted as it is no longer needed. Users who were using the deprecated cli-wrapper engine will automatically use the toolkit-lib engine instead. The `--unstable=toolkit-lib-engine` flag is also no longer needed and will emit a warning if used.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1108 +/- ##
==========================================
- Coverage 87.70% 87.64% -0.06%
==========================================
Files 72 72
Lines 10121 10121
Branches 1337 1334 -3
==========================================
- Hits 8877 8871 -6
- Misses 1219 1225 +6
Partials 25 25
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Contributor
|
Total lines changed 2226 is greater than 1000. Please consider breaking this PR down. |
607886b to
c91da48
Compare
rix0rrr
approved these changes
Feb 3, 2026
…ing directories - Replace strict equality check with `expect.arrayContaining()` to allow for variable directory existence - Add explanatory comment about git not tracking empty directories - Remove assertions for `cdk-integ.out.*` directory removal since it only occurs when the directory exists on disk - Ensure test remains stable regardless of whether git-tracked directories are present in the test environment
b9fe236 to
2e395de
Compare
1 task
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.
This PR completes the planned deprecation of the
cli-wrapperengine by removing it entirely and deleting the@aws-cdk/cdk-cli-wrapperpackage.The
cli-wrapperengine was deprecated in favor of thetoolkit-libengine, which uses the programmatic@aws-cdk/toolkit-liblibrary instead of spawning CLI processes. The deprecation notice indicated removal was scheduled for January 2026.Changes
The
toolkit-libengine is now the only supported engine for running integration tests. The@aws-cdk/cdk-cli-wrapperpackage has been deleted as it is no longer needed.To ensure backward compatibility for users who may still have
--unstable=deprecated-cli-engineor--unstable=toolkit-lib-enginein their scripts, a newunstable-features.tsmodule gracefully handles these removed flags by emitting warnings instead of failing.The
ICdkinterface and related types have been moved from@aws-cdk/cdk-cli-wrapperto@aws-cdk/integ-runner/lib/engines/cdk-interface.tssince they are still needed by the toolkit-lib engine implementation.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license