Victor Lyuboslavsky and Copilot
65fcc132ae
Fixed a race where a host could silently revert to its previous team ( #44074 )
...
<!-- Add the related story/sub-task/bug number, like Resolves #123 , or
remove if NA -->
**Related issue:** Resolves #44071
Verified fix in loadtest.
# 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
- [x] QA'd all new/changed functionality manually
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **Bug Fixes**
* Fixed a race condition that could cause hosts to silently revert to a
previous team after an admin team transfer.
* Improved reliability of team-transfer handling to prevent unexpected
reversion during certificate/template transfers and device/profile
operations.
* **Tests**
* Added regression tests to ensure team assignments persist correctly
across host refreshes and related workflows.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-04-24 14:34:37 -05:00
..
2026-04-06 10:11:07 -05:00
2026-02-26 12:48:54 -06:00
2026-02-19 16:06:00 -06:00
2026-03-26 10:59:42 -03:00
2026-03-03 01:01:42 -06:00
2026-04-21 07:11:33 -04:00
2026-04-24 15:21:34 -03:00
2026-03-30 16:37:18 -05:00
2026-03-10 12:55:42 -05:00
2026-03-17 15:04:33 -04:00
2026-02-26 17:39:10 -06:00
2026-03-03 01:01:42 -06:00
2026-04-10 11:12:38 -04:00
2026-04-24 13:09:31 -05:00
2026-04-24 13:09:31 -05:00
2026-03-26 12:12:41 -06:00
2026-04-14 09:39:26 -05:00
2026-04-20 09:14:52 -04:00
2026-04-22 09:05:07 -04:00
2026-04-22 09:05:07 -04:00
2026-03-11 13:42:33 -03:00
2026-03-11 13:42:33 -03:00
2026-03-16 15:51:28 -05:00
2026-04-22 13:08:59 -04:00
2026-04-22 13:08:59 -04:00
2026-03-13 08:38:55 -05:00
2026-03-13 08:38:55 -05:00
2026-03-16 15:51:28 -05:00
2026-03-26 10:59:42 -03:00
2026-04-08 11:07:06 -03:00
2026-03-26 10:59:42 -03:00
2026-03-26 10:59:42 -03:00
2026-04-08 11:14:19 -06:00
2026-04-07 11:04:08 -03:00
2026-03-26 10:59:42 -03:00
2026-04-13 16:02:23 -03:00
2026-03-26 10:59:42 -03:00
2026-03-26 15:52:28 -04:00
2026-04-06 09:59:32 -05:00
2026-03-13 08:38:55 -05:00
2026-04-02 17:22:14 -04:00
2026-03-26 10:59:42 -03:00
2026-04-16 11:11:39 -04:00
2026-04-24 10:46:45 -05:00
2026-02-26 17:40:46 -06:00
2026-02-25 13:54:45 -06:00
2026-02-26 17:40:46 -06:00
2026-03-16 16:09:43 -05:00
2026-02-26 17:40:46 -06:00
2026-02-26 17:40:46 -06:00
2026-03-26 10:59:42 -03:00
2026-04-03 09:58:03 -05:00
2026-03-12 18:06:54 -04:00
2026-04-21 07:11:33 -04:00
2026-03-12 18:06:54 -04:00
2026-03-12 18:06:54 -04:00
2026-04-08 09:56:38 -04:00
2026-04-08 09:56:38 -04:00
2026-02-25 14:11:03 -06:00
2026-02-25 22:20:35 -06:00
2026-02-26 17:40:46 -06:00
2026-04-22 09:05:07 -04:00
2026-03-26 07:04:18 -04:00
2026-04-24 14:34:37 -05:00
2026-04-22 09:05:07 -04:00
2026-02-25 14:11:03 -06:00
2026-04-15 07:36:45 -05:00
2026-04-08 11:14:19 -06:00
2026-03-30 16:37:18 -05:00
2026-04-21 07:11:33 -04:00
2026-04-24 13:09:31 -05:00
2026-03-26 10:59:42 -03:00
2026-03-08 21:54:06 -05:00
2026-04-13 16:02:23 -03:00
2026-04-13 13:30:41 -06:00
2026-04-20 14:05:21 -04:00
2026-04-02 15:56:31 -05:00
2026-04-13 12:17:23 -05:00
2026-03-30 16:37:18 -05:00
2026-03-30 16:37:18 -05:00
2026-04-14 09:39:26 -05:00
2026-04-23 15:05:27 -04:00
2026-02-28 05:52:21 -06:00
2026-04-08 11:07:06 -03:00
2026-04-01 15:00:08 -03:00
2026-04-22 15:07:50 -04:00
2026-03-26 10:59:42 -03:00
2026-04-08 11:07:06 -03:00
2026-02-26 07:16:44 -06:00
2026-03-18 13:58:58 -05:00
2026-03-17 09:59:03 -05:00
2026-03-18 14:49:08 -04:00
2026-02-28 05:52:21 -06:00
2026-04-22 17:53:59 -05:00
2026-04-23 16:44:23 +01:00
2026-03-10 17:15:09 +00:00
2026-04-21 16:52:36 -05:00
2026-04-22 17:53:59 -05:00
2026-04-13 12:17:23 -05:00
2026-04-22 12:00:58 -04:00
2026-04-22 12:00:58 -04:00
2026-04-24 15:21:34 -03:00
2026-04-06 11:51:39 -05:00
2026-02-25 14:11:03 -06:00
2026-03-09 16:54:53 -04:00
2026-04-13 16:02:23 -03:00
2026-04-13 16:02:23 -03:00
2026-02-25 14:11:03 -06:00
2026-02-25 13:54:45 -06:00
2026-02-25 14:11:03 -06:00
2026-04-03 15:59:32 -05:00
2026-02-26 17:40:46 -06:00
2026-02-26 17:40:46 -06:00
2026-02-19 16:06:00 -06:00
2026-04-03 07:13:56 -05:00
2026-03-10 10:15:01 -03:00
2026-03-24 12:17:21 +00:00
2026-04-24 13:36:15 -05:00
2026-04-24 13:36:15 -05:00
2026-04-21 17:06:23 -05:00
2026-03-30 15:16:35 -03:00
2026-03-18 13:27:53 -04:00
2026-03-13 08:38:55 -05:00
2026-04-06 12:36:47 -04:00
2026-03-30 21:33:21 -07:00
2026-03-11 13:42:33 -03:00
2026-03-13 16:47:09 -04:00
2026-04-07 11:04:08 -03:00
2026-02-25 14:11:03 -06:00
2026-04-13 16:02:23 -03:00
2026-04-23 16:44:09 -04:00
2026-04-07 15:23:59 -05:00
2026-04-24 09:49:26 -04:00
2026-03-20 16:26:14 -04:00
2026-03-20 16:26:14 -04:00
2026-04-16 11:11:39 -04:00
2026-04-16 11:11:39 -04:00
2026-03-31 09:34:12 -04:00
2026-03-19 13:02:42 -04:00
2026-02-25 13:54:45 -06:00
2026-03-12 15:36:44 -05:00
2026-04-02 13:18:15 -05:00