ZeroOne 技術文章第 24 頁

GitHub Copilot Code Review 的 effort level 怎麼選?Lite 與 Balanced 設定
GitHub Copilot Code Review 的 Lite 與 Balanced effort level 已正式可用。本文整理兩種 review 深度的適用情境、組織預設、單次 PR 覆寫方式,以及如何從 PR timeline 驗證實際套用的 level,避免把深度當成品質保證。
1270 字
|
6 分鐘
Cover Image of the Post
GitHub Copilot 網頁版怎麼看 token 用量?用最近對話與最小化控制工作流
GitHub Copilot 網頁版現在可查看單次訊息與整段工作階段的 token 配額提示,也能最小化對話面板並從最近對話恢復。本文整理查找與控制步驟,避免把 token 指示誤當成完整的帳單或費用報表。
1218 字
|
6 分鐘
Cover Image of the Post
Apple 連續曲率與同心圓角:CSS、SwiftUI、Tailwind 元件實作
研究網頁元件的圓角能不能更好看時,我遇到連續曲率、內外不同心與瀏覽器支援問題。本文整理 Apple 圓角原理,並提供 CSS、SwiftUI、Tailwind 的可維護實作、降級方案,以及何時才需要使用 SVG 或 mask。
3140 字
|
16 分鐘
Cover Image of the Post
Astro Advanced Routing 怎麼用?用 src/fetch.ts 插入請求管線
Astro 7 的 Advanced Routing 會把 src/fetch.ts 當成請求管線入口。本文用 astro/fetch 示範保留內建路由、加入前後置邏輯、改名 fetchFile 與停用入口,並整理升級時的保留檔名風險。
1349 字
|
7 分鐘
Cover Image of the Post
Cloudflare Workers Preview URL 怎麼關?用 workers_dev 與 preview_urls 避免誤公開
Cloudflare Workers 的 Preview URL 可能和 workers.dev 使用不同預設。本文整理 Wrangler 版本差異、preview_urls 設定、Dashboard 開關與 Cloudflare Access,協助你在測試、部署與關閉公開入口時先確認實際暴露範圍。
1288 字
|
6 分鐘
Cover Image of the Post
Wrangler secret bulk 怎麼用?批次更新、刪除 Cloudflare Workers Secrets
Wrangler secret bulk 可用一個 JSON 或 .env 檔批次管理 Cloudflare Workers Secrets。本文整理新增、更新、刪除與保留未列出項目的差異,並比較部署時的 --secrets-file、檔案保護與 CI 驗證流程。
1404 字
|
7 分鐘
Cover Image of the Post
GitHub Actions workflow execution protections GA 怎麼設?用 ruleset 限制誰能觸發 CI
GitHub Actions workflow execution protections 已正式 GA,可用 ruleset 限制 workflow、actor 與 event。本文更新 evaluate mode、REST API、pull_request_target 預設防護與 2026 rollout。
1700 字
|
9 分鐘
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