Skip to content

fix: show the release version spelled like the git and Docker tag - #46

Merged
ant1fr merged 1 commit into
developfrom
fix/version-display
Nov 19, 2026
Merged

ant1fr merged 1 commit into
developfrom
fix/version-display

Conversation

@ant1fr

@ant1fr ant1fr commented Nov 19, 2026

Copy link
Copy Markdown
Owner

Summary

  • The UI showed the PEP 440 version (1.0.0rc2) while the git tag and the Docker image tag are SemVer (1.0.0-rc.2).
  • GET /api/status gains a display-only release field in the tag's spelling (plus +<build> for images built outside a release tag); the UI shows it. /api/health version is unchanged.
  • APP_BUILD build arg in the Dockerfile; docker-compose.build.yml sets it to dev.
  • The release workflow now fails when the tag and pyproject.toml disagree.
  • Contract: additive field on /api/status, noted in the 1.2 changelog entry; docs/openapi.json regenerated.

Test plan

  • ruff check ., ruff format --check .
  • pytest (1123 passed), including new tests/test_version.py
  • Tag/pyproject check script run locally for a matching and a mismatching tag

🤖 Generated with Claude Code

The UI showed the PEP 440 version (1.0.0rc2) while the git tag and the
image tag are SemVer (1.0.0-rc.2). /api/status now carries a display-only
`release` label, with +<build> for images built outside a release tag
(APP_BUILD build arg, set to "dev" by docker-compose.build.yml). The
release workflow also fails when the tag and pyproject.toml disagree.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@github-actions github-actions Bot added the fix Bug fix label Nov 19, 2026
@ant1fr
ant1fr merged commit 5ad954e into develop Nov 19, 2026
5 checks passed
@ant1fr
ant1fr deleted the fix/version-display branch November 19, 2026 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix Bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant