Repository navigation
[chore]: remove comments that restate the code - #3538
Conversation
|
There was a problem hiding this comment.
All reported issues were addressed across 651 files
Note: This PR contains a large number of files. cubic selects up to 200 of the highest-priority eligible files for this review, so some files may not have been reviewed.
Tip: Get a Slack DM when cubic finishes reviewing your PRs. Connect Slack
View guided diff | Turn on auto-fix | Re-trigger cubic
dbff5a6 to
03ecebd
Compare
Merge origin/main into cursor/fix-remote-session-status-propagation-38a5 Conflicts resolved: - packages/cli/src/lib/driver/remote.ts: Keep PR's extractHttpStatus/extractUpstreamMessage helpers for cause chain extraction and 402/429 handling, incorporate main's removal of redundant JSDoc comments - packages/cli/src/lib/driver/remote.disabled.ts: Keep PR's extractHttpStatus function for consistent httpStatus extraction in disabled stub Changes from main: - locator.filter() feature (#3567) - page-level error classification (#3515) - bare hostname URL fix (#3512) - comment removal cleanup (#3538) - other SDK and CLI improvements Co-authored-by: Shrey Pandya <[email protected]>
why
a large share of the comments in this repo restate the name or narrate the line below them, and a number had drifted out of date (references to files and functions that no longer exist, docs attached to the wrong symbol). code should read without them.
what changed
getByText()andgetByRole()files added since the first pass. comment-only: no code tokens change._bundle.json. the bundle carries function sources, so its hash changes when comments inside them go.test plan
main: identical apart fromoxfmtre-wrapping four of them. python asts are identical apart from removed docstrings.pnpm check(fmt, lint, typecheck) andturbo run test:unitpass;generate.py --check,ruff,tyand the middleware and deepagentspytestsuites pass; the browser-runtime suites for the touched locator files pass.