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: a failure streak survives the healthy skip (#310 lens follow-up) · Issue #322 · scuttletoby/t3code

usage refresher: a failure streak survives the healthy skip (#310 lens follow-up) #322

New issue
Copy link
New issue
Copy link
Closed
#326
Closed
usage refresher: a failure streak survives the healthy skip (#310 lens follow-up)#322
#326
Copy link

Description

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

From the lens on #310 (#310 (comment)), minor.

apps/server/src/usage/HeadlessUsageRefresher.ts clears an instance's failure count only after a good refresh. A healthy OpenCode instance is now skipped indefinitely, so an old count stays. Example: the probe fails 3 times (one warning), a client recovers usage and the instance stays healthy for days; the next failure makes the count 4: no warning for the new outage, and the next retry waits 2 h instead of 20 min.

Fix: clear the count when the healthy skip applies; test fail -> healthy skip -> fail again -> a second warning and the short retry.

Nit (from before #310): the host lock is read once per sweep, so a sweep that is running when the host locks still refreshes its remaining instances.

🤖 Generated with Claude Code

Activity

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

    usage refresher: clear the failure streak on the healthy skip (#322) (#…

    a254308
  2. scuttletoby
    closed this as completedin #326on Nov 17, 2026
  3. scuttletoby
    added 5 commits that reference this issue on Nov 18, 2026

    usage refresher: clear the failure streak on the healthy skip (#322) (#…

    4188953

    usage refresher: clear the failure streak on the healthy skip (#322) (#…

    b38cc78

    usage refresher: clear the failure streak on the healthy skip (#322) (#…

    e1c6561

    usage refresher: clear the failure streak on the healthy skip (#322) (#…

    7ed5c35

    usage refresher: clear the failure streak on the healthy skip (#322) (#…

    6aad0aa
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.