Skip to content

Add health endpoint and backend smoke test CI workflow#127

Open
mohab-elshamy wants to merge 1 commit intosoft-eng-practicum:developfrom
mohab-elshamy:ci/backend-smoke-test
Open

Add health endpoint and backend smoke test CI workflow#127
mohab-elshamy wants to merge 1 commit intosoft-eng-practicum:developfrom
mohab-elshamy:ci/backend-smoke-test

Conversation

@mohab-elshamy
Copy link

This PR introduces a simple backend smoke test to ensure the application starts correctly and responds to basic health checks.

Changes

  • Added a new /api/health endpoint returning Healthy
  • Added a GitHub Actions workflow that:
    • Builds the backend
    • Starts the application without a launch profile
    • Polls the /api/health endpoint until the backend is ready

This helps detect startup issues early and improves CI reliability.

CI Smoke Test Results

Successful run Failing run

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