The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 21, 17:15 UTC
fix(azure-devops): TF400733 throttling fails diffs as rate-limited (#35929)
Julius Marminge committed
Nov 12, 2026 at 19:57 UTC
5f7bfe565d25c7ef59e47486006598f186a6abdf
2 files changed
+8
packages/source-control-azure-devops/src/server/AzureDevOpsCli.test.ts
+6
@@ -83,6 +83,12 @@ describe("AzureDevOpsCli.layer", () => {
83
classifyFailure?.("TF401180: The requested pull request was not found."),
84
"not-found",
85
);
86
+ assert.strictEqual(
87
+ classifyFailure?.(
88
+ "ERROR: TF400733: The request has been canceled: Request was blocked due to exceeding usage of resource 'Global' in namespace 'User'.",
89
+ ),
90
+ "rate-limited",
91
+ );
92
assert.deepStrictEqual(call, {
93
operation: "AzureDevOpsCli.execute",
94
command: "az",
packages/source-control-azure-devops/src/server/AzureDevOpsCli.ts
+2
@@ -357,6 +357,8 @@ const classifyAzFailure = (stderr: string): VcsProcessExitFailureKind | null =>
357
if (normalized.includes("az devops login") || /please run '?az login'?/.test(normalized)) {
358
return "authentication";
359
}
360
+ // Azure DevOps reports usage-limit throttling as TF400733, often without an HTTP status.
361
+ if (normalized.includes("tf400733")) return "rate-limited";
362
return normalized.includes("pull request") &&
363
(normalized.includes("not found") || normalized.includes("does not exist"))
364
? "not-found"