Skip to content

Check the service serves mounted code changes in CI - #4

Merged
HarshCasper merged 1 commit into
mainfrom
ci/assert-code-mounting
Oct 12, 2026
Merged

HarshCasper merged 1 commit into
mainfrom
ci/assert-code-mounting

Conversation

@HarshCasper

Copy link
Copy Markdown
Member

CI deployed the stack but never called the service, and never checked code mounting, which is the point of the sample.

  • New test.sh calls the service through the load balancer.
    • GET / must return Hello, LocalStack! and POST /post must echo the payload.
    • It then edits service/main.py on the host and waits until GET / returns the new text, without a redeploy. A trap restores the file.
  • New make test target, run by CI after the deploy.
  • CI runs lstk setup aws --force --non-interactive so lstk aws output can be captured.

Tested locally against LocalStack.

https://claude.ai/code/session_01DZfDmzUBPqNAu3yFKyfCNM

@HarshCasper
HarshCasper merged commit 98639fd into main 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