Skip to content

Consolidate discovery, journal, keyboard and ZCode tests - #45035

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

OrcaWin merged 1 commit into
mainfrom
OrcaLinux/audit-discovery-and-journal-9277

Conversation

@OrcaWin

@OrcaWin OrcaWin commented Nov 20, 2026 •

Copy link
Copy Markdown
Collaborator

Changes

  • Remove the standalone journal rewind suite. The teardown test now checks rewind eligibility for the same Claude opener using an alias recorded by the journal.
  • Run one disappearing-directory error per scanner. Claude covers ENOENT and Codex covers ENOTDIR. Both still reject EACCES.
  • Move the shifted-key check to the existing Bot Item Pane case and remove the duplicate printable-key case from the helper suite. Keep the shortcut, input, IME, and question-choice cases.
  • Use the version-manager ZCode test to cover both installation lookup outside GUI PATH and sibling Node selection.

Verification

  • Focused tests, formatting, and changed-code quality passed.
  • Removing alias resolution from the rewind reader made the consolidated case fail. Restored the production source afterward.
Files Added Deleted Net
Test 7 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​37 $\color{#cf222e}{\Huge{\mathbf{−}}}$​91 $\color{#cf222e}{\Huge{\mathbf{−}}}$​54
Prod 0 0 0 0

@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 revise tests for file discovery error cases, journal teardown and rewind eligibility, zcode executable discovery, and keyboard input forwarding to the comment editor. They add assertions and fixture data in the journal tests, change the key tested by the pane test, and remove several test cases.

Merge Risk: Minimal · up to 4a704

This change consolidates tests and does not alter runtime behavior. No concrete merge risk was found.

Pre-merge checks: Passed 3 · Inconclusive 1

Failed Failed checks: 1 inconclusive

Check name Status Explanation Resolution
Description check Inconclusive The description follows the template's main sections in substance. It has a Changes section and a Verification section, and it gives a clear summary of the four test changes. It omits the ELI5, Visual… Add the ELI5 summary and a plain before-and-after for the user-visible behavior. Add a Risk section with a level (Low, Medium, or High) and a backout plan. Fill in the Linked Issue line with an issue reference, or state that the PR is by a …
Passed Passed checks: 3 passed

Check name Status Explanation
Title check Passed The title names four areas (discovery, journal, keyboard, ZCode) that match the changeset. It describes a consolidation of tests, which is the main change, but it does not say what was removed or merg…
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 four areas (discovery, journal, keyboard, ZCode) that match the changeset. It describes a consolidation of tests, which is the main change, but it does not say what was removed or merged. It is clear enough for a teammate scanning history.

Full details: Description check

Explanation

The description follows the template's main sections in substance. It has a Changes section and a Verification section, and it gives a clear summary of the four test changes. It omits the ELI5, Visual Proof, Risk level, Linked Issue, and Testing checklist content. The author does not state a risk level or a backout plan. The Linked Issue is absent, and the template says outside contributors must link an issue. The Testing section is not filled in with platforms tested. The description is largely useful but incomplete against the template.

Resolution

Add the ELI5 summary and a plain before-and-after for the user-visible behavior. Add a Risk section with a level (Low, Medium, or High) and a backout plan. Fill in the Linked Issue line with an issue reference, or state that the PR is by a maintainer and uses a pre-existing issue. Mark the Visual Proof section N/A with a reason, since the change is test-only. Complete the Testing section with the steps taken and the platforms used. Fill in the Review and Agent skill upstream boundary checkboxes, and the AI Disclosure section if it applies.

  • 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: 7fda3456-c924-4cd1-9de0-1b4224cf70c7
Commits

Reviewing files that changed from the base of the PR and between 7bb43ff and 4a70428.

Files selected for processing: 7

  • src/main/claude-usage/transcript-file-discovery-errors.test.ts
  • src/main/codex-usage/session-file-discovery-errors.test.ts
  • src/main/native-chat/agent-session-journal/journal-domain-rewind-target.test.ts
  • src/main/native-chat/agent-session-journal/journal-generation-read.test.ts
  • src/main/zcode/interactive-capability.test.ts
  • src/renderer/src/components/bots/items/BotItemPane.test.tsx
  • src/renderer/src/components/bots/items/bot-item-comment-typing.test.tsx
Files with no reviewable changes: 2

  • src/main/native-chat/agent-session-journal/journal-domain-rewind-target.test.ts
  • src/renderer/src/components/bots/items/bot-item-comment-typing.test.tsx

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

@OrcaWin
OrcaWin merged commit b364b59 into main Nov 20, 2026
42 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