Repository navigation
refactor: Clean up redundant code comments - #1163
Merged
Merged
Conversation
Contributor
tofarr
enabled auto-merge (squash)
November 5, 2026 16:03
Contributor
|
🚀 Released in 1.88.0. |
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.
Why
This is the scheduled comment cleanup: 50 files examined, 23 edited. 137 comments were removed as restating the adjacent code (mostly
// Mock ...labels abovevi.mock, step narration in tests, andReset ...labels), 2 were trimmed to drop history and keep only the present-tense fact, and 2 more verbose ones were condensed. No code, docstrings, or machine-read comments changed.Follow-ups for a human:
frontend/__tests__/components/chat/chat-interface.test.tsx(line ~351):// spy on send and expect to have been calledsits at the end of a test with no assertion. Kept as is.frontend/__tests__/components/chat/chat-interface.test.tsx(lines ~453, ~476): "This test may need adjustment since useRouteLoaderData is now globally mocked" has no owner or ticket. Kept as is.frontend/src/routes/mcp-settings.tsx(lines ~148-151, ~212): comments tied to OHE tickets and a "bug bash" flag. They may go stale once the flag is removed. Kept as is.frontend/__tests__/components/conversation-tab-title.test.tsx(line ~241): the shortened note saysuseAgentStateis mocked to always returnAWAITING_USER_INPUT, but the test sets the agent store toRUNNING. The test may not exercise what it claims.// Arrange/// Act/// Assertmarkers were left in place as test-structure labels.Validation
verify_comment_only.pypassed for all 23 changed code files (0 failures). No README files were changed, so there were no README diffs to review.This pull request was opened by an AI agent (OpenHands).
Enterprise server image for this PR: