Skip to content

fix(api): serve /version on every axum-migrated service - #4775

Draft
imabdulbasit wants to merge 1 commit into
mainfrom
ab/axum-app-level-version
Draft

fix(api): serve /version on every axum-migrated service#4775
imabdulbasit wants to merge 1 commit into
mainfrom
ab/axum-app-level-version

Conversation

@imabdulbasit

@imabdulbasit imabdulbasit commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

tide-disco auto-registered an app-level /version next to /healthcheck on every service, so all of them answered it; the axum migration reproduced /healthcheck on each router but /version only on the espresso-node API, so the route now 404s on the builder, orchestrator, state relay server, dev-node, light-client-query-service, node-metrics, hotshot-state-prover, submit-transactions and nasty-client, and node-metrics lost /healthcheck as well. Anything polling /version breaks silently at cutover, since an unregistered route is not an error the server logs. The existing handler in espresso-api is now pub and every service routes /version to it directly; all workspace crates carry one version, so it reports the same value each binary would report itself. node-metrics gets both routes back.

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

tide-disco auto-registered an app-level /version next to /healthcheck on
every service, so all of them answered it. The axum migration reproduced
/healthcheck on each router but /version only on the espresso-node API, so
the route 404s on the builder, orchestrator, state relay server, dev-node,
light-client-query-service, node-metrics, hotshot-state-prover,
submit-transactions and nasty-client. node-metrics lost /healthcheck too.

Every service now routes /version to the shared handler in espresso-api;
all workspace crates carry one version, so it reports the same value each
binary would report itself. node-metrics gets both routes back.
@imabdulbasit
imabdulbasit force-pushed the ab/axum-app-level-version branch from 167bdf2 to d39053c Compare August 4, 2026 11:45
@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Nextest failures (1) in this run

Test Attempts Time (s) Main history
hotshot-new-protocol::tests::restarts::restart_all_nodes_at_epoch_boundary 1 320.27 passing

See the step summary for flaky tests and slowest tests.

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