From 3afc59d71e0149d69237604b8e32e72ae3410657 Mon Sep 17 00:00:00 2001 From: Musiker15 Date: Tue, 17 Nov 2026 18:49:31 +0100 Subject: [PATCH] Review erkennt das Ausgabenlimit eines Arbeitsbereichs und wechselt auf das zweite Konto MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Die Meldung lautet seit dem 17.11.2026 "You have reached your specified workspace API usage limits". Die Prüfung suchte nur den Wortlaut ohne "workspace", das zweite Konto wurde deshalb nie gefragt, und das Review endete ohne Bericht. --- .github/workflows/security-review.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/security-review.yml b/.github/workflows/security-review.yml index e39f85b..1a3810a 100644 --- a/.github/workflows/security-review.yml +++ b/.github/workflows/security-review.yml @@ -1241,7 +1241,10 @@ jobs: # The run ended without an answer because the account has no credit # left: Claude Code marks that error billing_error ("Credit balance # is too low"); a spend limit of the workspace comes as an API error - # of its own. Only error events count, never text the agent wrote. + # of its own, "You have reached your specified workspace API usage + # limits" (until 17.11.2026 without "workspace", which the check + # missed, so the second account was never asked). Only error events + # count, never text the agent wrote. out_of_credit() { jq -nR -e '[inputs | fromjson?] as $events | ([$events[] | select(.type == "result")] | last) as $result @@ -1250,7 +1253,7 @@ jobs: .error == "billing_error" or (.type == "result" and .is_error == true and ((.result // "") | tostring - | test("credit balance is too low|specified API usage limits"; "i"))))' \ + | test("credit balance is too low|specified (workspace )?API usage limits"; "i"))))' \ "$RUNNER_TEMP/claude.jsonl" > /dev/null 2>&1 }