fix(source-control): keep huge change sets responsive (#9477)

* fix(source-control): keep huge change sets responsive

* Fix cancellation and retry handling for capped status

* Harden capped status for conflict-heavy repositories

* Harden capped status recovery and cancellation

* fix(source-control): preserve capped status correctness

* fix(source-control): translate submodule status at render time

---------

Co-authored-by: Brennan Benson <79079362+brennanb2025@users.noreply.github.com>
This commit is contained in:
OrcaWin
2026-07-20 14:50:12 -07:00
committed by GitHub
co-authored by Brennan Benson
parent 658532a1b0
commit e109e78ebf
38 changed files with 1365 additions and 222 deletions
+4 -2
View File
@@ -16,7 +16,9 @@ describe('git RPC methods', () => {
entries: [],
conflictOperation: 'unknown',
branch: 'main',
head: 'abc'
head: 'abc',
didHitLimit: true,
statusLength: 1_001
})
} as unknown as OrcaRuntimeService
const dispatcher = new RpcDispatcher({ runtime, methods: GIT_METHODS })
@@ -26,7 +28,7 @@ describe('git RPC methods', () => {
expect(runtime.getRuntimeGitStatus).toHaveBeenCalledWith('id:wt-1')
expect(response).toMatchObject({
ok: true,
result: { entries: [], branch: 'main' }
result: { entries: [], branch: 'main', didHitLimit: true, statusLength: 1_001 }
})
})