Skip to content

Check the job events reach DynamoDB and S3 in CI - #7

Merged
HarshCasper merged 1 commit into
masterfrom
ci/assert-event-flow
Oct 12, 2026
Merged

HarshCasper merged 1 commit into
masterfrom
ci/assert-event-flow

Conversation

@HarshCasper

Copy link
Copy Markdown
Member

CI deployed the stack and listed the resources, without sending any events.

  • New test.sh invokes AntiCorruptionFunction, then publishes JobCreated, JobSalaryUpdated and JobDeleted for one job to the FIFO topic.
    • The InventoryTable item must have eventSource ci and markAsDeleted true.
    • The analytics bucket must hold all 3 event types for the job.
  • New make test target. CI runs it in place of the list commands. .PHONY now lists the real targets.

STACK_NAME defaults to sam-app. sample-eventbridge-producer-consumer uses the same stack name, so deploying both on one LocalStack makes one replace the other.

Tested locally against LocalStack.

https://claude.ai/code/session_01DZfDmzUBPqNAu3yFKyfCNM

@HarshCasper
HarshCasper merged commit fb091e4 into master Oct 12, 2026
1 check passed
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.

1 participant