Repository navigation
T5: E2E smoke test and CI workflow - #47
devin-ai-integration[bot] wants to merge 3 commits into
Conversation
- Add tests/e2e/smoke-test.sh: checks gateway health, verifies 401 on unauthenticated /api/customers, and 200 on customer-service /healthz - Add src/docker-compose.e2e.yml: minimal compose with postgres, customer-service, and api-gateway (avoids Notification.API build bug) - Add .github/workflows/e2e.yml: runs smoke tests on push/PR to main and devin/** branches
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
Reorder smoke tests: poll customer-service /healthz before testing the gateway proxy route, preventing 502 flakiness when customer-service starts slower than the gateway.
|
Hi there, friendly reminder: this pull request hasn't had any activity in over 7 days (last activity: 2026-06-26). If it's still in progress, please push an update or leave a note on where it stands. If it's no longer needed, please close it. Thanks! |
|
Hi, friendly reminder: this pull request hasn't had any activity in over 7 days (last activity: 2026-10-14). If it's still in progress, please push an update or leave a note on where it stands. If it's no longer needed, please close it. Thanks! |
|
Closed by the weekly post-workshop lab reset. The reference solution for this exercise is #56. |
Summary
Adds an E2E smoke test suite that validates the gateway→customer-service route works end-to-end via Docker Compose.
tests/e2e/smoke-test.sh— bash script that:GET /healthzon the gateway until healthy (up to 150s)GET /api/customersreturns 401 (unauthenticated route confirmation)GET /healthzon customer-service directly returns 200src/docker-compose.e2e.yml— minimal compose with only postgres + customer-service + api-gateway (avoids Notification.API csproj reference bug that breaks full-stack builds)..github/workflows/e2e.yml— CI workflow triggered on push/PR tomainanddevin/**branches; builds the E2E compose stack, runs the smoke tests, and dumps logs on failure.Link to Devin session: https://partner-workshops.devinenterprise.com/sessions/881a10d6f6c1439a9acc0420c6860ad6
Requested by: @mbatchelor81