Skip to content

Split hosted review creation checks - #17152

Merged
nwparker merged 21 commits into
mainfrom
ra/max-lines-bottom-9-hosted-review-creation
Aug 30, 2026
Merged

nwparker merged 21 commits into
mainfrom
ra/max-lines-bottom-9-hosted-review-creation

Conversation

@nwparker

@nwparker nwparker commented Aug 29, 2026 •

Copy link
Copy Markdown
Contributor
Files Added Deleted Net
Test 0 0 0 0
Prod 5 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​432 $\color{#cf222e}{\Huge{\mathbf{−}}}$​409 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​23

Summary

  • extract execution-host Git state checks without changing local or SSH routing
  • extract provider authentication/copy for GitHub, GitLab, Azure DevOps, Gitea, and Bitbucket
  • extract blocked-result mapping and remove the resolved max-lines baseline entry

Validation

  • pnpm tc
  • pnpm tc:node
  • pnpm run check:code-quality:changed
  • pnpm check:max-lines-ratchet
  • pnpm test src/main/source-control/hosted-review-creation.test.ts src/main/source-control/hosted-review-creation-eligibility.test.ts src/main/source-control/hosted-review-creation-gitlab-self-hosted.test.ts src/main/source-control/hosted-review-creation-shared-symlinks.test.ts

Stacked on #17151.

@greptile-apps

greptile-apps Bot commented Aug 29, 2026 •

Copy link
Copy Markdown

Greptile Summary

The PR splits hosted-review creation checks into focused modules without changing the public creation and eligibility API.

  • Moves execution-host Git state checks into hosted-review-creation-git-state.ts.
  • Moves provider authentication and provider-specific copy into hosted-review-creation-provider.ts.
  • Moves blocked eligibility result mapping into hosted-review-creation-blocking.ts.
  • Removes the now-resolved max-lines baseline entry.

Confidence Score: 5/5

The PR appears safe to merge.

No blocking failure remains.

Important Files Changed

Filename Overview
src/main/source-control/hosted-review-creation.ts Retains the eligibility and creation orchestration while importing the extracted checks through an unchanged public API.
src/main/source-control/hosted-review-creation-git-state.ts Extracts the existing branch, worktree, upstream, base-ref, and execution-host Git checks without an identified semantic change.
src/main/source-control/hosted-review-creation-provider.ts Extracts existing provider authentication and provider-specific review copy without an identified semantic change.
src/main/source-control/hosted-review-creation-blocking.ts Extracts existing eligibility-to-error mapping without an identified semantic change.
config/max-lines-baseline.txt Removes the obsolete oversized-file exception after splitting the implementation.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart LR
  Caller[Hosted review caller] --> Main[hosted-review-creation.ts]
  Main --> GitState[hosted-review-creation-git-state.ts]
  Main --> Provider[hosted-review-creation-provider.ts]
  Main --> Blocking[hosted-review-creation-blocking.ts]
  Blocking --> Provider
  GitState --> Host{Execution host}
  Host -->|Local or WSL| LocalGit[Local Git execution]
  Host -->|SSH| RemoteGit[SSH Git provider]
  Main --> Eligibility[Eligibility and create preflight]
Loading

Reviews (3): Last reviewed commit: "Merge remote-tracking branch 'origin/mai..." | Re-trigger Greptile

@nwparker
nwparker changed the base branch from ra/max-lines-bottom-8-attach-services to main August 30, 2026 03:08
@nwparker
nwparker merged commit 8ff8e8a into main Aug 30, 2026
4 checks passed
@coderabbitai

coderabbitai Bot commented Aug 30, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

Next included review available in 48 seconds.

View limit details

Limit details: You’ve used all 10 included reviews currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 9b659290-6699-4e70-a533-4b7f70680e99

📥 Commits

Reviewing files that changed from the base of the PR and between ecee14b and a1dd523.

📒 Files selected for processing (5)
  • config/max-lines-baseline.txt
  • src/main/source-control/hosted-review-creation-blocking.ts
  • src/main/source-control/hosted-review-creation-git-state.ts
  • src/main/source-control/hosted-review-creation-provider.ts
  • src/main/source-control/hosted-review-creation.ts

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.

enrick-dev pushed a commit to enrick-dev/orca that referenced this pull request Oct 15, 2026
* Split speech session lifecycle

* Split terminal output scheduler pipeline

* Split mobile browser pane modules

* Prune resolved max-lines suppressions

* Split pane tree equalization logic

* Extract mobile troubleshoot screen styles

* Split external automation manager

* Split main window service attachments

* Split hosted review creation checks

* Fix F3-speech for stablyai#17123

* Fix F1-cycle for stablyai#17131
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