定版 v0.21.0(出貨線的實例座標雲端也拿得到)
inkstone/Arcrun#195 已併入兩個 main(Arcrun 828fe1f/arcrun-rag 93dc247): 出貨座標拆成「網址隨 repo 走、namespace 走環境變數」。那把 namespace 原本 只住在 ~/.arcrun/config.yaml 的 api_key——家目錄,不隨 clone 走 ⇒ 雲端拿不到。 總管實跑(乾淨環境 env -i、HOME 指空目錄、無任何 .env): resolveInstanceCoordinates({instance:'youlin'}) base ← instances.json(隨 repo)|namespace ← 環境變數 ARCRUN_NS_YOULIN 用那組座標 GET /webhooks/named → HTTP 200,9 支工作流 清單 9 把 → 10 把。實數確認:NEEDED 10 行、test 11/11 通過、B7/B8/B9 全綠。 🔴 這一筆是總管自己做的(平常該派工):派出去的工人在 API 層 SSL 錯誤掛掉, 且已超過收工線,改動是清單加一行 + 兩處把數同步,總管有完整驗證能力。 已依規約 touch /tmp/.solo-ok-<session_id> 留痕。 票:inkstone/ISEP#115(→ comment 5610) Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -38,6 +38,12 @@ NEEDED=(
|
||||
|
||||
# ── uncle6 = 出貨三站真正部署到的帳號(installer/docsSite/mailRelay,stage 與 prod 都是)──
|
||||
UNCLE6_CF_API_KEY # 住在 products/arcrun-rag/.env;本機是靠 ~/.wrangler 的 OAuth 登入態出貨,那個檔不隨 clone 走
|
||||
|
||||
# ── Arcrun 出貨線的實例座標(inkstone/Arcrun#195 起)──
|
||||
# 網址隨 repo 走(Arcrun 的 shared/instance-coordinates/instances.json),
|
||||
# 只有 namespace 是機敏 ⇒ 走環境變數。原本只住在 ~/.arcrun/config.yaml 的 api_key,
|
||||
# 那個檔在家目錄、不隨 clone 走 ⇒ 雲端永遠拿不到。
|
||||
ARCRUN_NS_YOULIN # youlin 實例的 namespace(X-Arcrun-API-Key)
|
||||
)
|
||||
#
|
||||
# 🔴 這份清單的邊界——加一把之前先問「這把打得到哪個實例」,不是「這把方便嗎」
|
||||
|
||||
Reference in New Issue
Block a user