<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>問題解決 on Peter.H's Full-Stack GAME</title><link>https://peter-notes.com/categories/%E5%95%8F%E9%A1%8C%E8%A7%A3%E6%B1%BA/</link><description>Recent content in 問題解決 on Peter.H's Full-Stack GAME</description><image><title>Peter.H's Full-Stack GAME</title><url>https://peter-notes.com/images/og-image.jpg</url><link>https://peter-notes.com/images/og-image.jpg</link></image><generator>Hugo</generator><language>zh-tw</language><lastBuildDate>Fri, 15 May 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://peter-notes.com/categories/%E5%95%8F%E9%A1%8C%E8%A7%A3%E6%B1%BA/index.xml" rel="self" type="application/rss+xml"/><item><title>LLM 驅動的 E2E 驗證：為什麼 bot 比人更容易揭發 backend regression</title><link>https://peter-notes.com/posts/llm-driven-e2e-surfaces-backend-regression/</link><pubDate>Fri, 15 May 2026 00:00:00 +0000</pubDate><guid>https://peter-notes.com/posts/llm-driven-e2e-surfaces-backend-regression/</guid><description>用 Playwright MCP 讓 LLM 驅動瀏覽器跑 STG 驗收，原本目標是確認 frontend 修補有效，卻意外揭發 backend dual-write lifecycle hook 失效的 regression。POST 200 不等於資料寫對：探討為什麼 bot 會多走那一步、人手 UAT 為什麼通常碰不到、以及如何把這個習慣寫進 verification recipe。</description></item><item><title>ORM 在騙你：當 populate / include 悄悄失效</title><link>https://peter-notes.com/posts/orm-silent-populate-failure/</link><pubDate>Fri, 24 Apr 2026 00:00:00 +0000</pubDate><guid>https://peter-notes.com/posts/orm-silent-populate-failure/</guid><description>一個 CMS 文件的「上傳者」欄位永遠空白引出的除錯故事：當 ORM 的 populate / include 在特定條件組合下靜默失敗，HTTP 200 OK、其他欄位都對，唯獨關聯變成 null。介紹這類跨 ORM 的通病怎麼診斷、怎麼繞過、怎麼從架構分層理解為什麼只有這一層會騙人。</description></item><item><title>Strapi v5's Silent populate Failure with Relation Filters</title><link>https://peter-notes.com/posts/strapi-v5-populate-silent-failure-with-relation-filters/</link><pubDate>Fri, 24 Apr 2026 00:00:00 +0000</pubDate><guid>https://peter-notes.com/posts/strapi-v5-populate-silent-failure-with-relation-filters/</guid><description>A reproducible Strapi v5 bug: combining filters[relation][id][$eq] with populate[relation]=true silently returns null for the populated field — no error, no warning, just missing data. This post walks through the symptom, a curl reproduction, why it happens at the ORM layer, and a knex-based custom find controller that fixes it.</description></item><item><title>頭貼切不回去？一個 Bug 揪出 Admin Panel 權限漂移的跨後端通病</title><link>https://peter-notes.com/posts/admin-panel-permission-drift-cms-backends/</link><pubDate>Fri, 17 Apr 2026 00:00:00 +0000</pubDate><guid>https://peter-notes.com/posts/admin-panel-permission-drift-cms-backends/</guid><description>從一個 Flutter 切不回手機頭貼的 bug 出發，揭開 Strapi Admin Panel 權限漂移這個跨後端的共通陷阱。深入分析雙層根因、衍生的 null validation bug，以及為什麼 Firebase、Supabase、Hasura、AWS IAM 都逃不過這個問題。</description></item><item><title>Flutter 子母帳號切換踩了四個坑：GetX 狀態管理的隱藏地雷</title><link>https://peter-notes.com/posts/flutter-getx-account-switch-state-trap/</link><pubDate>Thu, 16 Apr 2026 00:00:00 +0000</pubDate><guid>https://peter-notes.com/posts/flutter-getx-account-switch-state-trap/</guid><description>實作 Flutter 子母帳號切換功能時，連環踩了四個 GetX 狀態管理的坑：身份憑證不同步、ViewModel 生命週期錯亂、全域變數過期參考、記憶體狀態未持久化。逐一分析根因與修復思路。</description></item><item><title>Fastlane CI 突然壞了：一個被遺忘的 Keychain 依賴如何讓 Build 連續失敗</title><link>https://peter-notes.com/posts/fastlane-keychain-ghost-dependency-ci-failure/</link><pubDate>Sat, 11 Apr 2026 00:00:00 +0000</pubDate><guid>https://peter-notes.com/posts/fastlane-keychain-ghost-dependency-ci-failure/</guid><description>Jenkins 上的 Fastlane iOS build 突然連續失敗，排查發現是遷移到 match 後遺留的 unlock_keychain 指令依賴一個不該存在的 keychain。記錄從症狀到根因的完整除錯過程，以及 CI 環境中幽靈依賴的危險性。</description></item><item><title>廠商說不支援 URL Scheme：跨 App 綁定從自訂協議遷移到 Universal Link 的完整實錄</title><link>https://peter-notes.com/posts/flutter-universal-link-migration-from-url-scheme/</link><pubDate>Fri, 10 Apr 2026 00:00:00 +0000</pubDate><guid>https://peter-notes.com/posts/flutter-universal-link-migration-from-url-scheme/</guid><description>第三方裝置廠商不支援 URL Scheme 回調，要求改用 Universal Link。從 AASA 設定、Android App Links、token 安全驗證到跨平台 fallback 策略，完整記錄遷移過程，以及上線後踩到的 Play Store 簽名指紋陷阱和 token 靜默失敗問題。</description></item><item><title>Jenkins Multibranch Pipeline 的 Tag 大掃除</title><link>https://peter-notes.com/posts/jenkins-multibranch-git-tag-cleanup/</link><pubDate>Thu, 09 Apr 2026 00:00:00 +0000</pubDate><guid>https://peter-notes.com/posts/jenkins-multibranch-git-tag-cleanup/</guid><description>當 Jenkins Multibranch Pipeline 累積了數百個過時的 Git Tag，如何用 shell 腳本批次清理三個 repo 共 900 多個 tag，並只保留每個版本系列的最新版本。</description></item><item><title>Kubernetes 節點 DiskPressure 事故：部署失敗到緊急救援的完整記錄</title><link>https://peter-notes.com/posts/kubernetes-node-diskpressure-incident/</link><pubDate>Thu, 26 Mar 2026 00:00:00 +0000</pubDate><guid>https://peter-notes.com/posts/kubernetes-node-diskpressure-incident/</guid><description>EKS 部署失敗後發現 Staging 節點因磁碟空間不足而 NotReady，記錄從發現問題、診斷根因到緊急恢復的完整過程，以及如何設定自動清理機制防止再次發生。</description></item><item><title>Google Play 警告消不掉：Fastlane 上傳 Native Debug Symbols 的三個陷阱</title><link>https://peter-notes.com/posts/fastlane-native-symbols-google-play/</link><pubDate>Tue, 24 Feb 2026 00:00:00 +0000</pubDate><guid>https://peter-notes.com/posts/fastlane-native-symbols-google-play/</guid><description>Google Play Console 一直警告缺少偵錯符號檔，明明 Fastlane 有寫上傳邏輯卻沒有作用。問題不在程式碼邏輯，而是 Fastlane 路徑解析機制、supply API 參數衝突、以及 CI 架構設計上的耦合。</description></item><item><title>後端修好了，前端卻沒跟上：Vue 網頁版的 JWT Refresh 機制從零補上</title><link>https://peter-notes.com/posts/vue-jwt-refresh-token-flutter-sso/</link><pubDate>Tue, 24 Feb 2026 00:00:00 +0000</pubDate><guid>https://peter-notes.com/posts/vue-jwt-refresh-token-flutter-sso/</guid><description>Flutter App 透過 SSO 開啟 Vue 網頁，但 JWT 15 分鐘過期後結帳頁直接報錯。問題不在後端，而是 Vue 從來沒有 refresh token 機制。從跨平台 token 傳遞到 axios interceptor 自動續約的完整修復過程。</description></item><item><title>Docker BuildKit Cache Mount 的隱形陷阱</title><link>https://peter-notes.com/posts/docker-buildkit-cache-mount-stale-build/</link><pubDate>Wed, 18 Feb 2026 00:00:00 +0000</pubDate><guid>https://peter-notes.com/posts/docker-buildkit-cache-mount-stale-build/</guid><description>深入分析 Docker BuildKit 的 --mount=type=cache 如何在 CI/CD 中導致部署了舊版程式碼，以及為什麼 --no-cache 旗標無法解決這個問題。從四次失敗部署中拆解 Docker 快取的三層機制。</description></item><item><title>Flutter iOS 冷啟動閃退：Debug 模式的隱藏陷阱</title><link>https://peter-notes.com/posts/flutter-ios-cold-start-crash-debug-mode/</link><pubDate>Tue, 17 Feb 2026 00:00:00 +0000</pubDate><guid>https://peter-notes.com/posts/flutter-ios-cold-start-crash-debug-mode/</guid><description>深入分析 Flutter iOS App 從主畫面啟動時閃退的根本原因：iOS 14+ 的 ptrace 安全限制導致 Debug 模式無法獨立運行，以及如何正確診斷和解決這個問題。</description></item><item><title>功能部署後憑空消失？一場 Jenkins Workspace 的除錯之旅</title><link>https://peter-notes.com/posts/jenkins-workspace-stale-code-debugging/</link><pubDate>Thu, 12 Feb 2026 00:00:00 +0000</pubDate><guid>https://peter-notes.com/posts/jenkins-workspace-stale-code-debugging/</guid><description>深入分析 Jenkins Pipeline 中因缺少 checkout scm 導致 workspace 未同步到 git tag commit，造成新功能部署後消失的問題。從 Kubernetes Pod 內檢查實際檔案、比對 Git tag 內容，到發現 Jenkins workspace 持久化機制的隱形陷阱，完整記錄除錯過程、根因分析與三項防範措施</description></item><item><title>升級 Strapi v5.31+ 後 JWT 過期就被登出？問題藏在你沒注意到的內建路由裡</title><link>https://peter-notes.com/posts/strapi-v5-auth-refresh-route-pitfall/</link><pubDate>Fri, 06 Feb 2026 00:00:00 +0000</pubDate><guid>https://peter-notes.com/posts/strapi-v5-auth-refresh-route-pitfall/</guid><description>深入剖析 Strapi v5.31+ 將 /auth/refresh 改為內建路由後，導致 JWT 過期呼叫 refresh 回傳 403 的根因與修復方式。一個版本升級隱含的行為變更，如何讓除錯方向完全走偏。</description></item><item><title>AWS S3 Upload Failed: The Bucket Does Not Allow ACLs</title><link>https://peter-notes.com/posts/aws-s3-acl-upload-error/</link><pubDate>Fri, 30 Jan 2026 00:00:00 +0000</pubDate><guid>https://peter-notes.com/posts/aws-s3-acl-upload-error/</guid><description>深入探討 AWS S3 bucket 在 2023 年後預設禁用 ACL 導致 Strapi 上傳圖片失敗的問題，包含完整的除錯過程與解決方案</description></item><item><title>資料庫同步的隱藏陷阱：Link Table 的重要性</title><link>https://peter-notes.com/posts/database-sync-link-table-pitfall/</link><pubDate>Tue, 20 Jan 2026 00:00:00 +0000</pubDate><guid>https://peter-notes.com/posts/database-sync-link-table-pitfall/</guid><description>從一次 401 Unauthorized 錯誤出發，深入探討資料庫同步時容易遺漏的 Link Table 問題，以及如何預防這個常見的陷阱</description></item><item><title>Flutter CI/CD Debugging: Three Build Failures in One Day</title><link>https://peter-notes.com/posts/flutter-cicd-three-build-failures/</link><pubDate>Sat, 17 Jan 2026 00:00:00 +0000</pubDate><guid>https://peter-notes.com/posts/flutter-cicd-three-build-failures/</guid><description>深入分析 Flutter 專案在 Jenkins CI/CD 中連續遇到的三個建置失敗：iOS Keychain 解鎖錯誤、file_picker Gradle 相容性問題、以及 Google Play Console 草稿狀態限制，並提供完整的解決方案。</description></item><item><title>AWS 跨區域遷移後的技術債清理：Strapi URL 的隱藏陷阱</title><link>https://peter-notes.com/posts/aws-s3-cleanup-pitfall/</link><pubDate>Sat, 10 Jan 2026 00:00:00 +0000</pubDate><guid>https://peter-notes.com/posts/aws-s3-cleanup-pitfall/</guid><description>接手專案後發現 AWS 遷移不完整，每月多燒 $90。清理過程中發現 Strapi 的 URL 儲存機制比想像中複雜，記錄完整的排查與修復過程。</description></item><item><title>Kubernetes Staging 環境省錢術：從踩坑到正確實作</title><link>https://peter-notes.com/posts/kubernetes-staging-cost-saving-lesson/</link><pubDate>Tue, 06 Jan 2026 00:00:00 +0000</pubDate><guid>https://peter-notes.com/posts/kubernetes-staging-cost-saving-lesson/</guid><description>為了節省 Staging 環境費用撰寫開關腳本，卻因共用 nodegroup 導致意外。分享從踩坑到正確實作 nodeSelector 環境隔離的完整過程。</description></item><item><title>同樣的功能，為什麼 Flutter 比 Vue 難 Debug 十倍？從實戰到架構的六層反思</title><link>https://peter-notes.com/posts/flutter-vs-vue-debugging-complexity/</link><pubDate>Sun, 04 Jan 2026 00:00:00 +0000</pubDate><guid>https://peter-notes.com/posts/flutter-vs-vue-debugging-complexity/</guid><description>同樣是「關於我們」頁面的顯示邏輯，Vue 改了十幾個 commit 都很順利，Flutter 卻卡了很久。本文從 Debug 實戰出發，延伸到 Domain Model 的防禦能力、Clean Architecture 的責任邊界、扁平架構的取捨、BFF 的可靠性價值，最後探討交接代碼的信任陷阱。</description></item><item><title>Flutter App 首頁 Banner 消失之謎：一場無效 API Token 的偵探之旅</title><link>https://peter-notes.com/posts/flutter-banner-401-invalid-token-debugging/</link><pubDate>Tue, 30 Dec 2025 00:00:00 +0000</pubDate><guid>https://peter-notes.com/posts/flutter-banner-401-invalid-token-debugging/</guid><description>深入剖析 Flutter App 首頁 Banner 無法顯示的問題，從 git commit 追蹤到 GraphQL 認證機制，揭開「帶無效憑證比不帶憑證更糟糕」的技術真相</description></item><item><title>15 次 Build Failed：一場 Jenkins + Flutter CI/CD 的史詩級除錯之旅</title><link>https://peter-notes.com/posts/2025-12-21-jenkins-flutter-cicd-debugging-journey/</link><pubDate>Sun, 21 Dec 2025 00:00:00 +0000</pubDate><guid>https://peter-notes.com/posts/2025-12-21-jenkins-flutter-cicd-debugging-journey/</guid><description>從 bundle exec 版本不一致、Bundler 權限錯誤、Discord Webhook 實作、CocoaPods 路徑問題、Build Number SSOT 架構、Ruby 版本相容性，到最終的 git describe 隨機行為——完整記錄 15 個 commits 的除錯歷程。</description></item><item><title>解決 API 回應中的 BOM (Byte-Order Mark) 字元問題</title><link>https://peter-notes.com/posts/api-related-notes/</link><pubDate>Wed, 15 May 2024 00:00:00 +0000</pubDate><guid>https://peter-notes.com/posts/api-related-notes/</guid><description>深入探討 API 回應中不可見的 BOM 字元如何導致 JSON 解析失敗，以及如何診斷和解決這個隱藏的問題。完整的 Swift 解決方案與預防措施。</description></item><item><title>解決 macOS 上 Rollup rollup.darwin-arm64.node 模組錯誤與 Gatekeeper 阻擋問題</title><link>https://peter-notes.com/posts/fix-rollup-darwin-arm64-error/</link><pubDate>Mon, 01 Jan 2024 00:00:00 +0000</pubDate><guid>https://peter-notes.com/posts/fix-rollup-darwin-arm64-error/</guid><description>深入解析 macOS Apple Silicon (M1/M2/M3) 上 Rollup 報錯 Cannot find module @rollup/rollup-darwin-arm64 及 Gatekeeper 阻擋問題的完整解決方案。</description></item></channel></rss>