mirror of
https://github.com/fleetdm/fleet
synced 2026-05-15 04:58:25 +00:00
For #25615 The actual fix is these two lines, where we only delete the command from the queue for the specific host we're processing: ``` const dequeueCommandsStmt = `DELETE FROM windows_mdm_command_queue WHERE enrollment_id = ? AND command_uuid IN (?)` stmt, params, err = sqlx.In(dequeueCommandsStmt, enrolledDevice.ID, matchingUUIDs) ``` Everything else is tests, cleanup, refactoring for readability. # Checklist for submitter - [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/Committing-Changes.md#changes-files) for more information. - [x] Added/updated automated tests - [x] A detailed QA plan exists on the associated ticket (if it isn't there, work with the product group's QA engineer to add it) - [x] Manual QA for all new/changed functionality |
||
|---|---|---|
| .. | ||
| apple | ||
| assets | ||
| crypto | ||
| cryptoutil | ||
| internal/commonmdm | ||
| lifecycle | ||
| linux | ||
| maintainedapps | ||
| microsoft | ||
| nanodep | ||
| nanomdm | ||
| scep | ||
| mdm.go | ||
| mdm_test.go | ||