Repository navigation
feat(release): publish plugins to the meetcola bucket as well - #10
Merged
Merged
Conversation
Cola desktop is moving its plugin registry from files.colaos.ai to download.meetcola.com (bucket meetcola-public-prod02). Publish every tarball to both buckets, keeping each immutable; a version that already exists on one side is copied byte-for-byte to the other instead of being rebuilt. Build the registry twice so each copy's downloadUrl points at its own host: shipped clients keep reading files.colaos.ai. 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. |
xinbao-creator
approved these changes
Oct 26, 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.
背景
files.colaos.ai(新加坡桶colaos-public-prod01)的证书 10-24 过期,桌面端插件市场跟着不可用。Cola 客户端准备把插件 registry 改为读download.meetcola.com/plugins/registry.json(北京桶meetcola-public-prod02,CDN 全球加速)。现有的plugins/已经整份同步过去,CRC64、Content-Type、Cache-Control 逐对象核对一致。如果只改客户端、发布流程不改,之后发的新插件只会进新加坡桶,新客户端就拿不到。所以这个 PR 要在 cola 客户端那边切换之前合并。
改动(
.github/workflows/release.yml)OSS_PUBLIC_BASE=https://files.colaos.ai上传新加坡桶,给已发布的老客户端;OSS_PUBLIC_BASE=https://download.meetcola.com上传北京桶,downloadUrl指向新域名。vars.ALIYUN_COLA_CN_OSS_{BUCKET,REGION,ENDPOINT},和 cola 使用的组织变量同名同值。endpoint 是meetcola.com,按虚拟主机寻址会拼成桶绑定的 CNAMEmeetcola-public-prod02.meetcola.com,从而绕开国内桶禁用默认公网 endpoint 的限制。配置(已完成)
cola-plugins 是公开仓库,组织级的 variables/secrets(可见范围是"私有仓库")不会下发给它,所以和现有的 AK、新加坡桶配置一样,在仓库级另存了一份,值与组织变量一致:
ALIYUN_COLA_CN_OSS_BUCKET=meetcola-public-prod02ALIYUN_COLA_CN_OSS_REGION=cn-beijingALIYUN_COLA_CN_OSS_ENDPOINT=meetcola.comAK 沿用仓库里的
ALIYUN_HAIWAI_*,cola 的 CI 用同一组 AK 往这个桶上传。合并后
手动跑一次
workflow_dispatch。插件包两边都已存在,会全部跳过;北京桶的registry.json会被重建,downloadUrl换成download.meetcola.com。验证
bash -n通过--endpoint meetcola.com --region cn-beijing(与 workflow 相同参数)能stat北京桶的plugins/registry.json🤖 Generated with Claude Code