Honor server backoff and section freshness in live polling #466

Merged
timmy merged 1 commits from timmy/465-adaptive-live-polling into main 2026-08-10 08:19:38 +00:00
Owner

Closes #465

What changed

  • schedule live refreshes from healthy section freshness deadlines and full-outage cooldowns
  • honor bounded Retry-After and cap transport backoff at one minute
  • keep revalidation from spinning and reset backoff after recovery
  • roll the offline shell and document the scheduling contract

Verification

  • RED observed for cooldown, healthy-section deadline, Retry-After, bounded backoff, revalidation spin prevention, and shell cache tests
  • pytest -q tests/test_context_polling.py — 12 passed
  • pytest -q — 913 passed
  • git diff --check — clean
Closes #465 ## What changed - schedule live refreshes from healthy section freshness deadlines and full-outage cooldowns - honor bounded `Retry-After` and cap transport backoff at one minute - keep revalidation from spinning and reset backoff after recovery - roll the offline shell and document the scheduling contract ## Verification - RED observed for cooldown, healthy-section deadline, Retry-After, bounded backoff, revalidation spin prevention, and shell cache tests - `pytest -q tests/test_context_polling.py` — 12 passed - `pytest -q` — 913 passed - `git diff --check` — clean
timmy added 1 commit 2026-08-10 08:18:15 +00:00
perf: adapt live polling to server freshness (#465)
All checks were successful
CI / lint (pull_request) Successful in 55s
CI / build-release (pull_request) Successful in 6s
CI / release-candidate (pull_request) Has been skipped
72453b76db
timmy merged commit 3f9dd49766 into main 2026-08-10 08:19:38 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: stackchain/stackchain-dashboard#466
No description provided.