Skip to content

Commit b071a9f

Browse files
authored
fix(deploy): bump @aws-cdk/cdk-assets-lib to read schema 54 asset manifests (#1468)
PR #1465 fixed the synth-time reader (@aws-cdk/toolkit-lib 1.16 -> 1.28) but the asset-publish phase uses a separate package, @aws-cdk/cdk-assets-lib, that was still pinned to 1.4.2 in the shrinkwrap. 1.4.2's @aws-cdk/cloud-assembly-schema floor is >=53.8.0 — it cannot read schema 54 asset manifests written by aws-cdk-lib@2.258.0+. Symptom: e2e (main, 6/6) failed after the rerun of #1465 with "Cannot read asset manifest 'cdk.out/...assets.json': Cloud assembly schema version mismatch: Maximum schema version supported is 53.x.x, but found 54.0.0" on byo-custom-jwt deploy. (Dataset tests passed because dataset stacks have no file/zip/docker assets.) Adding @aws-cdk/cdk-assets-lib as a direct dependency at ^1.4.10 forces the shrinkwrap to resolve the asset-publisher reader to a version whose cloud-assembly-schema floor is >=54.2.0. toolkit-lib's wide ^1 transitive range was insufficient to upgrade past 1.4.2 during the previous regen. Verified locally: end-to-end agentcore deploy of a BYO Strands agent against aws-cdk-lib@2.258.0 (writes schema 54) now succeeds — synth, asset publish, CFN deploy all pass.
1 parent 259654b commit b071a9f

2 files changed

Lines changed: 44 additions & 46 deletions

File tree

npm-shrinkwrap.json

Lines changed: 43 additions & 46 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@
7575
"bundle": "node scripts/bundle.mjs"
7676
},
7777
"dependencies": {
78+
"@aws-cdk/cdk-assets-lib": "^1.4.10",
7879
"@aws-cdk/toolkit-lib": "^1.28.0",
7980
"@aws-sdk/client-application-signals": "^3.1003.0",
8081
"@aws-sdk/client-bedrock": "^3.1012.0",

0 commit comments

Comments
 (0)