Skip to content

Refresh status immediately on manual request - #5

Merged
cpanato merged 1 commit into
mainfrom
fix/manual-refresh-feedback
Nov 6, 2026
Merged

cpanato merged 1 commit into
mainfrom
fix/manual-refresh-feedback

Conversation

@cpanato

@cpanato cpanato commented Nov 6, 2026

Copy link
Copy Markdown
Owner

Make the Refresh button request the latest status immediately. Previously, clicking it before the configured polling interval elapsed returned cached data, and minute-only timestamps made the button appear ineffective.

Manual refresh now bypasses both the configured automatic interval and automatic retry backoff. The popup disables the button while the request is running, confirms success or failure in an accessible status message, and displays the successful update time with seconds. Failed requests retain the last successful timestamp and cached data.

Only an explicit provider Retry-After defers manual requests, with an explanation and countdown. Concurrent requests share one fetch; a manual click that joins an automatic cache-only check still starts a real request. Automatic polling continues to use the configured interval and backoff.

Validation: TypeScript build/typecheck, formatting, 17 unit tests, 12 real Chromium scenarios, release packaging tests, ZIP packaging, and diff checks passed. Browser tests cover fresh-cache manual refresh, immediate consecutive clicks, retry after network recovery, Retry-After, concurrent callers, and a manual click racing an automatic cache check.

@cpanato
cpanato merged commit fdbbe7c into main Nov 6, 2026
1 check passed
@cpanato
cpanato deleted the fix/manual-refresh-feedback branch November 6, 2026 17:00
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