Skip to content

Fix panic in GetClientConfig with null agent options config (#47388)#48584

Merged
lucasmrod merged 2 commits into
mainfrom
fix-47388-getclientconfig-nil-map
Jul 2, 2026
Merged

Fix panic in GetClientConfig with null agent options config (#47388)#48584
lucasmrod merged 2 commits into
mainfrom
fix-47388-getclientconfig-nil-map

Conversation

@lucasmrod

@lucasmrod lucasmrod commented Jul 1, 2026

Copy link
Copy Markdown
Member

Related issue: Resolves #47388

I'll be doing some separate research on how agent options ends up as null in the first place.
Obviously you can set config: in the agent options and hit Save and the issue is reproduced but seems unlikely (one theory is GitOps doing some overriding).

Checklist for submitter

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

Summary

GetClientConfig (server/service/osquery.go) panicked with assignment to entry in nil map (returning 5XX on /api/v1/osquery/config) when a host's resolved agent options had a null config.

Root cause: config is initialized as an empty map, but json.Unmarshal([]byte("null"), &config) silently sets the map to nil (no error). When the host also had packs or scheduled queries, the later config["packs"] = ... assignment panicked.

This adds a nil-guard that re-initializes the map after the unmarshal.

Testing

  • Added/updated automated tests

Added TestGetClientConfigNullConfig, which sets {"config":null} agent options plus a pack and asserts no panic/error and that packs still serialize correctly.

  • QA'd all new/changed functionality manually

Summary by CodeRabbit

  • Bug Fixes
    • Fixed a server crash that could occur when generating osquery configuration for hosts with a null agent config.
    • Improved config handling so hosts with packs and scheduled queries now receive their configuration reliably, even when the base config is empty.
    • Added regression coverage to help prevent this issue from returning.

@lucasmrod lucasmrod requested a review from a team as a code owner July 1, 2026 18:09
Copilot AI review requested due to automatic review settings July 1, 2026 18:09

@claude claude Bot left a comment

Copy link
Copy Markdown

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.

@coderabbitai

coderabbitai Bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Walkthrough

This change fixes a server panic in GetClientConfig that occurred when agent options contained a null config value. The code now re-initializes config to an empty map after JSON unmarshalling if it is nil, preventing nil map writes later in the function. A regression test covers the null-config case, and the changelog records the fix.

Changes

Area Change
server/service/osquery.go Added a nil check after unmarshalling config and re-created the map when needed
server/service/osquery_test.go Added TestGetClientConfigNullConfig regression test
changes/47388-getclientconfig-nil-map-panic Added changelog note

Sequence Diagram(s)

Not applicable.

Related issues: #47388

Suggested labels: bug, server

Suggested reviewers: fleetdm/server-team

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely describes the main fix: preventing a GetClientConfig panic when agent options config is null.
Linked Issues check ✅ Passed The PR addresses #47388 by guarding against nil config after unmarshal and adds coverage for packs and scheduled queries.
Out of Scope Changes check ✅ Passed The changes stay focused on the reported GetClientConfig nil-map panic and its regression test, with no obvious unrelated edits.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Description check ✅ Passed The description matches the template with a related issue, checklist items, summary, and testing details, and clearly explains the fix and verification.
✨ 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 fix-47388-getclientconfig-nil-map

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.

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

Fixes a server panic in Service.GetClientConfig when resolved agent options contain a JSON null config, causing json.Unmarshal to set the target map to nil and later assignments (e.g. adding packs) to panic.

Changes:

  • Add a post-unmarshal nil guard to re-initialize the config map in GetClientConfig.
  • Add a regression test covering {"config":null} agent options plus packs/scheduled queries.
  • Add a user-visible changes entry (content excluded by policy).

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.

File Description
server/service/osquery.go Re-initializes config after unmarshalling when null would otherwise nil out the map.
server/service/osquery_test.go Adds regression coverage ensuring no panic and correct packs serialization with a null agent-options config.
changes/47388-getclientconfig-nil-map-panic Release-note entry for the bugfix (diff content excluded by policy).
Files excluded by content exclusion policy (1)
  • changes/47388-getclientconfig-nil-map-panic

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

Comment thread server/service/osquery_test.go
@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: TestGitOpsFullGlobal

Failure summary:

The action failed because Go tests in ./cmd/fleetctl/... did not pass (make .run-go-tests exited
with error at Makefile:302, causing make test-go to fail at Makefile:417).
Specifically,
TestGitOpsFullGlobal failed in both subtests:
- TestGitOpsFullGlobal/useDeprecatedKeys=false
(reported from /cmd/fleetctl/fleetctl/gitops_test.go:2244 via
/cmd/fleetctl/fleetctl/testing_utils_test.go:20)
- TestGitOpsFullGlobal/useDeprecatedKeys=true (same
locations)
The underlying error was an unexpected API validation failure while applying custom
settings:
- POST /api/latest/fleet/mdm/profiles/batch returned 422 Validation Failed: cannot set
custom settings: Windows MDM isn't turned on

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

985:  �[36;1mattempt=1�[0m
986:  �[36;1m�[0m
987:  �[36;1mwhile [ $attempt -le $max_attempts ]; do�[0m
988:  �[36;1m  echo "Attempt $attempt of $max_attempts"�[0m
989:  �[36;1m�[0m
990:  �[36;1m  # Try to connect to MySQL�[0m
991:  �[36;1m  if wait_for_mysql "mysql_test"; then�[0m
992:  �[36;1m    # If MySQL is ready, try to connect to MySQL replica�[0m
993:  �[36;1m    if wait_for_mysql "mysql_replica_test"; then�[0m
994:  �[36;1m      # Both are ready, we're done�[0m
995:  �[36;1m      echo "All MySQL connections successful"�[0m
996:  �[36;1m      exit 0�[0m
997:  �[36;1m    fi�[0m
998:  �[36;1m  fi�[0m
999:  �[36;1m�[0m
1000:  �[36;1m  # If we get here, at least one connection failed�[0m
1001:  �[36;1m  echo "Failed to connect to MySQL on attempt $attempt"�[0m
1002:  �[36;1m�[0m
1003:  �[36;1m  if [ $attempt -lt $max_attempts ]; then�[0m
1004:  �[36;1m    echo "Restarting containers and trying again..."�[0m
1005:  �[36;1m    restart_containers�[0m
1006:  �[36;1m  else�[0m
1007:  �[36;1m    echo "Maximum attempts reached. Failing the job."�[0m
1008:  �[36;1m    exit 1�[0m
...

1161:  ARTIFACT_PREFIX: fleetctl-mysql8.0.44
1162:  GOTOOLCHAIN: local
1163:  FLEET_PREVIEW_TAG: dev
1164:  ##[endgroup]
1165:  make .run-go-tests PKG_TO_TEST="./cmd/fleetctl/..."
1166:  make[1]: Entering directory '/home/runner/work/fleet/fleet'
1167:  Running Go tests with gotestsum:
1168:  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/... 
1169:  github.com/fleetdm/fleet/v4/cmd/fleetctl:
1170:  github.com/fleetdm/fleet/v4/cmd/fleetctl/integrationtest:
1171:  github.com/fleetdm/fleet/v4/cmd/fleetctl/fleetctl/testing_utils:
1172:  github.com/fleetdm/fleet/v4/cmd/fleetctl/fleetctl/fleetctltest:
1173:  github.com/fleetdm/fleet/v4/cmd/fleetctl/fleetctl/goquerycmd:
1174:  github.com/fleetdm/fleet/v4/cmd/fleetctl/integrationtest/preview:
1175:  �[32m✓�[0m Integrations preview (49.27s)
1176:  �[32m✓�[0m Preview fails on invalid license key (0.00s)
1177:  github.com/fleetdm/fleet/v4/cmd/fleetctl/integrationtest/package:
...

1288:  �[32m✓�[0m Apply specs deprecated keys app config windows updates.grace period days not a number (0.54s)
1289:  �[32m✓�[0m Apply specs deprecated keys app config windows updates.grace period days out of range (0.38s)
1290:  �[32m✓�[0m Apply specs deprecated keys config with FIM values for agent options (#869 9) (0.47s)
1291:  �[32m✓�[0m Apply specs deprecated keys config with blank required org name (0.49s)
1292:  �[32m✓�[0m Apply specs deprecated keys config with blank required server url (0.44s)
1293:  �[32m✓�[0m Apply specs deprecated keys config with invalid agent options command-line flags (0.45s)
1294:  �[32m✓�[0m Apply specs deprecated keys config with invalid agent options data type in dry-run (0.43s)
1295:  �[32m✓�[0m Apply specs deprecated keys config with invalid agent options data type with force (0.36s)
1296:  �[32m✓�[0m Apply specs deprecated keys config with invalid agent options in dry-run (0.53s)
1297:  �[32m✓�[0m Apply specs deprecated keys config with invalid key type (0.42s)
1298:  �[32m✓�[0m Apply specs deprecated keys config with invalid value for agent options command-line flags (0.51s)
1299:  �[32m✓�[0m Apply specs deprecated keys config with unknown key (0.57s)
1300:  �[32m✓�[0m Apply specs deprecated keys config with valid agent options command-line flags (0.38s)
1301:  �[32m✓�[0m Apply specs deprecated keys dry-run set with unsupported spec (0.50s)
1302:  �[32m✓�[0m Apply specs deprecated keys dry-run set with various specs, appconfig warning for legacy (0.45s)
1303:  �[32m✓�[0m Apply specs deprecated keys dry-run set with various specs, no errors (0.41s)
1304:  �[32m✓�[0m Apply specs deprecated keys empty config (0.35s)
...

1307:  �[32m✓�[0m Apply specs deprecated keys invalid agent options dry-run (0.56s)
1308:  �[32m✓�[0m Apply specs deprecated keys invalid agent options field type (0.50s)
1309:  �[32m✓�[0m Apply specs deprecated keys invalid agent options field type in overrides (0.56s)
1310:  �[32m✓�[0m Apply specs deprecated keys invalid agent options for existing team (0.51s)
1311:  �[32m✓�[0m Apply specs deprecated keys invalid agent options for new team (0.44s)
1312:  �[32m✓�[0m Apply specs deprecated keys invalid agent options force (0.45s)
1313:  �[32m✓�[0m Apply specs deprecated keys invalid known key's value type for team cannot be forced (0.54s)
1314:  �[32m✓�[0m Apply specs deprecated keys invalid team agent options command-line flag (0.47s)
1315:  �[32m✓�[0m Apply specs deprecated keys invalid top-level key for team (0.57s)
1316:  �[32m✓�[0m Apply specs deprecated keys macos updates deadline set but minimum version empty (0.52s)
1317:  �[32m✓�[0m Apply specs deprecated keys macos updates minimum version set but deadline empty (0.36s)
1318:  �[32m✓�[0m Apply specs deprecated keys macos updates.deadline with incomplete date (0.53s)
1319:  �[32m✓�[0m Apply specs deprecated keys macos updates.deadline with invalid date (0.52s)
1320:  �[32m✓�[0m Apply specs deprecated keys macos updates.deadline with timestamp (0.52s)
1321:  �[32m✓�[0m Apply specs deprecated keys macos updates.minimum version with build version (0.60s)
1322:  �[32m✓�[0m Apply specs deprecated keys missing required failing policies destination url (0.53s)
1323:  �[32m✓�[0m Apply specs deprecated keys missing required host status days count (0.41s)
...

1331:  �[32m✓�[0m Apply specs deprecated keys team config macos settings.enable disk encryption true (0.56s)
1332:  �[32m✓�[0m Apply specs deprecated keys team config macos settings.enable disk encryption with invalid value type (0.51s)
1333:  �[32m✓�[0m Apply specs deprecated keys team config macos settings.enable disk encryption without a value (0.60s)
1334:  �[32m✓�[0m Apply specs deprecated keys unknown key for team can be forced (0.51s)
1335:  �[32m✓�[0m Apply specs deprecated keys valid team agent options command-line flag (0.40s)
1336:  �[32m✓�[0m Apply specs deprecated keys windows updates unset valid (0.46s)
1337:  �[32m✓�[0m Apply specs deprecated keys windows updates valid (0.58s)
1338:  �[32m✓�[0m Apply specs deprecated keys windows updates.deadline days but grace period empty (0.42s)
1339:  �[32m✓�[0m Apply specs deprecated keys windows updates.deadline days not a number (0.43s)
1340:  �[32m✓�[0m Apply specs deprecated keys windows updates.deadline days out of range (0.51s)
1341:  �[32m✓�[0m Apply specs deprecated keys windows updates.grace period days but deadline empty (0.43s)
1342:  �[32m✓�[0m Apply specs deprecated keys windows updates.grace period days not a number (0.47s)
1343:  �[32m✓�[0m Apply specs deprecated keys windows updates.grace period days out of range (0.47s)
1344:  �[32m✓�[0m Apply specs dry-run set with unsupported spec (0.34s)
1345:  �[32m✓�[0m Apply specs dry-run set with various specs, appconfig warning for legacy (0.50s)
1346:  �[32m✓�[0m Apply specs dry-run set with various specs, no errors (0.48s)
1347:  �[32m✓�[0m Apply specs empty config (0.36s)
...

1350:  �[32m✓�[0m Apply specs invalid agent options dry-run (0.48s)
1351:  �[32m✓�[0m Apply specs invalid agent options field type (0.43s)
1352:  �[32m✓�[0m Apply specs invalid agent options field type in overrides (0.42s)
1353:  �[32m✓�[0m Apply specs invalid agent options for existing team (0.51s)
1354:  �[32m✓�[0m Apply specs invalid agent options for new team (0.49s)
1355:  �[32m✓�[0m Apply specs invalid agent options force (0.46s)
1356:  �[32m✓�[0m Apply specs invalid known key's value type for team cannot be forced (0.32s)
1357:  �[32m✓�[0m Apply specs invalid team agent options command-line flag (0.39s)
1358:  �[32m✓�[0m Apply specs invalid top-level key for team (0.44s)
1359:  �[32m✓�[0m Apply specs macos updates deadline set but minimum version empty (0.39s)
1360:  �[32m✓�[0m Apply specs macos updates minimum version set but deadline empty (0.50s)
1361:  �[32m✓�[0m Apply specs macos updates.deadline with incomplete date (0.49s)
1362:  �[32m✓�[0m Apply specs macos updates.deadline with invalid date (0.48s)
1363:  �[32m✓�[0m Apply specs macos updates.deadline with timestamp (0.37s)
1364:  �[32m✓�[0m Apply specs macos updates.minimum version with build version (0.34s)
1365:  �[32m✓�[0m Apply specs missing required failing policies destination url (0.43s)
1366:  �[32m✓�[0m Apply specs missing required host status days count (0.44s)
...

1385:  �[32m✓�[0m Apply specs windows updates.grace period days not a number (0.46s)
1386:  �[32m✓�[0m Apply specs windows updates.grace period days out of range (0.38s)
1387:  �[32m✓�[0m Apply team specs (0.50s)
1388:  �[32m✓�[0m Apply user roles (0.39s)
1389:  �[32m✓�[0m Apply user roles deprecated (0.39s)
1390:  �[32m✓�[0m Apply windows updates (0.37s)
1391:  �[32m✓�[0m Apply windows updates field omitted (0.00s)
1392:  �[32m✓�[0m Apply windows updates with null values (0.00s)
1393:  �[32m✓�[0m Apply windows updates with values (0.00s)
1394:  �[32m✓�[0m Can apply intervals in nanoseconds (0.31s)
1395:  �[32m✓�[0m Can apply intervals using durations (0.55s)
1396:  �[32m✓�[0m Clean status code err (0.00s)
1397:  �[32m✓�[0m Clean status code err bare wrapped status code err (0.00s)
1398:  �[32m✓�[0m Clean status code err nil (0.00s)
1399:  �[32m✓�[0m Clean status code err outer-wrapped status code err (0.00s)
1400:  �[32m✓�[0m Clean status code err plain error untouched (0.00s)
1401:  �[32m✓�[0m Compute label changes (0.00s)
...

1457:  �[32m✓�[0m Filename functions (0.00s)
1458:  �[32m✓�[0m Filename functions outfile name builds a file name using the name provided + current time (0.00s)
1459:  �[32m✓�[0m Filename functions outfile name with ext builds a file name using the name and extension provided + current time (0.00s)
1460:  �[32m✓�[0m FleetctlUpgradePacks empty packs (0.38s)
1461:  �[32m✓�[0m FleetctlUpgradePacks no pack (0.36s)
1462:  �[32m✓�[0m FleetctlUpgradePacks non empty (0.39s)
1463:  �[32m✓�[0m FleetctlUpgradePacks not admin (0.39s)
1464:  �[32m✓�[0m Format XML (0.00s)
1465:  �[32m✓�[0m Format XML XML with attributes (0.00s)
1466:  �[32m✓�[0m Format XML basic XML (0.00s)
1467:  �[32m✓�[0m Format XML empty XML (0.00s)
1468:  �[32m✓�[0m Format XML invalid XML (0.00s)
1469:  �[32m✓�[0m Format XML nested XML (0.00s)
1470:  �[32m✓�[0m Generate MDM apple (0.78s)
1471:  �[32m✓�[0m Generate MDM apple BM (0.34s)
1472:  �[32m✓�[0m Generate MDM apple CSR API call fails (0.40s)
1473:  �[32m✓�[0m Generate MDM apple successful run (0.38s)
1474:  �[32m✓�[0m Generate MDMVPP tokens (0.00s)
1475:  �[32m✓�[0m Generate MDMVPP tokens get VPP tokens error (0.00s)
1476:  �[32m✓�[0m Generate MDMVPP tokens multiple tokens with different teams (0.00s)
...

1494:  �[32m✓�[0m Generate org settings masked google workspace api key (0.00s)
1495:  �[32m✓�[0m Generate policies (0.00s)
1496:  �[32m✓�[0m Generate policies patch policy orphaned from fleet maintained app (0.00s)
1497:  �[32m✓�[0m Generate queries (0.00s)
1498:  �[32m✓�[0m Generate software (0.00s)
1499:  �[32m✓�[0m Generate software auto update schedule (0.00s)
1500:  �[32m✓�[0m Generate software script packages (0.00s)
1501:  �[32m✓�[0m Generate team settings (0.00s)
1502:  �[32m✓�[0m Generate team settings insecure (0.00s)
1503:  �[32m✓�[0m Generated org settings no SSO (0.00s)
1504:  �[32m✓�[0m Generated org settings okta conditional access not included (0.00s)
1505:  �[32m✓�[0m Get MDM command results (0.50s)
1506:  �[32m✓�[0m Get MDM command results command flag required (0.00s)
1507:  �[32m✓�[0m Get MDM command results command not found (0.01s)
1508:  �[32m✓�[0m Get MDM command results command results empty (0.01s)
1509:  �[32m✓�[0m Get MDM command results command results error (0.01s)
1510:  �[32m✓�[0m Get MDM command results darwin command results (0.00s)
1511:  �[32m✓�[0m Get MDM command results host specific results (0.00s)
1512:  �[32m✓�[0m Get MDM command results windows command results (0.00s)
1513:  �[32m✓�[0m Get MDM commands (0.39s)
1514:  �[32m✓�[0m Get apple BM (1.86s)
1515:  �[32m✓�[0m Get apple BM free license (0.41s)
1516:  �[32m✓�[0m Get apple BM premium license, multiple tokens (0.45s)
1517:  �[32m✓�[0m Get apple BM premium license, no token (0.61s)
1518:  �[32m✓�[0m Get apple BM premium license, single token (0.39s)
1519:  �[32m✓�[0m Get apple MDM (0.37s)
1520:  �[32m✓�[0m Get carve (0.41s)
1521:  �[32m✓�[0m Get carve with error (0.41s)
1522:  �[32m✓�[0m Get carves (0.53s)
...

1536:  �[32m✓�[0m Get hosts MDM get hosts - -mdm - -mdm-pending - (0.00s)
1537:  �[32m✓�[0m Get hosts MDM get hosts - -mdm-pending - -yaml - expected list hosts yaml.yml (0.00s)
1538:  �[32m✓�[0m Get hosts get hosts - -json - -remove-deprecated-keys (0.00s)
1539:  �[32m✓�[0m Get hosts get hosts - -json - expected list hosts json.json (0.00s)
1540:  �[32m✓�[0m Get hosts get hosts - -json test host - expected host detail response json.json (0.00s)
1541:  �[32m✓�[0m Get hosts get hosts - -yaml - expected list hosts yaml.yml (0.00s)
1542:  �[32m✓�[0m Get hosts get hosts - -yaml test host - expected host detail response yaml.yml (0.00s)
1543:  �[32m✓�[0m Get label (0.38s)
1544:  �[32m✓�[0m Get label usage include and exclude allowed (0.00s)
1545:  �[32m✓�[0m Get label usage include and exclude allowed macos (0.00s)
1546:  �[32m✓�[0m Get label usage include and exclude allowed macos# 01 (0.00s)
1547:  �[32m✓�[0m Get label usage include and exclude allowed macos# 02 (0.00s)
1548:  �[32m✓�[0m Get label usage include and exclude allowed windows (0.00s)
1549:  �[32m✓�[0m Get label usage include and exclude allowed windows# 01 (0.00s)
1550:  �[32m✓�[0m Get label usage include and exclude allowed windows# 02 (0.00s)
1551:  �[32m✓�[0m Get label usage include exclude overlap error (0.00s)
1552:  �[32m✓�[0m Get label usage include exclude overlap error macos (0.00s)
1553:  �[32m✓�[0m Get label usage include exclude overlap error macos# 01 (0.00s)
1554:  �[32m✓�[0m Get label usage include exclude overlap error macos# 02 (0.00s)
1555:  �[32m✓�[0m Get label usage include exclude overlap error windows (0.00s)
1556:  �[32m✓�[0m Get label usage include exclude overlap error windows# 01 (0.00s)
1557:  �[32m✓�[0m Get label usage include exclude overlap error windows# 02 (0.00s)
1558:  �[32m✓�[0m Get label usage multiple label keys error (0.00s)
1559:  �[32m✓�[0m Get label usage multiple label keys error macos (0.00s)
1560:  �[32m✓�[0m Get label usage multiple label keys error windows (0.00s)
1561:  �[32m✓�[0m Get label usage policy scopes (0.00s)
...

1577:  �[32m✓�[0m Get queries as observer team observer (0.01s)
1578:  �[32m✓�[0m Get query (0.45s)
1579:  �[32m✓�[0m Get query labels include all (0.38s)
1580:  �[32m✓�[0m Get reports labels include all (0.39s)
1581:  �[32m✓�[0m Get software titles (0.42s)
1582:  �[32m✓�[0m Get software versions (0.31s)
1583:  �[32m✓�[0m Get teams (0.86s)
1584:  �[32m✓�[0m Get teams YAML and apply (0.51s)
1585:  �[32m✓�[0m Get teams by name (0.38s)
1586:  �[32m✓�[0m Get teams expired license (0.41s)
1587:  �[32m✓�[0m Get teams not expired license (0.45s)
1588:  �[32m✓�[0m Get teams software from source of truth (0.41s)
1589:  �[32m✓�[0m Get user roles (0.47s)
1590:  �[32m✓�[0m Git ops ABM (6.03s)
1591:  �[32m✓�[0m Git ops ABM backwards compat (0.65s)
1592:  �[32m✓�[0m Git ops ABM both keys errors (0.48s)
1593:  �[32m✓�[0m Git ops ABM deprecated config with two tokens in the db fails (0.61s)
1594:  �[32m✓�[0m Git ops ABM new key all valid (0.77s)
1595:  �[32m✓�[0m Git ops ABM new key multiple elements (0.63s)
1596:  �[32m✓�[0m Git ops ABM no team is supported (0.55s)
1597:  �[32m✓�[0m Git ops ABM non existent org name fails (0.61s)
1598:  �[32m✓�[0m Git ops ABM not provided teams defaults to no team (0.58s)
1599:  �[32m✓�[0m Git ops ABM renamed new key all valid (0.61s)
1600:  �[32m✓�[0m Git ops ABM using an undefined team errors (0.56s)
1601:  �[32m✓�[0m Git ops EULA setting (4.28s)
...

1604:  �[32m✓�[0m Git ops EULA setting not a PDF file (0.53s)
1605:  �[32m✓�[0m Git ops EULA setting relative path to working dir to pdf file (no existing EULA uploaded) (0.61s)
1606:  �[32m✓�[0m Git ops EULA setting relative path to yaml file to pdf file (no existing EULA uploaded) (0.45s)
1607:  �[32m✓�[0m Git ops EULA setting uploading the same EULA again (0.52s)
1608:  �[32m✓�[0m Git ops EULA setting valid new pdf file (different EULA already uploaded) (0.61s)
1609:  �[32m✓�[0m Git ops EULA setting valid pdf file (no existing EULA uploaded) (0.59s)
1610:  �[32m✓�[0m Git ops MDM auth settings (0.49s)
1611:  �[32m✓�[0m Git ops SMTP settings (0.56s)
1612:  �[32m✓�[0m Git ops SSO server URL (0.41s)
1613:  �[32m✓�[0m Git ops SSO settings (0.60s)
1614:  �[32m✓�[0m Git ops android certificates add (0.58s)
1615:  �[32m✓�[0m Git ops android certificates change (0.52s)
1616:  �[32m✓�[0m Git ops android certificates delete all (0.64s)
1617:  �[32m✓�[0m Git ops android certificates delete one (0.53s)
1618:  �[32m✓�[0m Git ops app store app auto update (0.47s)
1619:  �[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)
1620:  �[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)
1621:  �[32m✓�[0m Git ops app store app auto update update software title auto update config is applied for i OS VPP apps (0.02s)
1622:  �[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)
1623:  �[32m✓�[0m Git ops apple OS updates (0.46s)
1624:  �[32m✓�[0m Git ops apple OS updates ios updates (0.01s)
1625:  �[32m✓�[0m Git ops apple OS updates ios updates os updated when existing OS update declaration (0.01s)
1626:  �[32m✓�[0m Git ops apple OS updates ipados updates (0.01s)
1627:  �[32m✓�[0m Git ops apple OS updates ipados updates os updated when existing OS update declaration (0.01s)
1628:  �[32m✓�[0m Git ops apple OS updates macos updates (0.01s)
1629:  �[32m✓�[0m Git ops apple OS updates macos updates os updated when existing OS update declaration (0.01s)
1630:  �[32m✓�[0m Git ops basic global and no team (0.62s)
1631:  �[32m✓�[0m Git ops basic global and no team basic global and no-team.yml (0.05s)
1632:  �[32m✓�[0m Git ops basic global and no team both global and no-team.yml define controls -- should fail (0.01s)
1633:  �[32m✓�[0m Git ops basic global and no team controls only defined in no-team.yml (0.05s)
1634:  �[32m✓�[0m Git ops basic global and no team global DOES NOT define controls -- should fail (0.02s)
1635:  �[32m✓�[0m Git ops basic global and no team global and no-team.yml DO NOT define controls -- should fail (0.01s)
1636:  �[32m✓�[0m Git ops basic global and no team global defines software -- should fail (0.01s)
1637:  �[32m✓�[0m Git ops basic global and no team no-team provided without global -- should fail (0.01s)
1638:  �[32m✓�[0m Git ops basic global and no team no-team.yml defines policy with calendar events enabled -- should fail (0.01s)
1639:  �[32m✓�[0m Git ops basic global and no team unassigned provided without global -- should fail (0.01s)
1640:  �[32m✓�[0m Git ops basic global and team (0.72s)
...

1646:  �[32m✓�[0m Git ops custom settings global macos windows custom settings valid.yml (0.41s)
1647:  �[32m✓�[0m Git ops custom settings global windows custom settings invalid label mix 2 .yml (0.42s)
1648:  �[32m✓�[0m Git ops custom settings global windows custom settings invalid label mix.yml (0.40s)
1649:  �[32m✓�[0m Git ops custom settings global windows custom settings unknown label.yml (0.54s)
1650:  �[32m✓�[0m Git ops custom settings team macos custom settings valid deprecated.yml (0.63s)
1651:  �[32m✓�[0m Git ops custom settings team macos windows custom settings invalid labels mix 2 .yml (0.42s)
1652:  �[32m✓�[0m Git ops custom settings team macos windows custom settings invalid labels mix.yml (0.50s)
1653:  �[32m✓�[0m Git ops custom settings team macos windows custom settings unknown label.yml (0.52s)
1654:  �[32m✓�[0m Git ops custom settings team macos windows custom settings valid.yml (0.55s)
1655:  �[32m✓�[0m Git ops dry run rejects invalid label platform (0.33s)
1656:  �[32m✓�[0m Git ops exception enforcement (0.38s)
1657:  �[32m✓�[0m Git ops exception enforcement free tier (0.34s)
1658:  �[32m✓�[0m Git ops exceptions preserve omitted keys (0.38s)
1659:  �[32m✓�[0m Git ops features (0.47s)
1660:  �[32m✓�[0m Git ops filename validation (0.00s)
1661:  �[32m✓�[0m Git ops fleet failing policies webhook policy IDs (0.47s)
1662:  �[32m✓�[0m Git ops fleet webhooks and tickets enabled (0.49s)
...

1819:  �[32m✓�[0m New basic file structure has expected files (0.00s)
1820:  �[32m✓�[0m New basic file structure replaces and escapes org name template var (0.00s)
1821:  �[32m✓�[0m New basic file structure strips .template. from output filenames (0.00s)
1822:  �[32m✓�[0m New dir flag (0.01s)
1823:  �[32m✓�[0m New existing dir with force (0.01s)
1824:  �[32m✓�[0m New existing dir without force (0.00s)
1825:  �[32m✓�[0m New org name YAML quoting (0.01s)
1826:  �[32m✓�[0m New org name validation (0.01s)
1827:  �[32m✓�[0m New org name validation at max length (0.01s)
1828:  �[32m✓�[0m New org name validation control characters stripped (0.01s)
1829:  �[32m✓�[0m New org name validation only control characters (0.00s)
1830:  �[32m✓�[0m New org name validation only whitespace (0.00s)
1831:  �[32m✓�[0m New org name validation too long (0.00s)
1832:  �[32m✓�[0m New output messages (0.01s)
1833:  �[32m✓�[0m New template stripping (0.01s)
1834:  �[32m✓�[0m Print auth error (0.40s)
1835:  �[32m✓�[0m Print auth error SSO disabled shows default login message (0.00s)
1836:  �[32m✓�[0m Print auth error SSO enabled shows SSO instructions (0.00s)
1837:  �[32m✓�[0m Render template (0.00s)
...

1857:  �[32m✓�[0m Run api command get scripts full path missing (0.00s)
1858:  �[32m✓�[0m Run api command get scripts team (0.00s)
1859:  �[32m✓�[0m Run api command get scripts team no cache (0.00s)
1860:  �[32m✓�[0m Run api command get typo (0.00s)
1861:  �[32m✓�[0m Run api command upload script (0.00s)
1862:  �[32m✓�[0m Run script command (0.67s)
1863:  �[32m✓�[0m Run script command disabled scripts globally (0.00s)
1864:  �[32m✓�[0m Run script command host not found (0.01s)
1865:  �[32m✓�[0m Run script command invalid file type (0.00s)
1866:  �[32m✓�[0m Run script command invalid hashbang (0.00s)
1867:  �[32m✓�[0m Run script command invalid utf 8 (0.00s)
1868:  �[32m✓�[0m Run script command missing one of script-path and script-nqme (0.00s)
1869:  �[32m✓�[0m Run script command output truncated (0.01s)
1870:  �[32m✓�[0m Run script command posix shell hashbang (0.01s)
1871:  �[32m✓�[0m Run script command script empty (0.01s)
1872:  �[32m✓�[0m Run script command script failed (0.01s)
1873:  �[32m✓�[0m Run script command script killed (0.01s)
...

1928:  �[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)
1929:  �[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)
1930:  �[32m✓�[0m Validate git ops group EUA no EUA enabled anywhere is accepted (0.00s)
1931:  �[32m✓�[0m Validate git ops group EUA team enables EU A, global file adds complete id P: accepted (0.00s)
1932:  �[32m✓�[0m Validate git ops group EUA team enables EU A, global file adds id p missing entity id: rejected (0.00s)
1933:  �[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)
1934:  �[32m✓�[0m Validate git ops group EUA team enables EU A, stored has id P, no global file: accepted (0.00s)
1935:  �[32m✓�[0m Validate git ops group EUA team enables EU A, stored has no id P, no global file: rejected (0.00s)
1936:  github.com/fleetdm/fleet/v4/cmd/fleetctl/integrationtest/gitops:
1937:  �[32m✓�[0m Git ops VPP (5.04s)
1938:  �[32m✓�[0m Git ops VPP all fleets is supported (0.59s)
1939:  �[32m✓�[0m Git ops VPP all teams is supported (0.67s)
1940:  �[32m✓�[0m Git ops VPP new key all valid (0.60s)
1941:  �[32m✓�[0m Git ops VPP new key multiple elements (0.67s)
1942:  �[32m✓�[0m Git ops VPP no team is supported (0.71s)
1943:  �[32m✓�[0m Git ops VPP non existent location fails (0.59s)
1944:  �[32m✓�[0m Git ops VPP not provided teams defaults to no team (0.57s)
1945:  �[32m✓�[0m Git ops VPP using an undefined team errors (0.64s)
1946:  �[32m✓�[0m Git ops existing team VPP apps with missing team (0.65s)
...

2039:  �[32m✓�[0m Git ops team software installers team software installer with display name.yml (1.47s)
2040:  �[32m✓�[0m Integrations enterprise gitops (318.00s)
2041:  �[32m✓�[0m Integrations enterprise gitops test CA integrations (3.91s)
2042:  �[32m✓�[0m Integrations enterprise gitops test FMA labels include all (6.04s)
2043:  �[32m✓�[0m Integrations enterprise gitops test IPA software installers (10.55s)
2044:  �[32m✓�[0m Integrations enterprise gitops test JSON configuration profile escaping (1.29s)
2045:  �[32m✓�[0m Integrations enterprise gitops test add manual labels (1.49s)
2046:  �[32m✓�[0m Integrations enterprise gitops test configuration profile escaping (1.37s)
2047:  �[32m✓�[0m Integrations enterprise gitops test delete CA with certificate templates (5.89s)
2048:  �[32m✓�[0m Integrations enterprise gitops test delete mac OS setup (5.07s)
2049:  �[32m✓�[0m Integrations enterprise gitops test deleting no team YAML (2.66s)
2050:  �[32m✓�[0m Integrations enterprise gitops test disallow software setup experience (123.72s)
2051:  �[32m✓�[0m Integrations enterprise gitops test disallow software setup experience all VPP with setup experience (1.23s)
2052:  �[32m✓�[0m Integrations enterprise gitops test disallow software setup experience no team VPP (1.15s)
2053:  �[32m✓�[0m Integrations enterprise gitops test disallow software setup experience no team installers (60.52s)
2054:  �[32m✓�[0m Integrations enterprise gitops test disallow software setup experience packages fail (60.65s)
2055:  �[32m✓�[0m Integrations enterprise gitops test dry run mac OS setup script with manual agent install conflict (0.43s)
...

2085:  �[32m✓�[0m Integrations enterprise gitops test omitted top level keys global (2.46s)
2086:  �[32m✓�[0m Integrations enterprise gitops test remove custom settings from default YAML (2.56s)
2087:  �[32m✓�[0m Integrations enterprise gitops test special case teams VPP apps (3.81s)
2088:  �[32m✓�[0m Integrations enterprise gitops test special case teams VPP apps all teams (2.41s)
2089:  �[32m✓�[0m Integrations enterprise gitops test special case teams VPP apps no team (1.25s)
2090:  �[32m✓�[0m Integrations enterprise gitops test unset configuration profile labels (4.93s)
2091:  �[32m✓�[0m Integrations enterprise gitops test unset software installer labels (12.40s)
2092:  �[32m✓�[0m Integrations enterprise starter library (4.97s)
2093:  �[32m✓�[0m Integrations enterprise starter library test apply starter library premium (3.54s)
2094:  �[32m✓�[0m Integrations gitops (2.36s)
2095:  �[32m✓�[0m Integrations gitops test fleet gitops (0.51s)
2096:  �[32m✓�[0m Integrations gitops test fleet gitops DDM fleet vars requires premium (0.11s)
2097:  �[32m✓�[0m Integrations gitops test fleet gitops with fleet secrets (0.23s)
2098:  �[32m✓�[0m Integrations starter library (1.60s)
2099:  �[32m✓�[0m Integrations starter library test apply starter library free (0.18s)
2100:  === �[31mFailed�[0m
2101:  === �[31mFAIL�[0m: cmd/fleetctl/fleetctl TestGitOpsFullGlobal/useDeprecatedKeys=false (0.04s)
2102:  time=level=INFO msg="request error" path=/api/latest/fleet/setup_experience/eula/metadata took=119.172µs uuid=2a3e5892-186b-48ae-a99a-1e63509a33f5 err="not found"
2103:  [-] would've deleted report Query to delete
2104:  time=level=INFO msg="request error" path=/api/latest/fleet/setup_experience/eula/metadata took=120.455µs uuid=c3370e99-7b2d-40f9-9a4e-cf712052546e err="not found"
2105:  testing_utils_test.go:20: 
2106:  Error Trace:	/home/runner/work/fleet/fleet/cmd/fleetctl/fleetctl/testing_utils_test.go:20
2107:  /home/runner/work/fleet/fleet/cmd/fleetctl/fleetctl/gitops_test.go:2244
2108:  Error:      	Received unexpected error:
2109:  applying custom settings: POST /api/latest/fleet/mdm/profiles/batch received status 422 Validation Failed: cannot set custom settings: Windows MDM isn't turned on. For more information about setting up MDM, please visit https://fleetdm.com/learn-more-about/windows-mdm (API time: 1ms)
2110:  Test:       	TestGitOpsFullGlobal/useDeprecatedKeys=false
2111:  --- FAIL: TestGitOpsFullGlobal/useDeprecatedKeys=false (0.04s)
2112:  === �[31mFAIL�[0m: cmd/fleetctl/fleetctl TestGitOpsFullGlobal/useDeprecatedKeys=true (0.04s)
2113:  time=level=INFO msg="request error" path=/api/latest/fleet/setup_experience/eula/metadata took=95.689µs uuid=f0a7865b-20d0-4350-b44a-453e743738e8 err="not found"
2114:  [-] would've deleted report Query to delete
2115:  time=level=INFO msg="request error" path=/api/latest/fleet/setup_experience/eula/metadata took=104.455µs uuid=3a0aee16-9f91-4a8a-9647-ecbf144a86cb err="not found"
2116:  testing_utils_test.go:20: 
2117:  Error Trace:	/home/runner/work/fleet/fleet/cmd/fleetctl/fleetctl/testing_utils_test.go:20
2118:  /home/runner/work/fleet/fleet/cmd/fleetctl/fleetctl/gitops_test.go:2244
2119:  Error:      	Received unexpected error:
2120:  applying custom settings: POST /api/latest/fleet/mdm/profiles/batch received status 422 Validation Failed: cannot set custom settings: Windows MDM isn't turned on. For more information about setting up MDM, please visit https://fleetdm.com/learn-more-about/windows-mdm (API time: 1ms)
2121:  Test:       	TestGitOpsFullGlobal/useDeprecatedKeys=true
2122:  --- FAIL: TestGitOpsFullGlobal/useDeprecatedKeys=true (0.04s)
2123:  === �[31mFAIL�[0m: cmd/fleetctl/fleetctl TestGitOpsFullGlobal (0.47s)
2124:  DONE 921 tests, 3 failures in 649.576s
2125:  make[1]: *** [Makefile:302: .run-go-tests] Error 1
2126:  make[1]: Leaving directory '/home/runner/work/fleet/fleet'
2127:  make: *** [Makefile:417: test-go] Error 2
2128:  ##[error]Process completed with exit code 2.
2129:  Node 20 is being deprecated. This workflow is running with Node 24 by default. If you need to temporarily use Node 20, you can set the ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true environment variable. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
2130:  ##[group]Run actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a
2131:  with:
2132:  name: fleetctl-mysql8.0.44-coverage
2133:  path: ./coverage.txt
2134:  if-no-files-found: error
2135:  compression-level: 6
...

2138:  RACE_ENABLED: false
2139:  GO_TEST_TIMEOUT: 20m
2140:  DOCKER_COMMAND: docker compose -f docker-compose.yml -f docker-compose-redis-cluster.yml up -d mysql_test mysql_replica_test redis redis-cluster-1 redis-cluster-2 redis-cluster-3 redis-cluster-4 redis-cluster-5 redis-cluster-6 redis-cluster-setup s3 saml_idp mailhog mailpit smtp4dev_test
2141:  RUN_TESTS_ARG: 
2142:  CI_TEST_PKG: fleetctl
2143:  NEED_DOCKER: 1
2144:  ARTIFACT_PREFIX: fleetctl-mysql8.0.44
2145:  GOTOOLCHAIN: local
2146:  ##[endgroup]
2147:  (node:44725) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
2148:  (Use `node --trace-deprecation ...` to show where the warning was created)
2149:  With the provided path, there will be 1 file uploaded
2150:  Artifact name is valid!
2151:  Root directory input is valid!
2152:  Beginning upload of artifact content to blob storage
2153:  (node:44725) [DEP0169] DeprecationWarning: `url.parse()` behavior is not standardized and prone to errors that have security implications. Use the WHATWG URL API instead. CVEs are not issued for `url.parse()` vulnerabilities.
2154:  Uploaded bytes 2308790
2155:  Finished uploading artifact content to blob storage!
2156:  SHA256 hash of uploaded artifact zip is 565aad577d06d65a985de8e4d8abd50ce0a157e2b621a2b01655d61f757d070f
2157:  Finalizing artifact upload
2158:  Artifact fleetctl-mysql8.0.44-coverage.zip successfully finalized. Artifact ID 8019369231
2159:  Artifact fleetctl-mysql8.0.44-coverage has been successfully uploaded! Final size is 2308790 bytes. Artifact ID is 8019369231
2160:  Artifact download URL: https://github.com/fleetdm/fleet/actions/runs/28538839600/artifacts/8019369231
2161:  ##[group]Run c1grep() { grep "$@" || test $? = 1; }
2162:  �[36;1mc1grep() { grep "$@" || test $? = 1; }�[0m
2163:  �[36;1mc1grep -oP 'FAIL: .*$' /tmp/gotest.log > /tmp/summary.txt�[0m
2164:  �[36;1mc1grep 'test timed out after' /tmp/gotest.log >> /tmp/summary.txt�[0m
2165:  �[36;1mc1grep 'fatal error:' /tmp/gotest.log >> /tmp/summary.txt�[0m
2166:  �[36;1mc1grep -A 10 'panic: runtime error: ' /tmp/gotest.log >> /tmp/summary.txt�[0m
2167:  �[36;1mc1grep ' FAIL\t' /tmp/gotest.log >> /tmp/summary.txt�[0m
2168:  �[36;1mGO_FAIL_SUMMARY=$(head -n 5 /tmp/summary.txt | sed ':a;N;$!ba;s/\n/\\n/g')�[0m
2169:  �[36;1mecho "GO_FAIL_SUMMARY=$GO_FAIL_SUMMARY"�[0m
2170:  �[36;1mif [[ -z "$GO_FAIL_SUMMARY" ]]; then�[0m
2171:  �[36;1m  GO_FAIL_SUMMARY="unknown, please check the build URL"�[0m
2172:  �[36;1mfi�[0m
2173:  �[36;1mGO_FAIL_SUMMARY=$GO_FAIL_SUMMARY envsubst < .github/workflows/config/slack_payload_template.json > ./payload.json�[0m
2174:  shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
2175:  env:
2176:  RACE_ENABLED: false
2177:  GO_TEST_TIMEOUT: 20m
2178:  DOCKER_COMMAND: docker compose -f docker-compose.yml -f docker-compose-redis-cluster.yml up -d mysql_test mysql_replica_test redis redis-cluster-1 redis-cluster-2 redis-cluster-3 redis-cluster-4 redis-cluster-5 redis-cluster-6 redis-cluster-setup s3 saml_idp mailhog mailpit smtp4dev_test
2179:  RUN_TESTS_ARG: 
2180:  CI_TEST_PKG: fleetctl
2181:  NEED_DOCKER: 1
2182:  ARTIFACT_PREFIX: fleetctl-mysql8.0.44
2183:  GOTOOLCHAIN: local
2184:  ##[endgroup]
2185:  GO_FAIL_SUMMARY=FAIL: TestGitOpsFullGlobal/useDeprecatedKeys=false (0.04s)\nFAIL: TestGitOpsFullGlobal/useDeprecatedKeys=true (0.04s)
2186:  Node 20 is being deprecated. This workflow is running with Node 24 by default. If you need to temporarily use Node 20, you can set the ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true environment variable. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
2187:  ##[group]Run actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a
2188:  with:
2189:  name: fleetctl-mysql8.0.44-test-log
2190:  path: /tmp/gotest.log
2191:  if-no-files-found: error
2192:  compression-level: 6
...

2195:  RACE_ENABLED: false
2196:  GO_TEST_TIMEOUT: 20m
2197:  DOCKER_COMMAND: docker compose -f docker-compose.yml -f docker-compose-redis-cluster.yml up -d mysql_test mysql_replica_test redis redis-cluster-1 redis-cluster-2 redis-cluster-3 redis-cluster-4 redis-cluster-5 redis-cluster-6 redis-cluster-setup s3 saml_idp mailhog mailpit smtp4dev_test
2198:  RUN_TESTS_ARG: 
2199:  CI_TEST_PKG: fleetctl
2200:  NEED_DOCKER: 1
2201:  ARTIFACT_PREFIX: fleetctl-mysql8.0.44
2202:  GOTOOLCHAIN: local
2203:  ##[endgroup]
2204:  (node:44772) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
2205:  (Use `node --trace-deprecation ...` to show where the warning was created)
2206:  With the provided path, there will be 1 file uploaded
2207:  Artifact name is valid!
2208:  Root directory input is valid!
2209:  Beginning upload of artifact content to blob storage
2210:  (node:44772) [DEP0169] DeprecationWarning: `url.parse()` behavior is not standardized and prone to errors that have security implications. Use the WHATWG URL API instead. CVEs are not issued for `url.parse()` vulnerabilities.
2211:  Uploaded bytes 10968
...

2227:  RACE_ENABLED: false
2228:  GO_TEST_TIMEOUT: 20m
2229:  DOCKER_COMMAND: docker compose -f docker-compose.yml -f docker-compose-redis-cluster.yml up -d mysql_test mysql_replica_test redis redis-cluster-1 redis-cluster-2 redis-cluster-3 redis-cluster-4 redis-cluster-5 redis-cluster-6 redis-cluster-setup s3 saml_idp mailhog mailpit smtp4dev_test
2230:  RUN_TESTS_ARG: 
2231:  CI_TEST_PKG: fleetctl
2232:  NEED_DOCKER: 1
2233:  ARTIFACT_PREFIX: fleetctl-mysql8.0.44
2234:  GOTOOLCHAIN: local
2235:  ##[endgroup]
2236:  (node:44784) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
2237:  (Use `node --trace-deprecation ...` to show where the warning was created)
2238:  With the provided path, there will be 1 file uploaded
2239:  Artifact name is valid!
2240:  Root directory input is valid!
2241:  Beginning upload of artifact content to blob storage
2242:  (node:44784) [DEP0169] DeprecationWarning: `url.parse()` behavior is not standardized and prone to errors that have security implications. Use the WHATWG URL API instead. CVEs are not issued for `url.parse()` vulnerabilities.
2243:  Uploaded bytes 205
...

2259:  RACE_ENABLED: false
2260:  GO_TEST_TIMEOUT: 20m
2261:  DOCKER_COMMAND: docker compose -f docker-compose.yml -f docker-compose-redis-cluster.yml up -d mysql_test mysql_replica_test redis redis-cluster-1 redis-cluster-2 redis-cluster-3 redis-cluster-4 redis-cluster-5 redis-cluster-6 redis-cluster-setup s3 saml_idp mailhog mailpit smtp4dev_test
2262:  RUN_TESTS_ARG: 
2263:  CI_TEST_PKG: fleetctl
2264:  NEED_DOCKER: 1
2265:  ARTIFACT_PREFIX: fleetctl-mysql8.0.44
2266:  GOTOOLCHAIN: local
2267:  ##[endgroup]
2268:  (node:44796) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
2269:  (Use `node --trace-deprecation ...` to show where the warning was created)
2270:  With the provided path, there will be 1 file uploaded
2271:  Artifact name is valid!
2272:  Root directory input is valid!
2273:  Beginning upload of artifact content to blob storage
2274:  (node:44796) [DEP0169] DeprecationWarning: `url.parse()` behavior is not standardized and prone to errors that have security implications. Use the WHATWG URL API instead. CVEs are not issued for `url.parse()` vulnerabilities.
2275:  Uploaded bytes 104981
...

2308:  RACE_ENABLED: false
2309:  GO_TEST_TIMEOUT: 20m
2310:  DOCKER_COMMAND: docker compose -f docker-compose.yml -f docker-compose-redis-cluster.yml up -d mysql_test mysql_replica_test redis redis-cluster-1 redis-cluster-2 redis-cluster-3 redis-cluster-4 redis-cluster-5 redis-cluster-6 redis-cluster-setup s3 saml_idp mailhog mailpit smtp4dev_test
2311:  RUN_TESTS_ARG: 
2312:  CI_TEST_PKG: fleetctl
2313:  NEED_DOCKER: 1
2314:  ARTIFACT_PREFIX: fleetctl-mysql8.0.44
2315:  GOTOOLCHAIN: local
2316:  ##[endgroup]
2317:  (node:44809) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
2318:  (Use `node --trace-deprecation ...` to show where the warning was created)
2319:  With the provided path, there will be 1 file uploaded
2320:  Artifact name is valid!
2321:  Root directory input is valid!
2322:  Beginning upload of artifact content to blob storage
2323:  (node:44809) [DEP0169] DeprecationWarning: `url.parse()` behavior is not standardized and prone to errors that have security implications. Use the WHATWG URL API instead. CVEs are not issued for `url.parse()` vulnerabilities.
2324:  Uploaded bytes 133

@codecov

codecov Bot commented Jul 1, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 68.01%. Comparing base (a88354c) to head (0256045).
⚠️ Report is 5 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #48584      +/-   ##
==========================================
+ Coverage   67.99%   68.01%   +0.01%     
==========================================
  Files        3678     3678              
  Lines      233668   233760      +92     
  Branches    12304    12304              
==========================================
+ Hits       158894   158984      +90     
- Misses      60471    60477       +6     
+ Partials    14303    14299       -4     
Flag Coverage Δ
backend 69.66% <100.00%> (+0.01%) ⬆️

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.

@lucasmrod lucasmrod merged commit ad0a39e into main Jul 2, 2026
44 of 46 checks passed
@lucasmrod lucasmrod deleted the fix-47388-getclientconfig-nil-map branch July 2, 2026 14:17
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.

Panic in GetClientConfig: assignment to entry in nil map

3 participants