mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-07-12 21:02:17 +02:00
GitHub rate-limits the device-code token endpoint: a poll arriving even slightly under the flow interval returns slow_down and permanently raises the required interval. The renderer polled on a fixed 5s timer (exactly the limit), so one jittery request tripped slow_down and every poll after it was 'too fast' — GitHub answered slow_down forever and the dialog sat on 'Waiting for authorization' even after the user approved. Core now tracks lastTokenPollAt and skips the request until the flow's current interval (base +1s margin) has elapsed, so slow_down bumps take effect and the flow recovers. The renderer timer is just a heartbeat (2s). |
||
|---|---|---|
| .. | ||
| .pnpm-store/v11 | ||
| apps | ||
| docs | ||
| packages | ||
| .gitignore | ||
| ANALYTICS.md | ||
| CODE_MODE_ENGINES_PLAN.md | ||
| eslint.config.mts | ||
| LIVE_NOTE.md | ||
| MINI_APPS_PLAN.md | ||
| package.json | ||
| pnpm-lock.yaml | ||
| pnpm-workspace.yaml | ||
| tsconfig.base.json | ||
| VIDEO_MODE.md | ||