fleet/changes
Scott Gress 47ac964768
Don't validate software/profile labels in dry run mode (#28201)
For #28154

This PR fixes a bug where GitOps dry runs would fail when software
installers or profiles referenced labels that were created in the same
run. The issue is that GitOps utilizes the real APIs for batch
software/profile creation for validation, sending a `dryRun` flag to
prevent those APIs from actually writing data. In dry run mode, no
labels are actually created, so validation checks for "don't use labels
that don't exist" will always fail when new labels are referenced.
Recent updates to GitOps have given it the ability to validate the
labels itself, removing the need to use the API for this check.

I added a new test for this in the mdm profiles tests. The test suite
for software installers is a little more challenging to update for this
case, and since it's not a happy path test I'm not prioritizing it, but
will try to add one time permitting.
2025-04-17 08:39:24 -05:00
..
.keep Issue 1009 calculate diff software (#1305) 2021-07-08 13:57:43 -03:00
19235-microsoft-compliance-conditional-access UI: Conditional access - Microsoft Entra (#27982) 2025-04-15 13:55:07 -07:00
22941-recreate-deleted-idevice-from-mdm Bugfix: re-create deleted iOS/iPadOS host entries in Fleet if it checks in again via MDM (#27231) 2025-03-26 09:33:38 -04:00
23236-scim SCIM + host integration (#27880) 2025-04-08 09:35:06 -05:00
24087-app-names fix: change how macOS software names are calculated to avoid erroneous duplicates (#28037) 2025-04-11 19:19:07 -04:00
24209-windows-mdm-error-msg Update API message for Windows MDM not configured error (#28247) 2025-04-15 13:52:17 -05:00
25487-osquery-vmodule-flag Add vmodule flag to list of hidden osquery flags (#25789) 2025-03-27 11:05:00 -04:00
25700-luks-escrow-longtime Removed indicator for background LUKS validation (#28218) 2025-04-16 12:25:41 -04:00
25993-default-serial-number Check for invalid default serial number when fetching host details (#27470) 2025-03-26 16:23:50 -04:00
26366-update-sql-parser Update SQL parser to handle more modern syntax (#28211) 2025-04-16 10:10:52 -05:00
26695-add-host-id-to-fleet-enrolled-activity Add host id to fleet enrolled activity (#28068) 2025-04-10 13:50:14 -07:00
26713-update-to-go-1.24 Update to Go 1.24.1 (#27506) 2025-03-31 11:14:09 -05:00
27003-list-host-software Refactoring ListHostSoftware (#27490) 2025-04-10 17:29:15 -05:00
27235-update-apmhttp-package Update apmhttp to fix upload of software packages in Dogfood (#27929) 2025-04-08 10:28:31 -03:00
27275-windows-arm64 Orbit for Windows ARM64 (#27882) 2025-04-11 10:18:28 -04:00
27276-ability-to-add-labels-to-policies Add ability to target labels on policies (#27599) 2025-04-02 16:31:03 -05:00
27277-labels-for-policies-backend Custom targets for policies - backend (#27575) 2025-04-02 12:36:03 -04:00
27294-ui-gitops-carefully-apply A third and mysterious attempt at gitops ui mode (#27585) 2025-03-28 11:18:22 -04:00
27301-add-labels-to-policies-with-gitops Add GitOps for policy labels (#27781) 2025-04-04 09:46:51 -05:00
27326-os-platform-reset-bug Fleet UI: Fix platform resetting on pagination of OS table (#27896) 2025-04-07 09:45:45 -04:00
27409-add-cancel-upcoming-activity-endpoint Cancel upcoming activities: DB schema and backend (#27710) 2025-04-01 14:08:56 -04:00
27454-validation Full-stack: Make "Server url" validation conditions consistent across Fleet, update Web Address form validation and submission logic per Fleet best practices (frontend/docs/patterns.md) (#27455) 2025-03-27 13:56:38 -07:00
27475-fix-query-page-selection-clear Fx query page clearing selection after load (#28228) 2025-04-16 10:10:21 -05:00
27533-move-view-all-host-link Fleet UI: Move view all host link onto host count (#28042) 2025-04-10 09:14:28 -04:00
27909-hover-checkbox-radio Fleet UI: Added hover cursors to checkbox and radio components (#28113) 2025-04-16 13:29:08 -04:00
27986-table-improvements Fleet UI: Table improvements (tooltips, tab-ability) (#27986) 2025-04-10 15:42:10 -04:00
28154-fix-gitops-dry-run-labels Don't validate software/profile labels in dry run mode (#28201) 2025-04-17 08:39:24 -05:00
C10298-additional-stats Add statistic to measure ABM pending hosts (#28226) 2025-04-15 11:30:07 -04:00
issue-27283-host-details-idp Feat UI idp host details (#27730) 2025-04-04 15:46:22 +01:00
issue-27284-add-idp-section-to-integrations add new idp section on integrations page and show the users idp connection with fleet (#27566) 2025-03-28 11:23:07 +00:00
issue-27410-add-cancel-upcoming-host-activities-ui add cancel upcoming host activities in the UI (#27879) 2025-04-07 12:11:24 +01:00
issue-27775-fix-activity-date-tooltip Fix host upcoming activites showing wrong created at date in tooltip (#28242) 2025-04-16 10:17:48 +01:00