Closed sobolk closed 1 week ago
Latest commit: a49a0064ed627ed80c136558c75ad88a0be9f755
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
LGTM. One question, so the only way customers run into this is if they update their
package.json
? We would have to keep a close eye to make sure this isn't unintentionally changed to have mismatched versions
The other way would be to surgically npm update aws-cdk-lib
without the other one. I.e. they won't get into this situation by following our create flow. The mismatch happens after create flow, by playing with package.json or npm commands.
As for us changing create flow to mismatched versions. This one is tricky to assert because as long as we ^
both versions the npm will install both at latest - which in theory is correct state.
We would grossly mess this up if we skip ^
, but this would surface in e2e tests or canaries.
Problem
When installed
aws-cdk
andaws-cdk-lib
are not compatible a fault is raised.Repro.
Create project like and use mismatched CDK versions.
Observe
Changes
Add mapping and classify as user error.
Validation
Checklist
run-e2e
label set.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.