Skip to content

Cherry-pick: Clean up setup experience cancellation behavior#43528

Merged
iansltx merged 1 commit into
rc-minor-fleet-v4.84.0from
cherry-pick-34288-setup-experience
Apr 14, 2026
Merged

Cherry-pick: Clean up setup experience cancellation behavior#43528
iansltx merged 1 commit into
rc-minor-fleet-v4.84.0from
cherry-pick-34288-setup-experience

Conversation

@iansltx
Copy link
Copy Markdown
Contributor

@iansltx iansltx commented Apr 14, 2026

Merged into main in #43437.

Conflicts resolved in activities.go and setup_experience.go, with the latter due to Windows setup experience cancellation landing in main for 4.85.

Fixes #34288.

# Checklist for submitter

If some of the following don't apply, delete the relevant line.

- [x] Changes file added for user-visible changes in `changes/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.
See [Changes
files](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/guides/committing-changes.md#changes-files)
for more information.

## Testing

- [x] Added/updated automated tests

- [ ] QA'd all new/changed functionality manually

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

* **New Features**
* Setup experience cancellations now create explicit cancellation
activities for skipped/failed software and VPP app installs, plus a new
"Canceled setup experience" activity type and a from_setup_experience
flag. Activity text and host activity views now indicate "during setup
experience" when applicable.
* **Tests**
* Added and updated tests for cancellation activity creation, VPP
license-failure handling, and WasFromAutomation/from_setup_experience
behaviors.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
# Conflicts:
#	server/fleet/activities.go
#	server/service/setup_experience.go
@iansltx iansltx requested review from a team as code owners April 14, 2026 15:34
Copy link
Copy Markdown

@claude claude Bot left a comment

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
Copy link
Copy Markdown

codecov Bot commented Apr 14, 2026

Codecov Report

❌ Patch coverage is 55.00000% with 45 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (rc-minor-fleet-v4.84.0@4d54e32). Learn more about missing BASE report.

Files with missing lines Patch % Lines
...vityFeed/GlobalActivityItem/GlobalActivityItem.tsx 11.11% 8 Missing ⚠️
ee/server/service/orbit.go 58.82% 4 Missing and 3 partials ⚠️
ee/server/service/setup_experience.go 57.14% 3 Missing and 3 partials ⚠️
server/service/setup_experience.go 68.42% 2 Missing and 4 partials ⚠️
...tivityItem/CanceledSetupExperienceActivityItem.tsx 40.00% 3 Missing ⚠️
...wareActivityItem/InstalledSoftwareActivityItem.tsx 0.00% 3 Missing ⚠️
...ms/RanScriptActivityItem/RanScriptActivityItem.tsx 0.00% 3 Missing ⚠️
server/service/orbit.go 0.00% 0 Missing and 2 partials ⚠️
server/worker/apple_mdm.go 83.33% 1 Missing and 1 partial ⚠️
cmd/fleet/cron.go 0.00% 1 Missing ⚠️
... and 4 more
Additional details and impacted files
@@                    Coverage Diff                    @@
##             rc-minor-fleet-v4.84.0   #43528   +/-   ##
=========================================================
  Coverage                          ?   66.85%           
=========================================================
  Files                             ?     2580           
  Lines                             ?   207157           
  Branches                          ?     9158           
=========================================================
  Hits                              ?   138491           
  Misses                            ?    56059           
  Partials                          ?    12607           
Flag Coverage Δ
backend 68.62% <64.10%> (?)
frontend 54.77% <22.72%> (?)

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.

Copy link
Copy Markdown
Member

@RachelElysia RachelElysia left a comment

Choose a reason for hiding this comment

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

FE Cherrypick ✅

@iansltx iansltx merged commit da2080b into rc-minor-fleet-v4.84.0 Apr 14, 2026
50 checks passed
@iansltx iansltx deleted the cherry-pick-34288-setup-experience branch April 14, 2026 19:59
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.

3 participants