Split PR creation into granular progress stages#1694
Conversation
- Show separate prepare, generate, and create PR phases - Update server and web progress mappings and tests
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
ApprovabilityVerdict: Approved This PR only changes progress labels shown during PR creation, splitting one stage into three more descriptive stages. No business logic is altered - tests and frontend logic are updated to match the new labels. Low risk UI/UX enhancement. You can customize Macroscope's approvability policy. Learn more. |
|
Caution Review failedAn error occurred during the review process. Please try again later. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Summary
Testing
Note
Low Risk
Low risk: changes are limited to progress event labeling/emission and UI stage mapping, with unit tests updated to enforce the new sequence.
Overview
PR creation progress is now reported as three explicit PR sub-stages instead of a single "Creating PR" stage:
Preparing PR...,Generating PR content..., andCreating GitHub pull request....On the server,
runPrStepnow accepts a progress emitter and emits additionalphase_startedevents around PR content generation and thegh pr createcall; the web UI’sbuildGitActionProgressStagesis updated to mirror these new labels forcreate_prandcommit_push_pr, with tests expanded/updated to validate the new stage order.Written by Cursor Bugbot for commit b429974. This will update automatically on new commits. Configure here.
Note
Split PR creation into three granular progress stages
Replaces the single
'Creating PR...'progress event with three sequential stages:'Preparing PR...','Generating PR content...', and'Creating GitHub pull request...'. The new stages are emitted fromrunPrStepin GitManager.ts and reflected inbuildGitActionProgressStagesin GitActionsControl.logic.ts forcreate_prandcommit_push_practions.Macroscope summarized b429974.