openclaw/extensions/github/src
Peter Steinberger cce1cf81a6
perf(github): share one two-second upstream budget across a preview (#161653)
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.
2026-09-30 05:48:35 +00:00
..
detail-checks.test.ts test(plugins): remove low-value tests (batch d060) (#159530) 2026-09-27 08:15:53 +00:00
detail-checks.ts refactor(plugins): deslop feature plugins third pass (#160362) 2026-09-28 07:55:49 -07:00
detail.test.ts test(plugins): remove low-value tests (batch d060) (#159530) 2026-09-27 08:15:53 +00:00
detail.ts fix(github): avoid anonymous quota in authenticated link readers (#153981) 2026-09-20 21:00:36 +00:00
github-api.ts
handlers.ts fix(github): avoid anonymous quota in authenticated link readers (#153981) 2026-09-20 21:00:36 +00:00
image.ts
preview-contract.ts refactor(plugins): deslop feature plugins third pass (#160362) 2026-09-28 07:55:49 -07:00
preview.test.ts perf(github): share one two-second upstream budget across a preview (#161653) 2026-09-30 05:48:35 +00:00
preview.ts perf(github): share one two-second upstream budget across a preview (#161653) 2026-09-30 05:48:35 +00:00
targets.ts
upgrade.test.ts
upgrade.ts
view-model.ts fix: show GitHub merge and closure dates beside sidebar badges (#158081) 2026-09-25 21:28:11 +08:00