Skip to content

synth: command hanging indefinitely #34145

Closed
@skilbjo

Description

@skilbjo

Describe the bug

running npx cdk synth hangs forever, causes CI to fail, and prevents deployment

Regression Issue

  • Select this option if this issue appears to be a regression.

Last Known Working CDK Version

2.1007.0

Expected Behavior

command completes

Current Behavior

@Johns-MacBook-Air:app $ DD_TRACE_ENABLED=false npm run cdk synth

> @xhrdev/[email protected] cdk
> cdk synth

[WARNING] aws-cdk-lib.aws_dynamodb.TableOptions#pointInTimeRecovery is deprecated.
  use `pointInTimeRecoverySpecification` instead
  This API will be removed in the next major release.
[WARNING] aws-cdk-lib.aws_ecs.ClusterProps#containerInsights is deprecated.
  See {@link containerInsightsV2 }
  This API will be removed in the next major release.
[WARNING] aws-cdk-lib.aws_certificatemanager.DnsValidatedCertificate is deprecated.
  use {@link Certificate } instead
  This API will be removed in the next major release.
(node:71332) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)

[stays like this for ~20+ hours, whereas normally this completes in ~30s]

Reproduction Steps

npx cdk synth

Possible Solution

No response

Additional Information/Context

No response

CDK CLI Version

2.1007.0

Framework Version

No response

Node.js Version

22

OS

macOS

Language

TypeScript

Language Version

5.8.2

Other information

seems to have been working just fine until ~20 hours ago

possibly related?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis issue is a bug.needs-triageThis issue or PR still needs to be triaged.package/toolsRelated to AWS CDK Tools or CLIpotential-regressionMarking this issue as a potential regression to be checked by team member

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions