Repository navigation
fix: Prepare certified inactive embedding targets - #822
Draft
buildingjoshbetter wants to merge 1 commit into
Draft
buildingjoshbetter wants to merge 1 commit into
buildingjoshbetter wants to merge 1 commit into
Conversation
This was referenced Oct 9, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Tier rebuilds need to prepare an inactive embedding target without changing the serving tier or silently accepting a custom-model fallback. This prerequisite adds an immutable target descriptor, explicit daemon certification with actual output-width checks, and an encode-only local lease. Named completion/separation tables initialize independently of active configuration, with paired rollback and case-insensitive TEMP-shadow rejection.
The daemon reuses its existing cache, admission, deadline and CPU-recovery controls. Local preparation permits one outstanding lease and shares exact-model ownership with existing inference. The optional timed ownership path preserves legacy callers' locking behavior. Existing models, rerankers, dimensions and retrieval policy are unchanged.
Stacked on #820. Related to #795; this does not close it. No tier-switch caller adopts this API yet. Full-corpus retention, truthful activation and the original Mac memory incident remain unresolved. No whole-process byte bound or native MPS improvement is claimed.
Validation:
Full log SHA256: publication
993a79e7c930fb6b8604e7ddd306238e84ab59f020f3e43862e4eeaad7ed5b0d; combined4a6586ba85124e2190f7ce4b16f621caf8bbd8d9e21b357685af9f67d8b84cba.Draft only. Nothing is merged or released.