mirror of
https://github.com/stablyai/orca.git
synced 2026-10-21 08:03:33 +00:00
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:
co-authored by
Brennan Benson
parent
658532a1b0
commit
e109e78ebf
@@ -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 }
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user