Skip to content

fix(reconcile): re-pin scheduled models that drifted to HOT-but-unpinned - #268

Open
MichaelRipa wants to merge 1 commit into
devfrom
fix/reconcile-pinned-drift
Open

fix(reconcile): re-pin scheduled models that drifted to HOT-but-unpinned#268
MichaelRipa wants to merge 1 commit into
devfrom
fix/reconcile-pinned-drift

Conversation

@MichaelRipa

Copy link
Copy Markdown
Member

A scheduled model whose pinned replica dies can be re-created unpinned by a hotswap request. It then passes the old "is it HOT?" reconcile check, so the pinned flag is never restored — the model serves hotswap keys but rejects every non-hotswap key, while the dashboard still shows it as pinned. Observed in prod on Llama-3.1-405B (45 entitled keys locked out).

Track per-model pinned-ness (not just HOT-ness) and treat "scheduled + HOT + any unpinned replica" as drift: evict and redeploy pinned. The API gate reads replicas[0].pinned and deploy is additive, so an in-place flip is impossible — eviction is required.

A scheduled model whose pinned replica dies can be re-created unpinned by a
hotswap request. It then passes the old "is it HOT?" reconcile check, so the
pinned flag is never restored — the model serves hotswap keys but rejects
every non-hotswap key, while the dashboard still shows it as pinned. Observed
in prod on Llama-3.1-405B (45 entitled keys locked out).

Track per-model pinned-ness (not just HOT-ness) and treat "scheduled + HOT +
any unpinned replica" as drift: evict and redeploy pinned. The API gate reads
replicas[0].pinned and deploy is additive, so an in-place flip is impossible —
eviction is required.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant