diff options
| author | Brendan Allan <[email protected]> | 2026-04-17 15:26:14 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-04-17 07:26:14 +0000 |
| commit | a7265307355e7efed9e276da6625c96458009db6 (patch) | |
| tree | b938b4dae4fa7ffcf1f58e17aff499bc4c9da759 /packages/app/src/context | |
| parent | d9950598d0da16fc0f8e6c289050a9d3da055af7 (diff) | |
| download | opencode-a7265307355e7efed9e276da6625c96458009db6.tar.gz opencode-a7265307355e7efed9e276da6625c96458009db6.zip | |
fix(app): workspace loading and persist ready state (#23046)
Diffstat (limited to 'packages/app/src/context')
| -rw-r--r-- | packages/app/src/context/global-sync.tsx | 1 | ||||
| -rw-r--r-- | packages/app/src/context/global-sync/child-store.ts | 1 | ||||
| -rw-r--r-- | packages/app/src/context/global-sync/types.ts | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/packages/app/src/context/global-sync.tsx b/packages/app/src/context/global-sync.tsx index 1359b07b4..1a672639b 100644 --- a/packages/app/src/context/global-sync.tsx +++ b/packages/app/src/context/global-sync.tsx @@ -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) diff --git a/packages/app/src/context/global-sync/child-store.ts b/packages/app/src/context/global-sync/child-store.ts index 6788e8cc5..3fe67e4fb 100644 --- a/packages/app/src/context/global-sync/child-store.ts +++ b/packages/app/src/context/global-sync/child-store.ts @@ -182,7 +182,6 @@ export function createChildStoreManager(input: { limit: 5, message: {}, part: {}, - bootstrapPromise: Promise.resolve(), }) children[directory] = child disposers.set(directory, dispose) diff --git a/packages/app/src/context/global-sync/types.ts b/packages/app/src/context/global-sync/types.ts index 28b3705d1..e3ec83c5e 100644 --- a/packages/app/src/context/global-sync/types.ts +++ b/packages/app/src/context/global-sync/types.ts @@ -72,7 +72,6 @@ export type State = { part: { [messageID: string]: Part[] } - bootstrapPromise: Promise<void> } export type VcsCache = { |
