test(opencode): remove disposal event wait race (#30971)

This commit is contained in:
Aiden Cline
2026-06-05 09:58:40 -05:00
committed by GitHub
parent e9aa33d4bd
commit 5d7157fe51
3 changed files with 3 additions and 3 deletions
@@ -86,7 +86,7 @@ it.live("CLI bootstrap runs InstanceBootstrap before callback", () =>
it.live("CLI bootstrap disposes the instance when the callback rejects", () =>
Effect.gen(function* () {
const tmp = yield* bootstrapFixture
const disposed = yield* waitDisposed(tmp.directory).pipe(Effect.forkScoped)
const disposed = yield* waitDisposed(tmp.directory).pipe(Effect.forkScoped({ startImmediately: true }))
const exit = yield* Effect.promise(() =>
cliBootstrap(tmp.directory, async () => Promise.reject(new Error("boom"))),