Repository navigation
Run main's OpenBot images again after v1.2.5 - #2627
Merged
Merged
Conversation
github-actions
Bot
requested review from
MikeRyanDev,
davidmckayv,
dustywusty,
guidovizoso,
mxmzb,
samjulien and
tylerslaton
as code owners
December 1, 2026 14:36
davidmckayv
enabled auto-merge
December 1, 2026 16:06
davidmckayv
added a commit
that referenced
this pull request
Dec 1, 2026
The post-release workflow wrote back the value main had before the release PR, which was v1.2.4: 1.2.4's own post-release PR (#2622) was closed without merging, and 1.2.5's (#2627) then restored v1.2.4 too. Main runs the images built from main, so the line is `main`. The workflow itself is fixed separately, so it always writes `main`.
timothybrush
pushed a commit
to timothybrush/OpenBot
that referenced
this pull request
Dec 1, 2026
…ing an older line (CopilotKit#2642) The main-images job put main's line back by copying backend-images.env from the commit the release PR merged onto. That copy is only right when the previous release's own post-release PR was merged. 1.2.4's (CopilotKit#2622) was closed instead, so that commit still said v1.2.4, and 1.2.5's PR (CopilotKit#2627) put main back on v1.2.4's images; 1.2.6's opened the same way and was corrected by hand (CopilotKit#2641). The job now takes the release's own copy and sets its one OPENBOT_BACKEND_TAG line to `main` (scripts/release-main-images.sh), keeping every other line, and never reads an earlier commit. A file without exactly one tag line is refused rather than written half right. The job checks out only that script. Tests: release-main-images.test.ts runs the script on this tree's backend-images.env with the line at v1.2.4, v1.2.5, v1.2.6, a candidate and a sha, and on a copy already at main and malformed copies; release-publish-order.test.ts checks the job runs the script and reads no parent commit. On today's workflow 5 of them fail; with this change all 15 pass.
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.
v1.2.5 pinned
backend-images.envto its own version, so a checkout of v1.2.5 runs the OpenBot images of that release. This puts main's own line back, so main runs the images built from main again.A PR opened with GITHUB_TOKEN does not trigger CI. Push an empty commit to main-images/v1.2.5 or close and reopen this PR to run the checks before merging.