Skip to content

test(ci): add post-deploy template assertion suite#755

Merged
zirkelc merged 1 commit intomasterfrom
feat/748_post-deploy-template-assertions
Apr 12, 2026
Merged

test(ci): add post-deploy template assertion suite#755
zirkelc merged 1 commit intomasterfrom
feat/748_post-deploy-template-assertions

Conversation

@VirtueMe
Copy link
Copy Markdown
Collaborator

Closes #748

Summary

  • Add verify.test.js for the circular-dependency fixture — asserts no plain { Ref: LambdaFunction } in IAM policy resources, catching Circular dependency calling intrinsic function #470-class bugs that LocalStack may accept but CloudFormation rejects
  • Add "Verify compiled templates" CI step to integration.yml, running npx mocha "fixtures/**/verify.test.js" after the deploy step
  • notifications and basic-state-machine verify.test.js files were already in place from prior work

Test plan

  • Integration CI passes end-to-end (deploy + verify)
  • Deliberately break a fixture template and confirm verify catches it

🤖 Generated with Claude Code

- Add verify.test.js for circular-dependency fixture — asserts no plain
  { Ref: LambdaFunction } in IAM policy resources (catches #470-class bugs)
- Add "Verify compiled templates" step to integration.yml, runs
  npx mocha "fixtures/**/verify.test.js" after the deploy step

Closes #748

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Apr 10, 2026

Open in StackBlitz

npm i https://pkg.pr.new/serverless-operations/serverless-step-functions@755

commit: c623bcc

@zirkelc zirkelc merged commit 72fd1ad into master Apr 12, 2026
4 checks passed
@zirkelc zirkelc deleted the feat/748_post-deploy-template-assertions branch April 12, 2026 10:45
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.

test: add post-deploy template assertion suite for integration fixtures

2 participants