Skip to content

Run main's OpenBot images again after v1.2.5 - #2627

Merged
davidmckayv merged 1 commit into
mainfrom
main-images/v1.2.5
Dec 1, 2026
Merged

davidmckayv merged 1 commit into
mainfrom
main-images/v1.2.5

Conversation

@github-actions

@github-actions github-actions Bot commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

v1.2.5 pinned backend-images.env to 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.

@davidmckayv davidmckayv closed this Dec 1, 2026
@davidmckayv davidmckayv reopened this Dec 1, 2026
@davidmckayv
davidmckayv enabled auto-merge December 1, 2026 16:06
@davidmckayv
davidmckayv added this pull request to the merge queue Dec 1, 2026
Merged via the queue into main with commit 35b9fe5 Dec 1, 2026
38 checks passed
@davidmckayv
davidmckayv deleted the main-images/v1.2.5 branch December 1, 2026 16:41
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.
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