Skip to content

chore(idempotency): pin @aws/durable-execution-sdk-js to 1.1.2#5281

Closed
svozza wants to merge 1 commit into
mainfrom
chore/pin-durable-execution-sdk-1.1.2
Closed

chore(idempotency): pin @aws/durable-execution-sdk-js to 1.1.2#5281
svozza wants to merge 1 commit into
mainfrom
chore/pin-durable-execution-sdk-1.1.2

Conversation

@svozza
Copy link
Copy Markdown
Contributor

@svozza svozza commented May 21, 2026

Summary

The 1.1.3 release of @aws/durable-execution-sdk-js is incompatible with the way our idempotency e2e durable-function tests are bundled, causing the deployed Lambda to fail at init with TypeError: fileURLToPath(undefined) (see #5280 for full logs and reproduction). The same handler bundles and runs cleanly on 1.1.2. This PR temporarily pins the dev dependency to the exact version 1.1.2 so the e2e suite is unblocked, with a plan to re-bump to a caret range once the related upstream change at aws/aws-durable-execution-sdk-js#546 lands in a release.

Changes

  • packages/idempotency/package.json: change @aws/durable-execution-sdk-js from ^1.1.3 to an exact pin 1.1.2 (no caret, so npm does not re-resolve forward to 1.1.3).
  • package-lock.json: refreshed via npm install so the SDK resolves to 1.1.2 for the idempotency workspace.

Test plan

  • npm run test:unit from packages/idempotency — all 123 unit tests pass locally.
  • The idempotency e2e durable-function suite passes

Issue number: closes #5280


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.

The 1.1.3 release is incompatible with our current CDK/esbuild
bundling for the idempotency e2e durable-function tests, so the
deployed Lambda fails at init with `fileURLToPath(undefined)`.
Pin the dev dependency to the exact version 1.1.2 until the
upstream change at aws/aws-durable-execution-sdk-js#546 ships in
a published release.

Refs #5280
@powertools-for-aws-oss-automation powertools-for-aws-oss-automation Bot added the size/XS PR between 0-9 LOC label May 21, 2026
@sonarqubecloud
Copy link
Copy Markdown

@svozza svozza requested review from dreamorosi and sdangol May 21, 2026 16:11
@dreamorosi
Copy link
Copy Markdown
Contributor

Let's see if we can get upstream to fix this first before merging.

@svozza
Copy link
Copy Markdown
Contributor Author

svozza commented May 21, 2026

Let's see if we can get upstream to fix this first before merging.

Agreed.

@svozza
Copy link
Copy Markdown
Contributor Author

svozza commented May 21, 2026

Closing this PR — superseded by the upstream fix.

@aws/durable-execution-sdk-js@1.1.4 was published to npm with the change from aws/aws-durable-execution-sdk-js#546, so we no longer need to pin to 1.1.2. A replacement PR will bump the dev dependency directly to ^1.1.4; I'll link it here once it's open.

@svozza
Copy link
Copy Markdown
Contributor Author

svozza commented May 21, 2026

Replacement opened: #5283 (bump to ^1.1.4).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/XS PR between 0-9 LOC

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: idempotency e2e durable-function tests fail at init on @aws/durable-execution-sdk-js@1.1.3

3 participants