T5: E2E smoke test and CI workflow#47
Open
devin-ai-integration[bot] wants to merge 3 commits into
Open
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
Contributor
Author
🤖 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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