Skip to content

Multi-server: most recent request wins (#252) - #418

Merged
rowkav09 merged 1 commit into
mainfrom
feat/252-most-recent-wins
Sep 24, 2026
Merged

rowkav09 merged 1 commit into
mainfrom
feat/252-most-recent-wins

Conversation

@rowkav09

Copy link
Copy Markdown
Member

Part of #252. Rowan's rule (24 Sept): when more than one server is playing, the most recent request wins.

  • Each server records when it last started something: playback began, resumed from pause, or moved to a different item.
  • Playing beats paused; among those, the newest start wins.
  • Nothing playing or paused anywhere: the first server's result shows, as before (a one-server setup is unchanged, and a failing first server still fails like before).
  • A playing server still shows when the first server is down.
  • Per-server backoff and the status-page rows are untouched.

Tests in test/multi-server.test.js.

@github-actions

Copy link
Copy Markdown
Contributor

/mira pause

@github-actions github-actions Bot added mira-paused Pause automatic Mira reviews on this pull request size:M labels Sep 24, 2026
@codecov

codecov Bot commented Sep 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mira-paused Pause automatic Mira reviews on this pull request size:M

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant