Dashboardopencode-loreensureEmbeddingReady admission

ensureEmbeddingReady admission

Category: architecture
Confidence: 1.00
ID: 01a0ae99-3df4-7f28-a80b-7870c99bca54
Project ID: 6f4be9ff-ed84-4cca-a9e7-732a0b0b8677
Cross-project: No
Recalled in other projects: 0
Source session: 0kk54et5Shz3ZHDIR
Created: 2026-09-17 09:01:13
Updated: 2026-09-17 09:01:13

Content

Chose 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.

Move to: