You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
THROWAWAY — do not merge: internal WSL mover build - #35308
Throwaway build PR for an internal test install (main 8866280 plus the internal-build guard and unpacked-app upload). It will be closed without merging once the build artifacts are downloaded.
The reason will be displayed to describe this comment to others. Learn more.
Uninstall cleanup is blocked
When a default profile has recorded WSL holders, NSIS launches Orca.exe --orca-uninstall-release-wsl-holders without --user-data-dir. The new guard shows the launcher error and exits before runWslHolderUninstallPreflight() can run. Uninstall waits for the dialog, and the recorded WSL holders stay running.
The Windows packaging workflow removes the preflight dependency from package_windows and uploads dist/win-unpacked as the orca-win-unpacked artifact for five days. Packaged Windows startup now requires --user-data-dir or ORCA_E2E_USER_DATA_DIR. If neither is present, the app displays an error and exits with code 1. The existing WSL holder-uninstall and main-process preflight checks run only when the startup guard passes.
Priority: Low
Merge Risk: Low · up to 51ee0
The packaged build can start without the required isolated profile when given an empty user-data-dir argument; validate the value before merging.
Pre-merge checks: 3 · 1 · 1
Failed checks: 1 warning · 1 inconclusive
Check name
Status
Explanation
Resolution
Description check
The description has the orca-pr-loc block and a short note. It says this is a throwaway build for an internal test install and that it will be closed without merging. It is missing most required templ…
Fill in the template sections. Describe the before and after behavior of the packaged Windows startup check and the new orca-win-unpacked artifact upload. Explain the mechanism and why the guard is needed. Add a Linked Issue or state that t…
Title check
The title says the PR is a throwaway, do-not-merge build for an internal WSL mover. It names no real code change. The changeset adds a packaged-Windows check for --user-data-dir and uploads dist/win-u…
Replace the title with a short, specific summary of the main change. For example: "Require --user-data-dir on packaged Windows builds and upload unpacked app artifact." If the PR is only a throwaway test build, keep the do-not-merge note in…
Passed checks: 3 passed
Check name
Status
Explanation
Docstring Coverage
No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
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 with cyclomatic complexity of at least 2. 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: Description check
Explanation
The description has the orca-pr-loc block and a short note. It says this is a throwaway build for an internal test install and that it will be closed without merging. It is missing most required template sections: ELI5, What Changed, Why, Linked Issue, Visual Proof, Testing, AI Disclosure (if applicable), Review, the agent skill upstream boundary checkbox, Notes, and the checklist. It also does not describe the --user-data-dir guard or the artifact upload in terms of user-visible behavior.
Resolution
Fill in the template sections. Describe the before and after behavior of the packaged Windows startup check and the new orca-win-unpacked artifact upload. Explain the mechanism and why the guard is needed. Add a Linked Issue or state that the PR is a throwaway with no issue. Mark Visual Proof as N/A with a reason, or attach before and after evidence. In Testing, list the platforms tested and the steps. Complete the checklist and the agent skill upstream boundary checkbox.
Full details: Title check
Explanation
The title says the PR is a throwaway, do-not-merge build for an internal WSL mover. It names no real code change. The changeset adds a packaged-Windows check for --user-data-dir and uploads dist/win-unpacked as an artifact. The title is vague about the technical change, and it signals that the PR is not meant to merge. It is not wholly off-topic, since it describes the internal build purpose.
Resolution
Replace the title with a short, specific summary of the main change. For example: "Require --user-data-dir on packaged Windows builds and upload unpacked app artifact." If the PR is only a throwaway test build, keep the do-not-merge note in the description or a draft state instead of the title.
Finishing Touches
📝 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.
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
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: b7c3aabe-d9b3-4c15-a566-f24c7081baf4
Commits
Reviewing files that changed from the base of the PR and between 8866280 and 51ee0c6.
Files selected for processing: 2
.github/workflows/pr.yml
src/main/index.ts
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 7 remain after this review.
hasSwitch('user-data-dir') accepts a present switch with an empty value. A direct packaged Windows launch with --user-data-dir= can therefore bypass the profile guard. Check the trimmed switch value instead.
This supports the blank-value case. The available source does not establish that every non-empty malformed path is invalid.
IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Throwaway build PR for an internal test install (main 8866280 plus the internal-build guard and unpacked-app upload). It will be closed without merging once the build artifacts are downloaded.