From 356e071c876b886fe85a6179eb62c56928d83d5c Mon Sep 17 00:00:00 2001 From: Jesse Turner Date: Tue, 14 Apr 2026 22:30:40 +0000 Subject: [PATCH] fix(ci): update snapshots after CDK version sync in release workflow The release workflow syncs @aws/agentcore-cdk to the latest npm version but did not update the asset snapshot tests, causing the test-and-build job to fail with a snapshot mismatch. --- .github/workflows/release.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 712e7e4a..dca2fb38 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -134,6 +134,11 @@ jobs: echo "branch=release/v$NEW_VERSION" >> $GITHUB_OUTPUT echo "New version: $NEW_VERSION" + - name: Update snapshots after CDK sync + run: | + npm run test:update-snapshots + echo "✓ Snapshots updated" + - name: Regenerate JSON schema run: | npm run build