Skip to content

test: remove duplicate diff cases and repair audit fixtures - #33503

Merged
OrcaWin merged 1 commit into
mainfrom
codex/test-audit-349-shared-diff-and-fixtures
Oct 25, 2026
Merged

OrcaWin merged 1 commit into
mainfrom
codex/test-audit-349-shared-diff-and-fixtures

Conversation

@OrcaWin

@OrcaWin OrcaWin commented Oct 25, 2026 •

Copy link
Copy Markdown
Collaborator
Files Added Deleted Net
Test 3 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​12 $\color{#cf222e}{\Huge{\mathbf{−}}}$​49 $\color{#cf222e}{\Huge{\mathbf{−}}}$​37
Prod 1 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​6 $\color{#cf222e}{\Huge{\mathbf{−}}}$​2 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​4

Remove five mobile diff-parser cases that duplicate coverage of the same shared parser in the renderer suite. Keep the mobile-specific default and caller-supplied row-budget cases.

Also unmount reading-place test renderers during teardown, correct the rendering-limit case title to match its first-pairs assertion, and extend the existing benchmark import relocation map for provider-frame-summary. No application code changes.

Validation: original parser/hook/terminal selection 47 passed; retained mobile parser cases 2 passed; mobile reconciliation original/candidate 34 passed each; lifecycle diagnostic reproduces 17 retained observers before the fixture fix and zero afterward; benchmark workloads complete 103 scenarios. Changed-file format and lint passed. Full PR CI is required before merge.

Audit bookkeeping: 15 sources / 100 authored declarations reviewed, with 5 removals; 5 newly reviewed sources and 10 stale reviews reconciled. Evidence and tracker remain local and ignored. Local execution uses background Node/React/headless tests with isolated network and filesystem writes; no visible application or native-focus test runs.

@coderabbitai

coderabbitai Bot commented Oct 25, 2026

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: aa5819b3-3292-4d1e-82da-a6ada7645156
Commits

Reviewing files that changed from the base of the PR and between 346e2ac and fa09285.

Files selected for processing: 4
  • config/scripts/native-chat-tool-pairing-benchmark.mjs
  • mobile/src/session/mobile-native-chat-blocks.test.ts
  • mobile/src/session/mobile-native-chat-diff.test.ts
  • mobile/src/session/mobile-native-chat-reading-place.test.tsx

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 7 remain after this review.

Walkthrough

The benchmark resolver now maps three dependencies to source directories. Mobile native chat tests have an updated pair-block test description, no longer include the diffFromToolCall test suite, and clean up mounted renderers and mocked scrollable state after each test.

Priority: Low

Merge Risk: Minimal · up to fa092

No actionable risk introduced by this test and benchmark maintenance PR.

Pre-merge checks: Passed 3 · Failed 2

Failed Failed checks: 2 warnings

Check name Status Explanation Resolution
Description check Warning The description provides useful change and validation details, but it does not follow the repository template. It omits the required section structure and lacks a linked issue, explicit visual-proof s… Restructure the description using the repository template. Add the ELI5, What Changed, Why, Linked Issue, Visual Proof, Testing, Review, Agent skill upstream boundary, Notes, and Checklist sections. Provide an issue link or document the app…
Docstring Coverage Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 2 functions across 4 files. Write docstrings for the functions missing them to satisfy the coverage threshold.
Passed Passed checks: 3 passed
Check name Status Explanation
Title check Passed The title clearly identifies the main changes: removing duplicate diff cases and repairing test fixtures. It is concise and related to the changeset.
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Description check

Explanation

The description provides useful change and validation details, but it does not follow the repository template. It omits the required section structure and lacks a linked issue, explicit visual-proof status, completed testing and checklist items, and clearly separated ELI5 and rationale sections.

Resolution

Restructure the description using the repository template. Add the ELI5, What Changed, Why, Linked Issue, Visual Proof, Testing, Review, Agent skill upstream boundary, Notes, and Checklist sections. Provide an issue link or document the applicable maintainer exception. State N/A with a reason for Visual Proof if there is no UI or interaction change. Record testing results and complete the relevant checklist items.

Finishing Touches: 💡 1
📝 Generate docstrings: 💡
  • Commit to this branch
  • Create a new PR
  • 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.

@OrcaWin
OrcaWin merged commit a5e948d into main Oct 25, 2026
35 checks passed
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