Revert "fix(memory): bound OOM-prone accumulators (#10179)" (#10255)

Co-authored-by: Orca <help@stably.ai>
This commit is contained in:
Neil
2026-07-23 18:35:31 -07:00
committed by GitHub
co-authored by Orca
parent 6eb70d8370
commit aab112933e
1577 changed files with 15167 additions and 91655 deletions
@@ -1,7 +1,6 @@
import { Buffer } from 'node:buffer'
import type { AzureDevOpsRepoRef } from './repository-ref'
import { cancelUnreadResponseBody } from '../lib/unread-response-body'
import { readFetchResponseJsonWithinLimit } from '../lib/fetch-response-body'
const REQUEST_TIMEOUT_MS = 5000
@@ -96,7 +95,7 @@ export async function requestAzureDevOpsJsonAtBase<T>(
}
return null
}
return await readFetchResponseJsonWithinLimit<T>(response)
return (await response.json()) as T
} catch (error) {
if (throwOnFailure) {
throw error