Skip to content

ci: unblock static analysis after the MobileNativeChatView test split - #29378

Merged
nwparker merged 1 commit into
mainfrom
nwparker/anti-slop-mobile-chat-fixture
Oct 16, 2026
Merged

nwparker merged 1 commit into
mainfrom
nwparker/anti-slop-mobile-chat-fixture

Conversation

@nwparker

@nwparker nwparker commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor
Files Added Deleted Net
Test 0 0 0 0
Prod 1 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​8 0 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​8

Main's "Reject low-evidence patterns" step fails on every PR since #29368. That PR moved the MobileNativeChatView suite's hoisted vi.mock calls into a shared fixture, MobileNativeChatView.harness.test-fixture.ts, and the anti-slop no-module-mocking rule only exempts *.test and *.spec files.

This adds a file-scoped exemption for that one fixture, the same way unused-default-rpc-methods.test-fixture.ts is already exempted. No code or test changes.

Verified: with main's config, the anti-slop oxlint on mobile/src/session exits 1 with 12 findings; with this change it exits 0.

…dule mocks

#29368 moved these hoisted mocks from the test file into a shared fixture, which the
anti-slop no-module-mocking rule only exempts for *.test files. Scope the same
file-level exemption the RPC test fixture already uses.
@nwparker
nwparker merged commit 82a2414 into main Oct 16, 2026
3 checks passed
@coderabbitai

coderabbitai Bot commented Oct 16, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 8 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 10 included reviews currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: f0775c81-83fa-4eb1-ba26-299dbd79572f
📥 Commits

Reviewing files that changed from the base of the PR and between e554ef2 and b836741.

📒 Files selected for processing: 1
  • config/oxlint-anti-slop.json
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant