ZeroOne 繁體中文技術部落格

Astro Cloudflare 為什麼有 SESSION KV?用 session: false 關掉不需要的狀態
使用 @astrojs/cloudflare 部署 Astro 時,為什麼會看到 SESSION KV binding?本文說明 adapter 預設行為、Astro 7.2.0 的 session: false、sessionKVBindingName 與 Astro.session 的取捨,並整理部署驗證。
1333 字
|
7 分鐘
Cover Image of the Post
actions/checkout@v5 出現 Node 24 錯誤怎麼辦?先更新 GitHub Actions runner
GitHub Actions 使用 actions/checkout@v5 後若出現 Node 24 或 runner 版本錯誤,問題通常在 Actions runner,不是 setup-node。本文整理 hosted、self-hosted 與 act 的分流,並提供 runner 更新、暫時回退與驗證步驟。
1617 字
|
8 分鐘
Cover Image of the Post
Pagefind 怎麼排除不該搜尋的內容?data-pagefind-ignore 與 exclude_selectors
Pagefind 預設會從頁面 body 建立搜尋索引,但導覽列、分享工具、重複標題或輔助文字不一定適合被搜尋。本文整理 data-pagefind-body、data-pagefind-ignore、exclude_selectors 的差異,並用 Astro build 與 dist 檢查實際索引邊界。
1682 字
|
8 分鐘
Cover Image of the Post
pnpm 12 RC 5 lockfile 變穩定了嗎?先驗證循環 peer 與 workspace CI
pnpm 12.0.0-rc.5 改用更穩定的依賴循環與 workspace 解析順序,降低相同專案產生不同 lockfile 的機會。本文整理 RC 驗證、pnpm update、catalog、frozen install 與回退判斷,協助團隊先在 CI 確認 lockfile 可重現,再決定是否升級。
1461 字
|
7 分鐘
Cover Image of the Post
GitHub Agent Plugins 1.0 怎麼用?先看 plugin.json、Skills 與 MCP 邊界
GitHub Agent Plugins 1.0 可以把 Skills 與 MCP server 打包給多個 agent client 使用。本文從 plugin.json、Copilot CLI 安裝到權限與版本驗證,整理導入前要檢查的邊界。
1561 字
|
8 分鐘
Cover Image of the Post
GitHub Copilot MAI-Code-1.1-Flash:9 月 10 日退役前的遷移檢查
GitHub Copilot 將在 2026 年 9 月 10 日停用 MAI-Code-1-Flash,改用 MAI-Code-1.1-Flash。本文整理方案與 policy、固定模型設定、回歸測試和企業 rollout 的遷移順序。
1542 字
|
8 分鐘
Cover Image of the Post
GitHub Copilot AI usage report 怎麼看?用逐模型 token 拆解查 AI credits
GitHub Copilot AI usage report 現在能依模型查看 input、output、cache read 與 cache write token。本文整理報表取得方式、UTC 日期、AI credits 對帳和成本判讀,避免把 token 數量當成品質排名。
1425 字
|
7 分鐘
Cover Image of the Post
GitHub Rule Insights 組織版怎麼用?先看 ruleset 的通過、失敗與 bypass
GitHub Rule Insights 組織版進入 public preview 後,可以集中查看多個 repository 的 ruleset 通過、失敗與 bypass。本文整理 Evaluate rollout、篩選、稽核與切換 Active 的流程。
1541 字
|
8 分鐘
Cover Image of the Post