feat: auto-upgrade pipeline phase 1 (DRAFT)#28
Draft
KVarga-Flexion wants to merge 1 commit into
Draft
Conversation
Implements stages 1, 2, and 3 of the auto-upgrade pipeline plus shared schema for cross-repo repository_dispatch. - upstream-sync.yml: adds the cooldown gate between "decide" and "create branch". Patch releases soak 3 days, minor 7 days, major and pre-releases never auto-PR. Source of truth for release age is the GitHub Release's published_at, not git tag taggerdate. workflow_dispatch with force=true bypasses. - sync-pr-automerge.yml: stage 2. Squash-merges sync PRs from the bot when the body shows "## Clean rebase" (manual_count==0) and CI is green. Embeds an "Upstream-Tag: vX.Y.Z" trailer in the squash commit message so stage 3 can extract the target. - publish-flex-image.yml: stage 3. Adds push trigger on flex that reads the Upstream-Tag trailer; builds ARM64 to ECR; fires openwebui-version-published repository_dispatch at the infra repo (dev only — prod stays manual). - repository-dispatch/openwebui-version-published.schema.json: shared contract mirroring the infra repo's copy. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
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.
DRAFT PR for spec
.claude/flexpowers/specs/2026-05-19-auto-upgrade-pipeline-design.md(in the infra repo) — Phase 1 of the Open WebUI Auto-Upgrade Pipeline (fork side).What this implements
Stages 1, 2, 3 of the pipeline plus the cross-repo
repository_dispatchschema:.github/workflows/upstream-sync.yml(extended)published_at.github/workflows/sync-pr-automerge.ymlUpstream-Tag: vX.Y.Ztrailer in the squash commit so stage 3 can extract the target.github/workflows/publish-flex-image.yml(rewritten)flexreadsUpstream-Tagtrailer; ARM64 build to ECR; firesopenwebui-version-publishedrepository_dispatchat the infra repo (dev only).github/repository-dispatch/openwebui-version-published.schema.jsonStatus
DRAFT — spec acceptance #2-5 require real-world validation that hasn't happened. Marking ready-for-review is operator work.
Out of scope (per spec)
cdk-infra-stack.ts:183imageTag — bot does this on real upgrades.