Skip to content

🤖 refactor: auto-cleanup#2672

Open
mux-bot[bot] wants to merge 3 commits intomainfrom
auto-cleanup
Open

🤖 refactor: auto-cleanup#2672
mux-bot[bot] wants to merge 3 commits intomainfrom
auto-cleanup

Conversation

@mux-bot
Copy link
Contributor

@mux-bot mux-bot bot commented Feb 26, 2026

Summary

Periodic auto-cleanup pass. Each commit is a single, behavior-preserving refactor discovered by scanning main for dead-code and unnecessary exports.

Changes

  • src/node/services/analytics/etl.ts: Remove export keyword from writeDelegationRollupsFromParsed since it has no external callers (verified via whole-repo grep).
  • src/common/utils/messages/retryState.ts: Remove export keyword from INITIAL_DELAY and MAX_DELAY constants — they are only used internally by calculateBackoffDelay() in the same file, with zero external importers.
  • src/node/services/tools/propose_name.ts: Remove dead createProposeNameTool factory — never imported anywhere. The workspaceTitleGenerator.ts defines the tool inline for TypeScript inference; simplify referencing comment.

Auto-cleanup checkpoint: 54be601

@mux-bot
Copy link
Contributor Author

mux-bot bot commented Feb 26, 2026

@codex review

@chatgpt-codex-connector
Copy link

Codex Review: Didn't find any major issues. Delightful!

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

mux-auto-cleanup[bot] added 3 commits February 27, 2026 04:32
…rsed

This function is only called internally within etl.ts (by rebuildAll).
No external consumers exist, so the export keyword is dead code.
INITIAL_DELAY and MAX_DELAY are only used within retryState.ts itself
(by calculateBackoffDelay). No external file imports them — verified
via whole-repo grep.
The factory in propose_name.ts was never imported anywhere —
workspaceTitleGenerator.ts defines the tool inline for TypeScript
inference. Remove the dead file and simplify the referencing comment.
@ThomasK33 ThomasK33 added this pull request to the merge queue Feb 27, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants