Dashboard › opencode-lore › ensureEmbeddingReady admission
01a0ae99-3df4-7f28-a80b-7870c99bca54Chose finite, guarded readiness admission over retaining ownership behind local-worker warmup because an unbounded stuck warmup wedges readiness and document admission forever. After admission, re-read provider identity, pass the readiness guard into the pool request, retire an assigned worker when the deadline fires, and map pool cancellation to fixed EmbeddingAbortError; never accept late output. Release ownership in finally on disappearance, OOM, timeout, rejection, or cancellation.