Skip to content

Harden server startup, admission, and state recovery - #427

Open
Yunnglin wants to merge 6 commits into
dev-swift-v5from
server-runtime-reliability-v5
Open

Yunnglin wants to merge 6 commits into
dev-swift-v5from
server-runtime-reliability-v5

Conversation

@Yunnglin

@Yunnglin Yunnglin commented Dec 1, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Seed managed Ray replicas through the runtime environment. Reject tokenized prompts that exhaust the configured vLLM context before admission, and replay accepted sample receipts without dispatching again.
  • Retry Redis transaction conflicts after releasing the connection, avoid replaying an ambiguous EXEC, and read future records in batches. Refresh each resource snapshot independently and keep heartbeat persistence separate from worker health.
  • Move checkpoint metadata writes off the replica event loop and keep sampler staging and its lock until publication finishes. Fix the field selection in the Grafana training snapshot panel.

Validation

  • 385 regression tests passed with an isolated Redis instance. The Redis restart test requires a local server binary in pytest and was rerun successfully with an isolated container, covering persistent state, stale connections, and atomic writes.
  • git diff --check and dashboard JSON parsing passed.
  • Browser rendering and accelerator validation remain pending for this revision.

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