From 22a4f2cb3762d43b30b8bc1b6844b67e370466ea Mon Sep 17 00:00:00 2001 From: Elstonyth <124340021+elstonyth@users.noreply.github.com> Date: Thu, 30 Jul 2026 17:29:49 +0800 Subject: [PATCH] chore(deploy): configure PRICECHARTING_SELLER_ID in prod Inventory > "Add from PC Collection" refuses to run without a seller id, so without this key the page 503s in production with its setup message. Added as a PLAIN value, not a __SECRET__ placeholder, for two reasons: it is the public 26-character PriceCharting user id (their own API docs publish an example one), and a placeholder with no matching entry in the secret store aborts every do-apply run. App-level scope like the token above it: the collection route is served by the API component, but keeping both PriceCharting keys together app-wide avoids the component-scope trap that silently broke the nightly sync on the worker in July. Co-Authored-By: Claude Opus 5 --- .do/backend.app.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.do/backend.app.yaml b/.do/backend.app.yaml index ad4967e97..4d9df241b 100644 --- a/.do/backend.app.yaml +++ b/.do/backend.app.yaml @@ -197,6 +197,15 @@ envs: scope: RUN_TIME type: SECRET value: __SECRET__PRICECHARTING_API_TOKEN__ + # Required by Inventory > "Add from PC Collection". NOT a secret: it is the + # public 26-char PriceCharting user id (their docs publish an example one), so + # it is a plain value rather than a __SECRET__ placeholder. The token above + # only AUTHENTICATES — it does NOT scope /api/offers to our account, so + # without this key PriceCharting answers with EVERY user's offers and the + # route refuses to run rather than import strangers' cards as our stock. + - key: PRICECHARTING_SELLER_ID + scope: RUN_TIME + value: pwoe4lsq4pkxegdsoyyzvfjuza # ╔═══════════════════════════════════════════════════════════════════════╗ # ║ GO-LIVE BLOCKER — DELETE THIS ENV BEFORE REAL LAUNCH. ║ # ║ 'unsafe-demo' runs the always-approving MOCK payment gateway in prod ║