Repository navigation
Split hosted review creation checks - #17152
Conversation
Greptile SummaryThe PR splits hosted-review creation checks into focused modules without changing the public creation and eligibility API.
Confidence Score: 5/5The PR appears safe to merge. No blocking failure remains.
|
| 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]
Reviews (3): Last reviewed commit: "Merge remote-tracking branch 'origin/mai..." | Re-trigger Greptile
…om-3-mobile-browser
…-bottom-4-prune-resolved
…-bottom-5-pane-tree-ops
…bottom-6-mobile-troubleshoot
…lines-bottom-7-external-manager
…es-bottom-8-attach-services
…s-bottom-9-hosted-review-creation
…-hosted-review-creation # Conflicts: # config/max-lines-baseline.txt
|
Warning Review limit reachedNext included review available in 48 seconds. View limit detailsLimit 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. Review configuration: ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (5)
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. Comment |
* 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
Summary
Validation
pnpm tcpnpm tc:nodepnpm run check:code-quality:changedpnpm check:max-lines-ratchetpnpm 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.tsStacked on #17151.