Watch
0
0
Fork
You've already forked hyperhive
0
hyperhive/hive-matrix-mcp/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
atlas b2828d83dc matrix mcp: a restore that hangs at boot times out instead of blocking every account after it
RESTORE_TIMEOUT bounded only retry_down's restore. The boot loop in main
(primary and secondaries) and bring_up_secondary_with_retry's backoff
retries called bring_up_account with no bound, so a restore that never
answered held up every account after it, and the retry loop that would
recover it never started. A hung primary also never reached the fatal Err
path, so systemd never restarted the daemon.

The boot loop moves out of main into bring_up_all, which takes the restore
as a closure (the same seam retry_loop already has) so a test can stand in
a restore that never resolves. Every restore, at boot, on a boot retry and
in retry_once, now goes through within_restore_timeout, so RESTORE_TIMEOUT
is applied in one place. A timeout is an Err naming the account: fatal for
the primary, retried for a secondary, as any other restore error.
bring_up_account had no caller left and is removed.

Closes #5266
2026-10-15 08:29:17 +02:00
..
accounts.rs hive-matrix-mcp: quieter retries, unique snapshot tmp file, accurate comments 2026-10-14 16:20:04 +02:00
client.rs hive-matrix-mcp: bound each secondary retry, warn once per outage 2026-10-15 02:54:09 +02:00
credential.rs hive-matrix-mcp: quieter retries, unique snapshot tmp file, accurate comments 2026-10-14 16:20:04 +02:00
handlers.rs hive-matrix-mcp: test the retry path and the once-only todo clear 2026-10-14 16:20:04 +02:00
lib.rs hive-matrix-mcp: read the main account's token from the store too 2026-09-25 08:31:01 +02:00
main.rs matrix mcp: a restore that hangs at boot times out instead of blocking every account after it 2026-10-15 08:29:17 +02:00
mcp.rs hive-matrix-mcp: retry a secondary account that failed to come up 2026-10-14 16:20:04 +02:00
paths.rs hive-matrix-mcp: read the main account's token from the store too 2026-09-25 08:31:01 +02:00
protocol.rs matrix: wake and unread-guard on own read receipt, not push-rule count 2026-08-03 17:41:24 +02:00
timeline.rs hive-matrix-mcp: test the retry path and the once-only todo clear 2026-10-14 16:20:04 +02:00
wake.rs hive-matrix-mcp: test the retry path and the once-only todo clear 2026-10-14 16:20:04 +02:00