fix(selfhost): widen orb-relay-drain checkin margin to match redeploy cadence - #7385
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7385 +/- ##
==========================================
- Coverage 91.18% 91.17% -0.01%
==========================================
Files 716 716
Lines 72697 72697
Branches 20423 20423
==========================================
- Hits 66288 66283 -5
- Misses 5367 5368 +1
- Partials 1042 1046 +4
Flags with carried forward coverage won't be shown. Click here to find out more.
|
… cadence LOOPOVER-12 fired 1600+ missed-checkin outages over 2+ weeks. Ruled out the reentrancy-guard overlap-skip (0 occurrences in 14 days of live instrumentation) and in-process timeouts (~13 events, too few to explain the volume). The container's own StartedAt resets on every redeploy unlike its stable sidecars, and boot (image pull + Postgres-readiness wait + init) routinely exceeds the old 2-minute margin on a fleet redeploying multiple times a day. Raise checkinMargin from 2 to 6 minutes so a normal redeploy doesn't trip a false outage, while a genuinely stuck instance still alerts within ~21 minutes.
e9a3b34 to
f20bf92
Compare
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
|
Warning ⏸️ LoopOver review result - manual review recommendedReview updated: 2026-07-20 03:26:08 UTC
Review summary Nits — 4 non-blocking
Concerns raised — review before merging
📋 Copy for AI agents — paste into your coding agentDecision drivers
Context & advisory signals — never blocks the verdict
Review context
Contributor next steps
Signal definitions
🧪 Chat with LoopOverAsk LoopOver a question about this PR directly in a comment — grounded only in the same cached, public-safe facts shown above, never a new claim.
Full command reference: https://loopover.ai/docs/loopover-commands 🧪 Experimental — new and may change. 🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed 💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by LoopOver, a quiet PR intelligence layer for OSS maintainers.
|
Summary
Validation
npx vitest run test/unit/selfhost-sentry.test.ts test/unit/selfhost-monitored-work.test.ts— 109/109 passingnpx tsc --noEmit— cleanSafety