You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 5, 2025. It is now read-only.
Currently, there’s no built-in way for users to know if their instance of CodeGate is running an outdated version. This can cause a sub-par experience or potential security or compatibility issues.
I’d like to propose a simple version-checking system that:
Stores the current local version (e.g., in a VERSION file at the repo root or an environment variable).
Fetches the latest version from GitHub (via either:
Description:
Currently, there’s no built-in way for users to know if their instance of CodeGate is running an outdated version. This can cause a sub-par experience or potential security or compatibility issues.
I’d like to propose a simple version-checking system that:
VERSIONfile at the repo root or an environment variable).VERSIONfile on themainbranch:``` https://raw.githubusercontent.com///main/VERSION ``` ).
Why this is needed
Proposed Steps
VERSIONfile at the root of the repository or using the existing https://github.com/stacklok/codegate/blob/main/src/codegate/__init__.py#L17, and have it updated each time we release new code (automate via GH actions when we publish a release)./api/versionendpoint in the FastAPI backend that returns the local (running) version./api/update-status), fetching the latest release or rawVERSIONfile from themainbranch."is_latest": true/false).