ZeroOne 技術文章第 9 頁

GitHub Actions workflow execution protections 怎麼設?用 ruleset 限制誰能觸發 CI
GitHub Actions workflow execution protections 可用 ruleset 限制觸發 CI 的 actor 與 event。本文說明 public preview、evaluate mode,以及它和 on、permissions、environment reviewer 的分工。
1400 字
|
7 分鐘
Cover Image of the Post
pnpm 11.21.0 修了 GitHub 依賴 CI 的 publickey 錯誤:升級前後怎麼驗證
pnpm 11.21.0 修正 GitHub shorthand dependency 在沒有 SSH key 的 CI runner 上誤走 SSH 的問題。本文整理 github:owner/repo、git+https 與 git+ssh 的差異,並提供 lockfile 與 CI 驗證順序。
1157 字
|
6 分鐘
Cover Image of the Post
Cloudflare Workers AI 出現 403/5035 怎麼辦?先查模型與付費方案
Cloudflare Workers AI 呼叫 Kimi K2.6、Kimi K2.7 Code 或 GLM 5.2 出現 403/5035 時,不一定是 binding 或 token 問題。本文整理付費帳單、AI Gateway credits、Free 額度與替代模型的排查順序。
1402 字
|
7 分鐘
Cover Image of the Post
Cloudflare Workers 啟動太慢怎麼查?用 Wrangler check startup 找出 bundle 與全域初始化
Cloudflare Workers 部署遇到 Script startup exceeded CPU time limit 時,先用 Wrangler check startup 和 CPU profile 分清楚 bundle 太大、全域初始化太重與本機量測差異。本文整理驗證、讀圖與修正順序。
1403 字
|
7 分鐘
Cover Image of the Post
GitHub Actions artifact 少了 .env?upload-artifact 的隱藏檔案安全設定
GitHub Actions 使用 upload-artifact 後找不到 .output 或 .config 等隱藏檔案時,先確認 action 版本與 include-hidden-files。本文示範安全的 allowlist、排除敏感檔案、失敗條件與 artifact 驗證流程。
1205 字
|
6 分鐘
Cover Image of the Post
pnpm v11 的 overrides 失效?把 package.json 設定搬到 pnpm-workspace.yaml
升級 pnpm v11 後,package.json 裡的 overrides 或 patchedDependencies 不再生效?本文說明 pnpm 設定位置的變更,示範搬到 pnpm-workspace.yaml,並用 lockfile、pnpm config 與 CI 驗證安全修補沒有悄悄失效。
1163 字
|
6 分鐘
Cover Image of the Post
Cloudflare Agents 要升級 AI SDK 7 嗎?先對齊 ai 與 @ai-sdk/react 版本
Cloudflare Agents SDK 已同時支援 AI SDK 6 與 7。本文整理 ai、@ai-sdk/react 的配對、套件升級指令與 Think、Code Mode 的回歸檢查,避免 peer dependency 與串流行為不一致。
1589 字
|
8 分鐘
Cover Image of the Post
Coolify 4.2 升級要改什麼?先處理 Member 唯讀與 API GET→POST
Coolify 4.2 讓 team Member 角色改成唯讀,狀態變更 API 也要求 POST。本文整理升級前的腳本盤點、GET 轉 POST、token 權限與安全回歸,避免部署自動化在升級後失效。
1784 字
|
9 分鐘
Cover Image of the Post