fix: remove declarations that haven't been sent yet (#22993)

> Related issue: #22976

# Checklist for submitter

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

<!-- Note that API documentation changes are now addressed by the
product design team. -->

- [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] Input data is properly validated, `SELECT *` is avoided, SQL
injection is prevented (using placeholders for values in statements)
- [x] Added/updated tests
- [x] Manual QA for all new/changed functionality
This commit is contained in:
Jahziel Villasana-Espinoza
2024-10-18 15:16:58 -04:00
committed by GitHub
parent 65e374c85c
commit 050e771635
4 changed files with 43 additions and 7 deletions
+2
View File
@@ -0,0 +1,2 @@
- Fixes a bug where DDM declarations would remaing "pending" forever if they were deleted
from Fleet before being sent to hosts.