Repository navigation
Replace the python-prod image name from older installs - #374
Merged
Merged
Conversation
Charts before 0.15.0 set `image.backendImage` and `image.workerImage` to `python-prod`, and `helm upgrade --reuse-values` carries that value forward. The platform is about to stop publishing `python-prod`, so such an upgrade would pull a tag that does not exist for every Python workload. The `logfire.pythonImage` helper now resolves the backend, migration, post-deploy migration and worker images too, and replaces `python-prod` with the image of each workload. The trusted CA init container uses the same helper, so it pulls the same image as its main container. Claude-Session: https://claude.ai/code/session_01PRaoYPSYEPRLEntdp4tfqD
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Upgrades with
--reuse-valuesfrom a chart before 0.15.0 now pull the per-service Python images instead ofpython-prod. Those charts setimage.backendImageandimage.workerImagetopython-prod, and--reuse-valueskeeps that value. The platform is going to stop publishingpython-prod, because no workload in the chart or in Pydantic's own deployments runs it any more. After that, such an upgrade would getImagePullBackOffon every Python workload.logfire.pythonImagehelper now also resolvesbackendImageandworkerImage. The backend Deployment, the migration Job, the post-deploy migration Job, and the worker use it.python-prod, the helper replaces it with the image of the workload:logfire-backend-prod,logfire-worker-prod,logfire-auth-prod,logfire-task-runner-prodorlogfire-remote-mcp-prod.backendImage, such as a mirrored name, still acts as the fallback for unset per-service keys, as before.python-prodas a fixture. A new case pins the replacement for all six workloads. The case fails if the replacement is removed.This chart change must ship before, or with, the first chart whose
appVersioncomes from a platform release that does not publishpython-prod. Older chart versions pin older platform tags, and thosepython-prodtags stay in the registries.Upgrade notes
image.repository) and still pullspython-prodmust mirror the per-service images before it upgrades:logfire-backend-prod,logfire-worker-prod,logfire-auth-prod,logfire-task-runner-prodandlogfire-remote-mcp-prod.Breaking changes
None for the default registry. Installs that mirror only
python-prodmust mirror the per-service images, as described above.https://claude.ai/code/session_01PRaoYPSYEPRLEntdp4tfqD