Summary
After Deno 2.7.13, AWS CDK deploy hangs in CI when invoked through Deno's npm compatibility layer:
deno run -A npm:cdk deploy --require-approval never --progress events
The deploy hangs after: V2Stack: start: Publishing V2Stack Template
This worked reliably before Apr 22, 2026. Pinning older CDK versions does not fix it. The same deploy works locally outside Deno / with normal Node.js CDK. Pinning to Deno 2.7.12 fixes the issue.
Suspected regression
Deno 2.7.13 includes:
feat(ext/node): rewrite node:http with llhttp and native TCPWrap (#33208)
fix(ext/node): http client compat improvements (#33337)
fix(ext/node): improve node:tls compat (#33331)
This looks related because CDK template publishing uploads to S3 using the AWS SDK over Node-compatible HTTP/TLS streams.
There is prior related issue #27239: Deno hangs during S3 bucket upload when deploying with AWS CDK.
Summary
After Deno 2.7.13, AWS CDK deploy hangs in CI when invoked through Deno's npm compatibility layer:
The deploy hangs after:
V2Stack: start: Publishing V2Stack TemplateThis worked reliably before Apr 22, 2026. Pinning older CDK versions does not fix it. The same deploy works locally outside Deno / with normal Node.js CDK. Pinning to Deno 2.7.12 fixes the issue.
Suspected regression
Deno 2.7.13 includes:
This looks related because CDK template publishing uploads to S3 using the AWS SDK over Node-compatible HTTP/TLS streams.
There is prior related issue #27239: Deno hangs during S3 bucket upload when deploying with AWS CDK.