Skip to content

T5: E2E smoke test and CI workflow - #47

Closed
devin-ai-integration[bot] wants to merge 3 commits into
devin/t4-gateway-routefrom
devin/t5-e2e-smoke
Closed

devin-ai-integration[bot] wants to merge 3 commits into
devin/t4-gateway-routefrom
devin/t5-e2e-smoke

Conversation

@devin-ai-integration

@devin-ai-integration devin-ai-integration Bot commented Jun 26, 2026 •

Copy link
Copy Markdown
Contributor

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:

  1. Polls GET /healthz on the gateway until healthy (up to 150s)
  2. Asserts GET /api/customers returns 401 (unauthenticated route confirmation)
  3. Asserts GET /healthz on customer-service directly returns 200

src/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 to main and devin/** 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


Open in Devin Review

- 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
@mbatchelor81 mbatchelor81 self-assigned this Jun 26, 2026
@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment, CI, and merge conflict monitoring

devin-ai-integration[bot]

This comment was marked as resolved.

devin-ai-integration[bot]

This comment was marked as resolved.

Reorder smoke tests: poll customer-service /healthz before testing the
gateway proxy route, preventing 502 flakiness when customer-service
starts slower than the gateway.
@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

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!

Written by Devin

@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

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!

Written by Devin

@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

Closed by the weekly post-workshop lab reset. The reference solution for this exercise is #56.

@devin-ai-integration
devin-ai-integration Bot deleted the devin/t5-e2e-smoke branch November 15, 2026 11:52
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