Skip to content

🤖 refactor: auto-cleanup#2942

Merged
ThomasK33 merged 1 commit intomainfrom
auto-cleanup
Mar 13, 2026
Merged

🤖 refactor: auto-cleanup#2942
ThomasK33 merged 1 commit intomainfrom
auto-cleanup

Conversation

@mux-bot
Copy link
Copy Markdown
Contributor

@mux-bot mux-bot bot commented Mar 13, 2026

Summary

Periodic auto-cleanup: removes the dead setPRStatusStoreInstance export from PRStatusStore.ts.

Background

The function was exported but never imported or called anywhere in the codebase. The getter (getPRStatusStoreInstance) creates the singleton on demand; no test or production code ever needed to inject a custom instance via the setter. It is the only set*StoreInstance pattern across all stores, so there is no convention to maintain.

Validation

  • make typecheck — passes
  • make lint — passes
  • make fmt-check — passes
  • bun test src/browser/stores/PRStatusStore — 12/12 pass
  • Grep confirms zero references outside the definition site

Auto-cleanup checkpoint: ff743d1


Generated with mux • Model: anthropic:claude-opus-4-6 • Thinking: xhigh • Cost: $0.00

The function was exported but never imported or called anywhere in the
codebase. The getter (getPRStatusStoreInstance) creates the singleton
on demand; no test or production code ever needed to inject a custom
instance via the setter.
@mux-bot
Copy link
Copy Markdown
Contributor Author

mux-bot bot commented Mar 13, 2026

@codex review

@chatgpt-codex-connector
Copy link
Copy Markdown

@ThomasK33 ThomasK33 added this pull request to the merge queue Mar 13, 2026
Merged via the queue into main with commit ce7b57b Mar 13, 2026
24 checks passed
@ThomasK33 ThomasK33 deleted the auto-cleanup branch March 13, 2026 22:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant