Skip to content

Verify the deployed version during web updates - #85

Merged
emnl51 merged 2 commits into
mainfrom
codex/verify-deployed-version
Sep 4, 2026
Merged

emnl51 merged 2 commits into
mainfrom
codex/verify-deployed-version

Conversation

@emnl51

@emnl51 emnl51 commented Sep 4, 2026

Copy link
Copy Markdown
Owner

Summary

  • force Compose to recreate the Bert container after rebuilding
  • require /health to report the expected release version before an update succeeds
  • bake the release into BERT_BUILD_VERSION, which takes precedence over stale runtime APP_VERSION values from .env
  • document that APP_VERSION must not be stored in .env
  • add regression coverage for matching, mismatched, and runtime-overridden versions

Why

The update page could report succeeded while the Git commit was current but .env supplied an older APP_VERSION to the running container.

Validation

  • 237 passed
  • ruff check app/version.py scripts/jobtrack_updater.py tests/test_release_container.py tests/test_update_management.py

@emnl51
emnl51 merged commit 4279c76 into main Sep 4, 2026
8 checks passed
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