Skip to content

test: clean-room rewording of the rail reopen case - #3601

Merged
velixio merged 2 commits into
mainfrom
cla/rewrite-rail-reopen
Oct 27, 2026
Merged

velixio merged 2 commits into
mainfrom
cla/rewrite-rail-reopen

Conversation

@velixio

@velixio velixio commented Oct 27, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Post-wave-7 token scan: the one rail-reopen.test.tsx case still used the original contributor's (#2208) test title and assertion layout. The implementer rewrote it in a location-only revision. Coverage is the same: the rail toggle goes away, the sidebar close control appears, and the saved layout records the library open with the clone context.

Testing

  • rail-reopen.test.tsx: 1 passed.

The test now checks that clicking the clone rail removes its compact toggle, shows the sidebar close control, and persists libraryOpen: true with expandedLibraryContext: '/clone:false'. The supplied results confirm the test contents but do not confirm the reported passing test. No specific merge risk is established.

@coderabbitai

coderabbitai Bot commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
Commits

Reviewing files that changed from the base of the PR and between d3bbc32 and f2b2d43.

Files selected for processing: 2
  • changelog.d/3601.license.md
  • electron/src/renderer/src/components/app-shell/rail-reopen.test.tsx

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

Walkthrough

The test now checks persisted layout state and pane controls after clicking the clone toggle. A changelog entry records that the test was rewritten from scratch.

Changes: Library pane reopen

Layer / File(s) Summary
Reopen state and controls
electron/src/renderer/src/components/app-shell/rail-reopen.test.tsx, changelog.d/3601.license.md
The test checks the persisted layout, visibility of the close button, and absence of the compact toggle. The changelog records the test rewrite.

Priority: Low

Estimated code review effort: 2 (Simple) | ~5 minutes

Change: Other

Suggested reviewers: debpalash

Merge Risk: Minimal · up to f2b2d

The test rewrite preserves its existing coverage, with no actionable risk introduced by this change. It is ready to merge after normal checks.

Pre-merge checks: Passed 7 · Failed 2

Failed Failed checks: 2 warnings

Check name Status Explanation Resolution
Title check Warning The title uses Conventional Commit syntax but omits the required scope. It includes no scope such as test(rail):, although the description contains issue references. Add a scope to the title, for example test(rail): clean-room rewording of the rail reopen case.
Description check Warning The description includes a summary and testing result, but it omits the required Changes, Type, Checklist, and release-cadence information. Add the missing template sections. Identify the change as a test change, list the modified test and changelog entry, and complete the applicable testing and checklist items.
Passed Passed checks: 7 passed
Check name Status Explanation
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Documentation-only edits and deletions within survi…
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.
Cross-Platform Default Parity Passed The pull request changes only rail-reopen.test.tsx assertions/test wording and adds a changelog entry. It does not change application defaults or runtime behavior, so no macOS, Windows, or Linux def…
I18n Completeness (21 Locales) Passed The pull request adds no new or changed t('...') call in Electron UI code. The test references existing clone.toggle_sidebar and common.close keys; both exist in all 21 renderer locale files. No…
Local-First Guarantee Passed The PR changes only rail-reopen.test.tsx and a changelog fragment. The added test uses local localStorage and setWorkspace; it adds no fetch, endpoint, account, API key, analytics, or cloud beha…
Backward Compatibility Passed The pull request changes only a test file and a changelog fragment. It does not change database schema, migrations, omnivoice_data/, engine installation, or model-weight handling. No manual migratio…
Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 1 files. (1 skipped: 1 unsupported.)

Full details: Cross-Platform Default Parity

Explanation

The pull request changes only rail-reopen.test.tsx assertions/test wording and adds a changelog entry. It does not change application defaults or runtime behavior, so no macOS, Windows, or Linux default-parity issue is introduced.

Full details: I18n Completeness (21 Locales)

Explanation

The pull request adds no new or changed t('...') call in Electron UI code. The test references existing clone.toggle_sidebar and common.close keys; both exist in all 21 renderer locale files. No hardcoded user-facing UI string was introduced.

Full details: Local-First Guarantee

Explanation

The PR changes only rail-reopen.test.tsx and a changelog fragment. The added test uses local localStorage and setWorkspace; it adds no fetch, endpoint, account, API key, analytics, or cloud behavior. The applicable gates require no new outbound calls and offline operation with prompts declined, with analytics consent-gated; no changed runtime code can violate those rules.

Full details: Backward Compatibility

Explanation

The pull request changes only a test file and a changelog fragment. It does not change database schema, migrations, omnivoice_data/, engine installation, or model-weight handling. No manual migration, engine reinstall, or model re-download is required.

  • 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.

@velixio
velixio merged commit 46337fb into main Oct 27, 2026
30 checks passed
@velixio
velixio deleted the cla/rewrite-rail-reopen branch October 27, 2026 20:37
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