Skip to content

Api health - on prod, fix for release test#55

Merged
aligneddev merged 2 commits into
mainfrom
apiHealth
Jun 15, 2026
Merged

Api health - on prod, fix for release test#55
aligneddev merged 2 commits into
mainfrom
apiHealth

Conversation

@aligneddev

Copy link
Copy Markdown
Owner

No description provided.

aligneddev and others added 2 commits June 15, 2026 14:59
MapDefaultEndpoints only maps /health when IsDevelopment().
Published API runs Production -> /health returns 404.

Switch probe to / which always returns 200 in all environments.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
MapDefaultEndpoints previously gated both endpoints behind IsDevelopment(),
causing 404 in the release smoke test and for installed-app users.

This is a local-first desktop app with no cloud exposure, so the
Aspire-template security caveat does not apply. Remove the guard so
/health is reachable in all environments.

Restore /health probe in release.yml smoke-test-api step.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@aligneddev aligneddev merged commit fc180aa into main Jun 15, 2026
5 checks passed
@aligneddev aligneddev deleted the apiHealth branch June 15, 2026 15:14
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