Skip to content

Remove redundant Grok stdin suite and journal query-plan test - #45008

Merged
OrcaWin merged 1 commit into
mainfrom
OrcaLinux/audit-grok-and-journal-9225
Nov 20, 2026
Merged

OrcaWin merged 1 commit into
mainfrom
OrcaLinux/audit-grok-and-journal-9225

Conversation

@OrcaWin

@OrcaWin OrcaWin commented Nov 20, 2026 •

Copy link
Copy Markdown
Collaborator

Changes

  • Delete the redundant POSIX Grok stdin suite. The shared reader suite exercises the same shell and Python capture with stdin held open and verifies that split UTF-8 comes through intact. Remove the deleted suite's two flaky-pattern baseline entries.
  • Remove the SQLite query-plan assertion and the redundant recount. The journal tests still check the expected count after each update and after reopening.
  • Remove five unused Claude transcript fixture rows. The existing mixed-notification test still checks that its tool result survives decoding.

Verification

23 focused tests passed. Four Windows-only Grok cases skipped on Linux. The changed-code gate and diff check passed.

Files Added Deleted Net
Test 3 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​7 $\color{#cf222e}{\Huge{\mathbf{−}}}$​202 $\color{#cf222e}{\Huge{\mathbf{−}}}$​195
Prod 1 0 $\color{#cf222e}{\Huge{\mathbf{−}}}$​2 $\color{#cf222e}{\Huge{\mathbf{−}}}$​2

@coderabbitai

coderabbitai Bot commented Nov 20, 2026

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The changes remove the POSIX stdin-without-EOF test and its flaky-test baseline entries. Journal ended-turn-count tests remove SQL recount comparisons and a query-plan assertion, while retaining expected count checks. A transcript test replaces a full fixture spread with directly specified notification fields and retains its decoder assertion.

Merge Risk: Minimal · up to 0694d

This change only trims tests and flaky-test baseline entries and does not alter product behavior. No merge-blocking risk was identified.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the two main removals: the redundant Grok stdin suite and the journal query-plan test. The changeset deletes the POSIX Grok stdin test file and its baseline entries, and removes the SQ…
Description check Passed The description follows the repository template in its Changes and Verification sections. It explains what was removed and why the coverage still holds. It omits the template sections ELI5, Why, Linke…
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: Title check

Explanation

The title names the two main removals: the redundant Grok stdin suite and the journal query-plan test. The changeset deletes the POSIX Grok stdin test file and its baseline entries, and removes the SQLite query-plan assertion and recount. The title omits the fixture-row cleanup in the Claude transcript test, which is a minor part of the change.

Full details: Description check

Explanation

The description follows the repository template in its Changes and Verification sections. It explains what was removed and why the coverage still holds. It omits the template sections ELI5, Why, Linked Issue, Visual Proof, Testing checkboxes, Risk level, AI Disclosure, and Review. The author did not state the risk level or a back-out plan, and gave no linked issue. Those gaps are non-critical for a test-only cleanup, so the description is mostly complete.

  • 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

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: 39dc5c92-df03-4a61-a105-55d7d627deab
Commits

Reviewing files that changed from the base of the PR and between 12d8c3e and 0694d11.

Files selected for processing: 4

  • config/flaky-test-pattern-baseline.txt
  • src/main/grok/grok-hook-stdin-no-eof.test.ts
  • src/main/native-chat/agent-session-journal/journal-domain-consumer-reads.test.ts
  • src/main/native-chat/transcript-hand-back-turns.test.ts
Files with no reviewable changes: 2

  • config/flaky-test-pattern-baseline.txt
  • src/main/grok/grok-hook-stdin-no-eof.test.ts

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

@OrcaWin
OrcaWin merged commit 4f65944 into main Nov 20, 2026
39 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