mirror of
https://github.com/fleetdm/fleet
synced 2026-05-24 09:28:54 +00:00
<!-- Add the related story/sub-task/bug number, like Resolves #123, or remove if NA --> **Related issue:** Resolves #43050 ## Testing - [x] QA'd all new/changed functionality manually Confirmed the traffic sequence with ngrok and DDM stats are as expected in the osquery-perf logs: ### Adding a new DDM * `DeclarativeManagement` command and Ack * `tokens` request * `declaration-items` request * `activation` for the DDM * `configuration` for the DDM * `tokens` request confirms changes settled * `status` request ### Remove/re-add DDM (no global change) * `DeclarativeManagement` command and Ack * `tokens` request ### Adding a second DDM * `DeclarativeManagement` command and Ack * `tokens` request * `declaration-items` request * `activation` for the new DDM only * `configuration` for the new DDM only * `tokens` request confirms changes settled * `status` request ### Removing a DDM * `DeclarativeManagement` command and Ack * `tokens` request * `declaration-items` request * `tokens` request * `status` request ### Remove all DDMs * `DeclarativeManagement` command and Ack * `tokens` request * `declaration-items` request * `tokens` request * `status` request --- State correctly updates on the host's profiles: <img width="1246" height="512" alt="image" src="https://github.com/user-attachments/assets/0d289d4e-1e9b-4283-aef0-fd1ab3ecb355" /> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Improved macOS Declarative Management sync: faster convergence, fetches only changed declarations, detects removals, and sends consolidated status updates. * **Monitoring** * Added metrics to track declaration token fetch success and error rates. <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|---|---|---|
| .. | ||
| stats.go | ||