mirror of
https://github.com/openclaw/openclaw.git
synced 2026-10-03 17:53:39 +00:00
Each upstream request inside a GitHub hover preview received its own eight-second deadline, so the metadata -> commits -> co-author avatar chain could stack several waits before the card appeared. Carry one abort signal through visibility checks, redirects, the optional-auth fallback, item and body reads, commits, and avatars. Slow required metadata keeps the existing retryable unavailable response; slow optional content is omitted while the card is preserved. Completed cache hits still make zero network requests and the full detail reader keeps its own timeout. Microbenchmark with an abort-aware slow transport: slow avatars after a 700 ms commits page 8,704 -> 2,001 ms wall; stalled required item 8,001 -> 2,002 ms; reopened completed previews unchanged at zero requests. |
||
|---|---|---|
| .. | ||
| detail-checks.test.ts | ||
| detail-checks.ts | ||
| detail.test.ts | ||
| detail.ts | ||
| github-api.ts | ||
| handlers.ts | ||
| image.ts | ||
| preview-contract.ts | ||
| preview.test.ts | ||
| preview.ts | ||
| targets.ts | ||
| upgrade.test.ts | ||
| upgrade.ts | ||
| view-model.ts | ||