Don't delete Android agent when transferring teams. - #37517
Conversation
|
@coderabbitai full review |
✅ Actions performedFull review triggered. |
WalkthroughIntroduces helper functions and service methods for constructing Fleet Agent application policies in Android MDM. Factors out package info retrieval, policy construction, and per-host configuration assembly into reusable components. Refactors existing logic in Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes
Possibly related PRs
Suggested reviewers
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing touches
🧪 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 |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #37517 +/- ##
========================================
Coverage 65.92% 65.92%
========================================
Files 2357 2357
Lines 186680 186857 +177
Branches 7853 7853
========================================
+ Hits 123076 123194 +118
- Misses 52359 52407 +48
- Partials 11245 11256 +11
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:
|
<!-- 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)
<!-- 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)
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
For unreleased bug fixes in a release candidate, one of:
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.