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 15166 additions and 91654 deletions
+3 -3
View File
@@ -52,7 +52,6 @@ import {
isGitHubProjectRefInputTooLarge
} from '../../shared/github-project-ref-input'
import { githubProjectHost } from '../../shared/github-project-identity'
import { cacheIdentityDigest } from '../cache-identity-digest'
// Re-export the public API so existing `./project-view` call sites keep working; the split is internal-only.
export { isValidOwnerSlug, isValidRepoSlug, isValidSlug } from './project-view/internals'
@@ -130,11 +129,12 @@ const parentFieldProbeInFlight = new Map<string, Promise<void>>()
// host's probe result can't leak into another. Normalize github.com so
// host-less callers share the same probe state as explicitly pinned calls.
function ownerScopeKey(owner: string, ownerType: GitHubProjectOwnerType, host?: string): string {
return cacheIdentityDigest([owner, ownerType, githubProjectHost(host)])
const base = `${owner}\u0000${ownerType}`
return `${base}\u0000${githubProjectHost(host)}`
}
function ownerTypeCacheKey(owner: string, host?: string): string {
return cacheIdentityDigest([owner, githubProjectHost(host)])
return `${owner}\u0000${githubProjectHost(host)}`
}
function rememberOwnerType(