refactor(ui): localize unused module exports#101339
Merged
Merged
Conversation
vincentkoc
force-pushed
the
refactor/deadcode-full-sweep-20260706-v25
branch
from
July 7, 2026 04:02
019cba7 to
0d77740
Compare
Member
Author
|
Land-ready proof:
Known proof gaps: none for this behavior-neutral module-surface refactor. |
vincentkoc
marked this pull request as ready for review
July 7, 2026 04:10
Member
Author
|
Merged via squash.
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Jul 7, 2026
sheyanmin
pushed a commit
to sheyanmin/openclaw
that referenced
this pull request
Jul 8, 2026
giodl73-repo
pushed a commit
to giodl73-repo/openclaw
that referenced
this pull request
Jul 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Problem This Solves
The Control UI exposes internal-only types, constants, and helpers from 37 modules. Those exports inflate the module API surface and make static dead-code analysis noisier even though no other repository module imports them.
Why This Change Was Made
Localize 62 symbols that are referenced only inside their declaration module. This preserves runtime behavior and local typing while narrowing the public module surface.
User Impact
No user-visible behavior change. The UI module boundaries are smaller and future unused-code reports have less false-positive noise.
Evidence
git diff --checkpnpm check:changedon the patched tree: passed.992cac3b9d237adfba2f08d525f3d5897cfdadcfcc954bece1d53f8eac2f7f50.