Repository navigation
Allow commit SHA image tags with the automation writer pool - #109
Merged
Merged
Conversation
The v2.16.0 floor for brainstore.automationwriter called semverCompare on brainstore.image.tag unconditionally. A commit SHA tag failed the render with "invalid semantic version", and an all-digit SHA prefix passed only because it parsed as a huge major version. Only enforce the floor when the tag is a stable release tag (vX.Y.Z), using the same regex as the Brainstore startup gate. SHAs and other custom tags carry no version and are not checked. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Jeff McCollum (jeffmccollum)
self-requested a review
October 8, 2026 23:28
Jeff McCollum (jeffmccollum)
approved these changes
Oct 8, 2026
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
#105 added a
v2.16.0image floor forbrainstore.automationwriter. It calledsemverCompare ">=2.16.0"onbrainstore.image.tagevery time. That only works with release tags. Once the pool is enabled (replicas > 0):abc1234) fails the whole render witherror calling semverCompare: invalid semantic version.1234567) only passes because it is read as version1234567.0.0.This change keeps the floor but only applies it when the tag is a stable release tag (
vX.Y.ZorX.Y.Z). It uses the same regex that_brainstore-startup-gate.tplalready uses to validateminimumVersion. SHAs and other custom tags carry no version, so the chart doesn't check them, and the operator is responsible for using an image that includes v2.16.0.brainstore.image.tagv2.17.0,2.16.0v2.14.0,2.15.312345671234567.0.0)v2.16.0-rc.1Pre-release tags are now skipped instead of being treated as older than 2.16.0. This matches how the startup gate treats tags that aren't stable releases.
The check uses a nested
ifinstead ofandsosemverComparenever runs on a tag that isn't a release tag.Changes
templates/_helpers.tpl: gate thesemverCompareinbraintrust.automationWriter.validateon the release-tag regex.2.15.3(novprefix) still being rejected.values.yaml,README.mdandAGENTS.mddescribe the release-tag-only check. Also removed the outdated line saying the chart's default image is older than v2.16.0; it's v2.17.0 now.AGENTS.md: new "Plan the Full Input Matrix First" section and review checklist item. Before a feature ships, list every supported input shape (image tag formats, clouds, enabled/disabled paths,--reuse-valuesupgrades, null/missing values) and add a test for each, so a gate like this one can't block a supported configuration again.No
Chart.yamlversion bump, perAGENTS.md(bumps need coordination).Testing
./test.shpasses: Python unittests, all helm-unittest suites and helm lint.helm templatewith each tag in the table above gave the "After" results../validate.shwas not run because it needs a live Kubernetes API server.🤖 Generated with Claude Code