refactor(server): GitHub rate limits read the response headers (#16986)
Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
This commit is contained in:
1 parent
42d92ec597
commit
d720210996
10 files changed
+350
-525
No files matched your search
@@ -459,6 +459,8 @@ describe("GitHubSourceControlProvider writes", () => {
|
||||
});
|
||||
assert.strictEqual(requests[0]!.method, "POST");
|
||||
assert.strictEqual(requests[0]!.path, "repos/acme/web/pulls");
|
||||
// A user's own write, so the background's reserve is not held against it.
|
||||
assert.strictEqual(requests[0]!.allowReserve, true);
|
||||
assert.deepStrictEqual(requests[0]!.body, {
|
||||
base: "main",
|
||||
head: "me:feature",
|
||||
|
||||
Reference in new issue
Block a user