Skip to content

Don't delete Android agent when transferring teams. (#37517) - #37590

Merged
getvictor merged 1 commit into
rc-minor-fleet-v4.79.0from
victor/37440-android-team-transfer
Dec 20, 2025
Merged

Don't delete Android agent when transferring teams. (#37517)#37590
getvictor merged 1 commit into
rc-minor-fleet-v4.79.0from
victor/37440-android-team-transfer

Conversation

@getvictor

Copy link
Copy Markdown
Member

Related issue: Resolves #37440

Note, from manual testing, when moving host to a new team, it does NOT get the certs for the new team. We could fix this as part of this fix or in a separate PR.

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

  • New Features
    • Added Fleet Agent integration for Android MDM devices
  • Fleet Agent policies are now automatically constructed and applied to managed Android devices
  • Fleet Agent configuration includes server URL, enrollment secrets, and certificate templates

✏️ Tip: You can customize this high-level summary in your review settings.

(cherry picked from commit 5000723)

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

Note, from manual testing, when moving host to a new team, it does NOT
get the certs for the new team. We could fix this as part of this fix or
in a separate PR.

## 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

* **New Features**
  * Added Fleet Agent integration for Android MDM devices
* Fleet Agent policies are now automatically constructed and applied to
managed Android devices
* Fleet Agent configuration includes server URL, enrollment secrets, and
certificate templates

<sub>✏️ Tip: You can customize this high-level summary in your review
settings.</sub>

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

(cherry picked from commit 5000723)
@getvictor
getvictor marked this pull request as ready for review December 20, 2025 00:10
@getvictor
getvictor requested a review from a team as a code owner December 20, 2025 00:10
@getvictor
getvictor merged commit 1d97865 into rc-minor-fleet-v4.79.0 Dec 20, 2025
32 checks passed
@getvictor
getvictor deleted the victor/37440-android-team-transfer branch December 20, 2025 00:22
@codecov

codecov Bot commented Dec 20, 2025

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 46.98795% with 44 lines in your changes missing coverage. Please review.
✅ Project coverage is 65.93%. Comparing base (f97284c) to head (4f19557).
⚠️ Report is 1 commits behind head on rc-minor-fleet-v4.79.0.

Files with missing lines Patch % Lines
server/mdm/android/service/service.go 47.43% 36 Missing and 5 partials ⚠️
server/worker/software_worker.go 40.00% 1 Missing and 2 partials ⚠️
Additional details and impacted files
@@                    Coverage Diff                     @@
##           rc-minor-fleet-v4.79.0   #37590      +/-   ##
==========================================================
- Coverage                   65.94%   65.93%   -0.01%     
==========================================================
  Files                        2356     2356              
  Lines                      186904   186959      +55     
  Branches                     7968     7968              
==========================================================
+ Hits                       123250   123269      +19     
- Misses                      52396    52426      +30     
- Partials                    11258    11264       +6     
Flag Coverage Δ
backend 67.75% <46.98%> (-0.02%) ⬇️

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.

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.

2 participants