Skip to content

fix: stabilize refresh and legacy-key startup for v2.3.3 - #106

Merged
Carl723000 merged 35 commits into
ClaudeCodeUsage:mainfrom
Carl723000:codex/v2.3.3-option-b
Sep 16, 2026
Merged

Carl723000 merged 35 commits into
ClaudeCodeUsage:mainfrom
Carl723000:codex/v2.3.3-option-b

Conversation

@Carl723000

Copy link
Copy Markdown
Collaborator

Summary

This patch stabilizes the Claude and Codex refresh paths under large local histories. Codex refresh triggers now share one Extension Host lifecycle with a strongest-pending follow-up, index teardown fences queued work until the replacement provider is ready, and project/status aggregation remains bounded.

It also makes incremental Claude content analysis preserve the established full-scan attribution and ordering semantics while keeping unchanged and ordinary append refreshes bounded. Live Webview patches retain safe UI state and local scroll positions, Claude calendar ranges roll over without rereading JSONL bodies, watcher recovery remains capped, and advice preview/consent state stays host-authoritative.

Fixes startup for installations with a legacy workspace-scoped advice API key or unavailable SecretStorage. The usage status bar, commands, and dashboard continue to activate; AI advice remains unconfigured until the key is manually migrated. The legacy plaintext key is left untouched and is never copied into a global secret slot.

Linked issues

Fixes #105. Relates to #99. The latter report still lacks the requested CPU profile and diagnostics, so this PR does not claim to close the Windows-specific report.

Type of change

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

How was this tested?

  • npm test: full Node suite passed with one environment-related recursive fs.watch skip. Includes legacy workspace-key, SecretStorage-unavailable, and SecretStorage-failure regression tests.
  • npm run test:ui: 160/160 Playwright tests passed, including all declared live-patch scroller kinds, scroll/focus/state preservation, drill-downs, responsive layouts, accessibility, settings, and sharing.
  • Repository VSIX verifier: version 2.3.3 and runtime entry extension/out/extension.js.
  • Independent read-only review completed; actionable test-coverage feedback was incorporated.

Checklist

  • npm run compile is clean
  • No new user-facing string bypasses I18n; all existing locale parity tests pass
  • No new README-facing feature or setting; existing README editions remain intentionally unchanged
  • CHANGELOG.md updated (user-visible changes)
  • README change not required: this patch changes internal correctness, performance, and refresh behavior without adding a workflow or setting
  • No new setting
  • No new runtime dependencies

🤖 Generated with OpenAI Codex

Carl723000 and others added 30 commits September 13, 2026 15:35
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>
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>
Keep the bounded credentials watcher retry chain alive when the selected profile directory is temporarily absent, while respecting quota settings and lifecycle cancellation.

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>
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>
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>
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>
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 and others added 5 commits September 13, 2026 16:16
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 September 16, 2026 13:22
@github-actions github-actions Bot added the fix Patch — bug fix label Sep 16, 2026
@Carl723000 Carl723000 mentioned this pull request Sep 16, 2026
3 tasks done
@Carl723000
Carl723000 merged commit b83e7d6 into ClaudeCodeUsage:main Sep 16, 2026
5 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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Extension wont work anymore

1 participant