Repository navigation
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review.
|
| Layer / File(s) | Summary |
|---|---|
Discard test registration return values tests/Unit/ConversationSearch.test.ts, tests/Unit/IssueCommands.test.ts, tests/Unit/TranslationLanguages.test.ts |
Test registrations now use void to discard their return values. Test bodies and assertions are unchanged. |
Capture hook results through callbacks tests/Unit/ThreadHistory.test.tsx, tests/Unit/ThreadMutationHistory.test.tsx |
Probe components pass hook results to onRender callbacks, which the tests use to capture the results. Inputs and assertions remain unchanged. |
Import cleanup
| Layer / File(s) | Summary |
|---|---|
Remove unused number-formatting import resources/js/components/commit-thread.tsx |
The formatExactCount import is removed. The other number-formatting imports remain. |
Priority:
Estimated code review effort: 2 (Simple) | ~8 minutes
Change: Other
Possibly related PRs
- dev-null-sh/dev-null.sh#359: This PR also adds
voidto anode:testregistration intests/Unit/IssueCommands.test.ts.
Suggested reviewers: xheaven, nunomaduro
Merge Risk: 
Minimal · up to 274f7
-
The cleanup is mergeable with no identified behavior or availability risk.
Pre-merge checks: 
4 · 
1
-
Failed checks: 1 warning Passed checks: 4 passed-
Full details: Title check
-
Explanation
The title names the main change: clearing lint warnings in the test files and commit-thread.tsx. The changeset adds void to node:test registrations in three test files, passes hook results through onRender in two probe-based tests, and removes an unused import in commit-thread.tsx. The title is specific and accurate, and it does not mention the three remaining useThread warnings that the PR objectives say stay open.
-
-
Finishing Touches
-
🧪 Generate unit tests (beta)
-
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Comment @coderabbitai help to get the list of available commands.
Clears 14 of the 17 warnings the lint job prints on production:
The 3 `react(refs)` and `react(set-state-in-effect)` warnings in `useThread` stay. They come from how it drops stale reply requests, and changing that changes behavior, so it belongs in its own PR.
🤖 Generated with Claude Code
Summary by CodeRabbit