Skip to content

Updated Windows setup experience to not cancel for BYOD. (#45994) - #46028

Merged
getvictor merged 1 commit into
rc-minor-fleet-v4.86.0from
victor/45946-cherry-pick
May 21, 2026
Merged

Updated Windows setup experience to not cancel for BYOD. (#45994)#46028
getvictor merged 1 commit into
rc-minor-fleet-v4.86.0from
victor/45946-cherry-pick

Conversation

@getvictor

Copy link
Copy Markdown
Member

Related issue: Resolves #45946

Unreleased bug.

Checklist for submitter

Testing

  • Added/updated automated tests
  • QA'd all new/changed functionality manually

For unreleased bug fixes in a release candidate, one of:

  • Confirmed that the fix is not expected to adversely impact load test results

Summary by CodeRabbit

Bug Fixes

  • Enhanced Windows setup experience cancellation to accurately validate device enrollment status before processing cancellations
  • Improved device identification reliability during concurrent operations through robust fallback mechanisms that reference recent enrollment records when initial lookups fail

Review Change Stack

(cherry picked from commit f9c9ad0)

<!-- Add the related story/sub-task/bug number, like Resolves #123, or
remove if NA -->
**Related issue:** Resolves #45946

Unreleased bug.

# Checklist for submitter

## Testing

- [x] Added/updated automated tests
- [x] QA'd all new/changed functionality manually

For unreleased bug fixes in a release candidate, one of:

- [x] Confirmed that the fix is not expected to adversely impact load
test results

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

**Bug Fixes**
- Enhanced Windows setup experience cancellation to accurately validate
device enrollment status before processing cancellations
- Improved device identification reliability during concurrent
operations through robust fallback mechanisms that reference recent
enrollment records when initial lookups fail

<!-- review_stack_entry_start -->

[![Review Change
Stack](https://storage.googleapis.com/coderabbit_public_assets/review-stack-in-coderabbit-ui.svg)](https://app.coderabbit.ai/change-stack/fleetdm/fleet/pull/45994?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack)

<!-- review_stack_entry_end -->

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

(cherry picked from commit f9c9ad0)
@getvictor
getvictor marked this pull request as ready for review May 21, 2026 21:56
@getvictor
getvictor requested a review from a team as a code owner May 21, 2026 21:56

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@codecov

codecov Bot commented May 21, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 77.77778% with 2 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (rc-minor-fleet-v4.86.0@87a44aa). Learn more about missing BASE report.

Files with missing lines Patch % Lines
server/service/setup_experience.go 77.77% 2 Missing ⚠️
Additional details and impacted files
@@                    Coverage Diff                    @@
##             rc-minor-fleet-v4.86.0   #46028   +/-   ##
=========================================================
  Coverage                          ?   66.78%           
=========================================================
  Files                             ?     2748           
  Lines                             ?   219590           
  Branches                          ?    10785           
=========================================================
  Hits                              ?   146656           
  Misses                            ?    59679           
  Partials                          ?    13255           
Flag Coverage Δ
backend 68.60% <77.77%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@getvictor
getvictor merged commit 5ec4428 into rc-minor-fleet-v4.86.0 May 21, 2026
35 checks passed
@getvictor
getvictor deleted the victor/45946-cherry-pick branch May 21, 2026 22:38
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.

Failed setup experience activity shows up for manually enrolled hosts when software installation fails

2 participants