Skip to content

Authenticate the release smoke test's health probe#597

Merged
tobocop2 merged 1 commit into
mainfrom
fix/release-smoke-health-auth
Jul 22, 2026
Merged

Authenticate the release smoke test's health probe#597
tobocop2 merged 1 commit into
mainfrom
fix/release-smoke-health-auth

Conversation

@tobocop2

Copy link
Copy Markdown
Owner

Problem

Every HTTP route now requires the session token, but the release smoke test still probes /api/health with a plain curl. The server answers 401, the readiness poll never sees a 200, and the build fails on every platform after the binary is already built. That blocks the five standalone-executable jobs and, through them, the prerelease attach and the compat/snap/flatpak/PyPI fan-out.

Solution

Read the token the server persists to server.json on boot and send it as a bearer header on both the readiness poll and the version check, matching what the CLI health probes already do.

Every HTTP route now requires the session token, so the smoke test's plain
curl to /api/health gets a 401: the readiness poll never sees a 200 and the
build fails on every platform after the binary is already built. Read the
token the server persists on boot and send it as a bearer header on both the
readiness poll and the version check.
@tobocop2
tobocop2 merged commit e88e5f3 into main Jul 22, 2026
38 of 42 checks passed
@tobocop2
tobocop2 deleted the fix/release-smoke-health-auth branch July 22, 2026 21:41
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