ZeroOne 繁體中文技術部落格

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
CSS transition-behavior 怎麼用?用 allow-discrete 做 display 的進出場轉場
CSS transition-behavior 的 allow-discrete 可以讓 display、content-visibility 等離散屬性參與轉場。本文用 Popover 與一般卡片示範進出場、@starting-style、瀏覽器退路與可及性檢查,避免元素直接消失。
1487 字
|
7 分鐘
Cover Image of the Post
Astro 7 升級前要檢查什麼?從 Astro 5/6 到 Vite 8 的建置清單
Astro 7 把 Vite 8、Rust compiler、新 Markdown pipeline 與 src/fetch.ts 帶進升級路徑。本文整理 Astro 5/6 專案的版本順序、設定檔盤點、Markdown 外掛、建置與網址回歸檢查。
1719 字
|
9 分鐘
Cover Image of the Post