Skip to content

fix(core): request timeout and visible per-target errors - #21

Merged
eJosR-Coding merged 3 commits into
mainfrom
fix/fetch-timeout
Sep 17, 2026
Merged

eJosR-Coding merged 3 commits into
mainfrom
fix/fetch-timeout

Conversation

@eJosR-Coding

Copy link
Copy Markdown
Owner

What

  • Every GitHub request aborts after 20 s. A fetch that never settled (seen after a network change) left the poller stuck on "Checking…" for ten hours.
  • A target that fails (e.g. 404 on a private repo because the token lacks the repo scope) now keeps the status red with a hint, instead of being overwritten by "last check ok" in the same cycle.
  • CHANGELOG.md added.

Verified

Found live: poller frozen since 01:15 with state unchanged; repo target returning 404 with the app token while gh returned 200. tsc, 17 tests.

…all polling

The poller marks itself running for the whole cycle; a fetch that never
settles (seen after a network change) left it stuck on 'Checking…' for
hours. Every request now aborts after 20 s and the cycle moves on.
… ok status

A 404 on a private repo (token without the repo scope) was reported for
a split second and then overwritten by 'last check ok'. Failed targets
now keep the status red with a hint about the missing scope.
@eJosR-Coding
eJosR-Coding merged commit 5c04ffe into main Sep 17, 2026
1 check passed
@eJosR-Coding
eJosR-Coding deleted the fix/fetch-timeout branch September 17, 2026 16:42
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.

1 participant