Skip to content

ci: use SAM for integration test deployments#708

Merged
zhongkechen merged 5 commits into
mainfrom
codex/sam-integration-test-deploy
Jul 13, 2026
Merged

ci: use SAM for integration test deployments#708
zhongkechen merged 5 commits into
mainfrom
codex/sam-integration-test-deploy

Conversation

@zhongkechen

@zhongkechen zhongkechen commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Summary

  • deploy regular integration-test functions through generated SAM stacks instead of per-function Lambda API calls
  • update example/SAM docs for the new workflow
image

Validation

  • node --check .github/workflows/scripts/integration-test/integration-test.js
  • git diff --check
  • sam validate -t packages/aws-durable-execution-sdk-js-examples/template.yml --region us-west-2

@zhongkechen
zhongkechen marked this pull request as draft July 9, 2026 22:35
@zhongkechen zhongkechen changed the title Use SAM for integration test deployments ci: use SAM for integration test deployments Jul 9, 2026
@zhongkechen
zhongkechen force-pushed the codex/sam-integration-test-deploy branch 5 times, most recently from a032fd6 to 9c976a1 Compare July 9, 2026 23:24
@zhongkechen
zhongkechen marked this pull request as ready for review July 9, 2026 23:29
@zhongkechen
zhongkechen force-pushed the codex/sam-integration-test-deploy branch from 9c976a1 to f309419 Compare July 9, 2026 23:40
Comment thread .github/workflows/integration-tests.yml Outdated
Comment thread packages/aws-durable-execution-sdk-js-examples/scripts/README.md
Comment thread .github/workflows/cleanup-integration-tests.yml
@zhongkechen
zhongkechen merged commit 9e8c858 into main Jul 13, 2026
15 checks passed
@zhongkechen
zhongkechen deleted the codex/sam-integration-test-deploy branch July 13, 2026 17:59
wangyb-A pushed a commit that referenced this pull request Jul 17, 2026
The initial workflow assumed ACTIONS_INTEGRATION_ROLE_NAME (the legacy
direct-Lambda-API role without CloudFormation rights), which failed at
sam deploy with AccessDenied on cloudformation:CreateChangeSet. The SAM-based
integration tests (#708) assume TEST_ROLE_ARN, which has CloudFormation/S3/IAM.
Switch to it and pass the same LAMBDA_ENDPOINT/TEST_ACCOUNT_ID/
TEST_LAMBDA_EXECUTION_ROLE_ARN env.
wangyb-A pushed a commit that referenced this pull request Jul 17, 2026
The initial workflow assumed ACTIONS_INTEGRATION_ROLE_NAME (the legacy
direct-Lambda-API role without CloudFormation rights), which failed at
sam deploy with AccessDenied on cloudformation:CreateChangeSet. The SAM-based
integration tests (#708) assume TEST_ROLE_ARN, which has CloudFormation/S3/IAM.
Switch to it and pass the same LAMBDA_ENDPOINT/TEST_ACCOUNT_ID/
TEST_LAMBDA_EXECUTION_ROLE_ARN env.
wangyb-A pushed a commit that referenced this pull request Jul 20, 2026
The initial workflow assumed ACTIONS_INTEGRATION_ROLE_NAME (the legacy
direct-Lambda-API role without CloudFormation rights), which failed at
sam deploy with AccessDenied on cloudformation:CreateChangeSet. The SAM-based
integration tests (#708) assume TEST_ROLE_ARN, which has CloudFormation/S3/IAM.
Switch to it and pass the same LAMBDA_ENDPOINT/TEST_ACCOUNT_ID/
TEST_LAMBDA_EXECUTION_ROLE_ARN env.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants