fix(teardown): 拿掉 wrangler kv key delete 的 --force(這版 wrangler 沒這個 flag)
實跑撞到:這台裝的 wrangler 4.100.0 的 `kv key delete` 沒有 --force,帶了就直接 「Unknown argument: force」失敗。central-apply 兩個通道各撞一次才發現。 拿掉 --force 後在真實 youlin 帳號實測:central-apply 兩個通道(prod INSTALLER_KV + staging PEER_INSTALLER_KV)的 deployed:<accountId>: 紀錄都刪除成功,central-plan 複驗兩邊皆印「沒有殘留紀錄」。這是 Arcrun#120 死結修復鏈路的必要一步。 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -309,7 +309,7 @@ function wranglerKvList(namespaceId, prefix) {
|
||||
function wranglerKvDelete(namespaceId, key) {
|
||||
execFileSync(
|
||||
'npx',
|
||||
['wrangler', 'kv', 'key', 'delete', '--namespace-id', namespaceId, key, '--remote', '--force'],
|
||||
['wrangler', 'kv', 'key', 'delete', '--namespace-id', namespaceId, key, '--remote'],
|
||||
{ cwd: REPO_ROOT, encoding: 'utf8', stdio: ['ignore', 'pipe', 'pipe'] }
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user