Commit Graph

5 Commits

Author SHA1 Message Date
ywkj 9fd284e556 fix: CI 去掉 golang container,在 node:20-bookworm 里直接装 Go
Build and Release auth-rt / release (push) Failing after 2m25s Details
避免拉 golang 镜像的网络延迟,直接下载 Go tarball 编译。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-20 21:17:45 +08:00
ywkj f03e09dca2 fix: CI 改用 Forgejo API 上传 release(不依赖 upload-artifact)
Build and Release auth-rt / release (push) Has been cancelled Details
Forgejo 不支持 actions/upload-artifact@v4,改为单 job 交叉编译
+ curl 调用 Forgejo release API 上传二进制。
同时维护 latest release 供 install.sh --download 使用。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-20 21:03:32 +08:00
ywkj dabcddb05e feat: Go 重写 auth-rt CLI,真正的零依赖二进制
Build and Release auth-rt / build (amd64, darwin) (push) Failing after 2m53s Details
Build and Release auth-rt / build (amd64, linux) (push) Failing after 1m16s Details
Build and Release auth-rt / build (arm64, darwin) (push) Failing after 1m9s Details
Build and Release auth-rt / build (arm64, linux) (push) Failing after 1m15s Details
Build and Release auth-rt / release (push) Has been skipped Details
- cli/ 目录:完整的 Go 实现(env/cache/auth/http/retry)
- install.sh:支持本地编译和 --download 从 release 下载
- .forgejo/workflows/release.yml:CI 交叉编译 darwin/linux × amd64/arm64
- auth-cli.ts:改为调用 auth-rt 二进制(不再需要 bun/node)
- 分发策略:skill install.sh 优先从 release 下载,失败则 clone + go build

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-20 20:51:45 +08:00
ywkj da16552ad1 revert: remove notify-dependents CI workflow
Auth-runtime is infrastructure — cascading updates to all clients x
all skills is a business-system concern, not a CI job. Dependent
skills will pick up latest auth-runtime next time they are deployed
via their install.sh (which always does fresh npm install).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-20 07:09:46 +08:00
ywkj 62fadf30ce ci: add notify-dependents workflow
When auth-runtime is pushed to main, CI notifies the skill-update
webhook to reinstall all dependent skills (1688-product-master,
client-finder, email-content-compose), ensuring they pick up the
latest auth-runtime via their install.sh.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-20 07:04:23 +08:00