Skip to content

feat(health): include service version in /health response#33

Merged
Danelegend merged 4 commits into
mainfrom
dane/health-version
May 6, 2026
Merged

feat(health): include service version in /health response#33
Danelegend merged 4 commits into
mainfrom
dane/health-version

Conversation

@Danelegend
Copy link
Copy Markdown
Contributor

Clients can now read version from the /health payload to gate calls to functionality that's only available in newer releases. The value is sourced from the installed package metadata rather than a hardcoded string, so the FastAPI app and the health response stay in sync with the version declared in pyproject.toml.

Danelegend and others added 3 commits May 6, 2026 14:25
Clients can now read ``version`` from the ``/health`` payload to gate
calls to functionality that's only available in newer releases. The
value is sourced from the installed package metadata rather than a
hardcoded string, so the FastAPI app and the health response stay in
sync with the version declared in pyproject.toml.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
The helm chart at kubernetes/code-interpreter/Chart.yaml has been on
0.3.3 since #27, but both pyproject.toml files were still reporting
0.1.0. Now that /health surfaces the package version to clients, line
the pyproject versions up with the chart so a single number tracks
across artifacts.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Catches drift between the Python package version (what /health reports
to clients) and the chart version (what's actually deployed). If they
get out of sync, a client gating on /health's version may try to use
features that aren't actually shipped.

Reads kubernetes/code-interpreter/Chart.yaml directly via a small regex
so the test has no extra dependencies.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@Danelegend Danelegend force-pushed the dane/health-version branch from 26dd075 to 60a57c9 Compare May 6, 2026 21:25
@Danelegend Danelegend merged commit eb7c26d into main May 6, 2026
3 checks passed
@Danelegend Danelegend deleted the dane/health-version branch May 6, 2026 21:32
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.

2 participants