GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — usage refresher: an old failure streak never expires; one backoff boundary untested (#341 follow-ups) · Issue #347 · scuttletoby/t3code

usage refresher: an old failure streak never expires; one backoff boundary untested (#341 follow-ups) #347

New issue
Copy link
New issue
Copy link
Closed
#541
Closed
usage refresher: an old failure streak never expires; one backoff boundary untested (#341 follow-ups)#347
#541
Copy link

Description

@scuttletoby
scuttletoby
opened on Nov 17, 2026
Issue body actions

Follow-ups from the tests lens on #341 (comment #341 (comment)). Neither blocked #341; both are in code from #335.

  1. An old failure streak never expires. A Claude instance on a 10-minute interval: one refresh fails, then it is skipped as signed out every hour for 72 hours, then it comes back signed in and the refresh fails again. Result: calls=2 warnings=1: the new outage three days later counts as failure 2 of the old streak, gives no new warning, and retries after 40 minutes. Cause: the skip path (apps/server/src/usage/HeadlessUsageRefresher.ts ~184-190) with the failure count (~149-152). Fix: a streak older than some limit (for example a few intervals past its retry time) starts fresh, with a test for the long gap; or a test that pins today's behaviour as intended, if that is the choice.
  2. Nit: one backoff mutation survives. retryAtMs - nowMs <= waitMs -> < (~200) stays green; it only matters for a sweep in the same millisecond as the failed attempt started. Add a boundary test or leave it.

🤖 Generated with Claude Code

Activity

  1. scuttletoby
    added a commit that references this issue on Nov 19, 2026

    usage: test the thinning gap check; end a failure streak once its ret…

    9652718
  2. scuttletoby
    closed this as completedin #541on Nov 19, 2026
  3. scuttletoby
    added 3 commits that reference this issue on Nov 21, 2026

    usage: test the thinning gap check; end a failure streak once its ret…

    507410a

    usage: test the thinning gap check; end a failure streak once its ret…

    deaa4c0

    usage: test the thinning gap check; end a failure streak once its ret…

    02622a9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402792 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.