Revert "Partial revert of #38785 work-in-progress (#44061)" - #44285
Conversation
This reverts commit 5b82531.
There was a problem hiding this comment.
Claude Code Review
This repository is configured for manual code reviews. Comment @claude review to trigger a review and subscribe this PR to future pushes, or @claude review once for a one-time review.
Tip: disable this comment in your organization's Code Review settings.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
WalkthroughThe changes introduce a new Possibly related PRs
🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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 |
There was a problem hiding this comment.
Pull request overview
Re-enables/adjusts Windows “cancel setup experience if software fails” behavior by updating the setup experience service logic to treat Windows similarly to macOS, and adds coverage to validate correct config-field selection.
Changes:
- Update
isAllSetupExperienceSoftwareRequiredto gate behavior to macOS/Windows and read the correct config field for Windows (RequireAllSoftwareWindows) vs macOS. - Update cancellation logic to allow Windows hosts to trigger cancellation of pending setup experience steps.
- Add unit tests covering global/team config selection for macOS vs Windows and non-supported platforms, plus a changelog entry.
Reviewed changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| server/service/setup_experience.go | Gates cancel-on-failure behavior to darwin/windows and reads the appropriate per-platform config field; allows Windows cancellation flow. |
| server/service/setup_experience_test.go | Adds unit tests verifying macOS vs Windows config selection (global vs team) and unsupported platform behavior. |
| changes/38785-windows-setup-experience-cancel | Adds a release-note entry for require_all_software_windows. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #44285 +/- ##
=======================================
Coverage 66.77% 66.78%
=======================================
Files 2630 2630
Lines 211248 211301 +53
Branches 9428 9428
=======================================
+ Hits 141071 141127 +56
+ Misses 57354 57351 -3
Partials 12823 12823
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This reverts commit 5b82531.
Related issue: Resolves #38785
Summary by CodeRabbit
Release Notes
New Features
Tests