Skip to content

ci: Add more startup time for Matrix shards - #5795

Merged
backspace merged 1 commit into
mainfrom
matrix-realm-server-start-cap
Aug 17, 2026
Merged

ci: Add more startup time for Matrix shards#5795
backspace merged 1 commit into
mainfrom
matrix-realm-server-start-cap

Conversation

@backspace

@backspace backspace commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

I’m seeing Matrix shard failures in #5776 based on the 5min timeout described here, though the comment says 2min. Shards 1 and 3 are regularly approaching or exceeding 5min startup, which CS-12533 tracks for analysis and reduction. But for now, this raises the timeout to 10min.

Claude explanationThe 300s ceiling on the realm-server-ready wait is close enough to a healthy cold boot that the slowest matrix shard fails on it: the harness kills a server that reported progress milliseconds earlier, having nearly finished indexing the base realm. The comment above the constant assumed that boot takes ~2 minutes; the slowest shard's setup measures closer to five.

Double the cap. It was never a performance assertion — the progress-aware watchdog beside it fails a boot that goes silent within 90s, so a genuine hang still surfaces just as fast, and only a server that keeps emitting output without ever finishing waits longer than before.

The 300s ceiling on the realm-server-ready wait is close enough to a healthy
cold boot that the slowest matrix shard fails on it: the harness kills a server
that reported progress milliseconds earlier, having nearly finished indexing the
base realm. The comment above the constant assumed that boot takes ~2 minutes;
the slowest shard's setup measures closer to five.

Double the cap. It was never a performance assertion — the progress-aware
watchdog beside it fails a boot that goes silent within 90s, so a genuine hang
still surfaces just as fast, and only a server that keeps emitting output
without ever finishing waits longer than before.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@backspace
backspace marked this pull request as ready for review August 17, 2026 19:06
@backspace
backspace requested a review from a team August 17, 2026 19:23
@backspace
backspace merged commit e4b5066 into main Aug 17, 2026
55 of 59 checks passed
@backspace
backspace deleted the matrix-realm-server-start-cap branch August 17, 2026 20:22
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.

2 participants