Repository navigation
Clean up unnecessary comments - #370
Merged
Merged
Conversation
Keep only comments that document external constraints (Compose, Splice, Canton, browser, CLI contracts). Zero behavior change: Go tokens identical to main; TypeScript/JSX differ only by empty-catch whitespace and removed JSX comment nodes.
zheli
force-pushed
the
cursor/no-comments-top10-bd26
branch
from
November 10, 2026 13:45
277c6b5 to
7393de4
Compare
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.
Summary
/no-commentson the ten files with the most comment lines. About 2,850 comment lines deleted; ~157 kept for proven external constraints. Code behavior unchanged.Changes
internal/ui/handlers/instances.gofrontend/src/api.tsinternal/localnet/up.gointernal/docker/compose.gointernal/ui/handlers/reconciler.gointernal/localnet/token/actions.gointernal/localnet/overlay.godocs/design/mockups/design-canvas.jsxinternal/ui/stream/hub.gointernal/cli/localnet/contracts.go!overridebehavior, Splice healthcheck quirks, Canton filter/JWT constraints, SSE/browser quirks, and stable CLI exit/schema contracts.Test plan
main(automated strip-compare)npx tsc --noEmit+npx vitest runinfrontend/(257 passed)make test/make lint(local Go 1.26 toolchain unavailable in this agent env; CI should cover)scripts/e2e/run-all.shnot run (comment-only change)Checklist
/no-commentsreportEncoding offers (approve to encode, then delete the comment)
Reply with which to encode:
-p-only teardown (compose.goStop / StopContainers) → CI lint or test thatdownnever passes--profile.!overrideports / volumes (overlay.go) → golden overlay fixture asserting the tag is present.-devHEALTHCHECK / starting→unhealthy (compose.go,reconciler.go) → typed health classifier + catalogue flag instead of prose.contracts.go) → unit test that documents the party-filter fallback.onmessagenamed-event quirk (instances.go) → helper that always emits default-type frames; delete the comment.loadbehavior (api.ts) → small test or named helper encoding success vs error-document.Open reshape work (not in this PR)
Reported by Comment Sicko; left open to keep this change behavior-identical:
EventSchemaVersion/contractsTxSchemaVersionwithtypes.SchemaVersionHub.Subscribecancel toctx; extract drop-oldest channelcompose ps --format jsononce instead of tab-split dual parsersRunUpsteps; separate opt-in profiles from base stateErrorCodefrom Go; drop deadatomic?option surfaceinstances.go