Skip to content

fix: reduce background refresh energy use for V2.2.2 - #83

Merged
Carl723000 merged 6 commits into
mainfrom
codex/v2.2.2-energy-efficiency
Aug 1, 2026
Merged

Carl723000 merged 6 commits into
mainfrom
codex/v2.2.2-energy-efficiency

Conversation

@Carl723000

Copy link
Copy Markdown
Collaborator

Summary

Reduces idle Extension Host work before V2.2.2. Unfocused VS Code windows now
suspend polling plus Claude/credential file watchers and perform one catch-up
refresh when focus returns. Repeated quota authentication failures also use an
exponential backoff capped at one hour, reset immediately when credentials
change.

Linked issues

None (follow-up to the local energy investigation for V2.2.2).

Type of change

  • Bug fix (non-breaking) → fix (patch)

How was this tested?

  • TypeScript compilation completed successfully.
  • Full suite: 177 passed, 0 failed, 1 filesystem-capability skip.
  • Added transition tests for background suspend, foreground resume, timer,
    Claude watcher, credentials watcher, and quota backoff behaviour.

Checklist

  • npm run compile is clean
  • No user-facing strings were added
  • No README behaviour or setting contract changed
  • CHANGELOG.md updated (user-visible changes)
  • No new settings were added
  • No new runtime dependencies

🤖 Generated with OpenAI Codex

Carl723000 and others added 5 commits July 30, 2026 00:21
Co-authored-by: OpenAI Codex <215057067+openai-codex[bot]@users.noreply.github.com>
Co-authored-by: OpenAI Codex <215057067+openai-codex[bot]@users.noreply.github.com>
Co-authored-by: OpenAI Codex <215057067+openai-codex[bot]@users.noreply.github.com>
Co-authored-by: OpenAI Codex <215057067+openai-codex[bot]@users.noreply.github.com>
Co-authored-by: OpenAI Codex <215057067+openai-codex[bot]@users.noreply.github.com>
@Carl723000
Carl723000 requested a review from jack21 as a code owner July 29, 2026 23:30
@github-actions github-actions Bot added the fix Patch — bug fix label Jul 29, 2026
@Carl723000 Carl723000 added the patch Patch bump label Aug 1, 2026
@Carl723000
Carl723000 merged commit 37d3255 into main Aug 1, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix Patch — bug fix patch Patch bump

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant