Improve Desktop gateway resilience, model discovery latency, and backup safety - #69411
Improve Desktop gateway resilience, model discovery latency, and backup safety#69411HAOWANG116 wants to merge 4 commits into
Conversation
|
Thanks for the focused resilience work. The underlying backup and picker latency problems still exist on current main, but this needs selective salvage rather than a direct cherry-pick. Problems
Suggested changes
Automated hermes-sweeper review. |
|
Merged via #77913 — thank you @HAOWANG116. Your backup commit was cherry-picked, so you remain the author in git history. The concurrency hazard you identified was real and under-appreciated: One adaptation in the salvage: the The PR's remaining concerns are worth re-proposing as focused PRs against current main:
|
Summary
This PR addresses several causes of slow or unavailable Desktop gateway/model-picker behavior.
tapClientLookup/useClientLookupindex race with bounded retries, while preserving the normal scoped error fallback for all other errors.Test plan
Gateway ready;Risks & rollback
Rollback requires no data migration: revert these four commits (or redeploy the prior Desktop package/runtime backup). Existing valid backups and snapshots remain intact because new outputs are published atomically.