fix(app): workspace loading and persist ready state (#23046)

This commit is contained in:
Brendan Allan 2026-04-17 15:26:14 +08:00 committed by GitHub
commit a726530735
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 187 additions and 194 deletions

View file

@ -264,7 +264,6 @@ function createGlobalSync() {
children.pin(directory)
const promise = Promise.resolve().then(async () => {
const child = children.ensureChild(directory)
child[1]("bootstrapPromise", promise!)
const cache = children.vcsCache.get(directory)
if (!cache) return
const sdk = sdkFor(directory)

View file

@ -182,7 +182,6 @@ export function createChildStoreManager(input: {
limit: 5,
message: {},
part: {},
bootstrapPromise: Promise.resolve(),
})
children[directory] = child
disposers.set(directory, dispose)

View file

@ -72,7 +72,6 @@ export type State = {
part: {
[messageID: string]: Part[]
}
bootstrapPromise: Promise<void>
}
export type VcsCache = {