Skip to content

test: add local ECS runtime smoke test - #263

Merged
suguanYang merged 1 commit into
mainfrom
test/wangbinqi/localstack-ecs-smoke
Aug 13, 2026
Merged

test: add local ECS runtime smoke test#263
suguanYang merged 1 commit into
mainfrom
test/wangbinqi/localstack-ecs-smoke

Conversation

@suguanYang

Copy link
Copy Markdown
Contributor

Summary

  • add an isolated Docker runtime smoke test for the current API and worker images
  • run the complete Alembic migration graph against disposable PostgreSQL
  • verify API and worker container health with disposable Redis
  • document why LocalStack Community cannot validate ECS/Fargate orchestration

Safety

  • calls no AWS API
  • uses filesystem object storage and mock LLM responses
  • removes its temporary containers and Docker network on exit
  • supports alternate PostgreSQL/Redis images and Docker build proxy arguments

Verification

  • ./deploy/ecs/docker-runtime-smoke.sh passed
  • current API and worker images built successfully
  • Alembic migrations completed
  • API and worker runtime health checks passed
  • temporary containers and network were confirmed absent afterward
  • bash -n deploy/ecs/docker-runtime-smoke.sh passed
  • python3 -m pytest -q deploy/ecs/test_render_task_definitions.py passed (4 tests)
  • git diff --check passed

@suguanYang
suguanYang merged commit 27b32ba into main Aug 13, 2026
6 checks 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