Skip to content

Cherry-pick #43039: Clean up Gitops tests and add deprecation tests#43255

Merged
sgress454 merged 1 commit intorc-minor-fleet-v4.84.0from
sgress454/cleanup-gitops-tests-cp
Apr 8, 2026
Merged

Cherry-pick #43039: Clean up Gitops tests and add deprecation tests#43255
sgress454 merged 1 commit intorc-minor-fleet-v4.84.0from
sgress454/cleanup-gitops-tests-cp

Conversation

@sgress454
Copy link
Copy Markdown
Contributor

Cherry-pick of #43039 into the RC branch.

<!-- Add the related story/sub-task/bug number, like Resolves #123, or
remove if NA -->
**Related issue:** For #40015

* Moves repeated empty mocks into a new `setupEmptyGitOpsMocks` method
* Adds new "deprecation" tests:
* In TestGitOpsFullGlobal, TestGitOpsFullTeam and
TestGitOpsFullGlobalAndTeam tests "kitchen sink" with both new and
deprecated keys
* Added keys and checks to verify `setup_experience`,
`apple_business_manager` and `volume_purchasing_program` configs
* Consolidated map of deprecated -> new GitOps keys in one place
@sgress454 sgress454 requested a review from a team as a code owner April 8, 2026 17:15
Copy link
Copy Markdown

@claude claude bot left a comment

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.

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 8, 2026

Codecov Report

❌ Patch coverage is 67.94872% with 50 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (rc-minor-fleet-v4.84.0@6d1c2d9). Learn more about missing BASE report.

Files with missing lines Patch % Lines
cmd/fleetctl/fleetctl/testing_utils.go 63.76% 24 Missing and 26 partials ⚠️
Additional details and impacted files
@@                    Coverage Diff                    @@
##             rc-minor-fleet-v4.84.0   #43255   +/-   ##
=========================================================
  Coverage                          ?   66.85%           
=========================================================
  Files                             ?     2578           
  Lines                             ?   207038           
  Branches                          ?     9246           
=========================================================
  Hits                              ?   138415           
  Misses                            ?    56022           
  Partials                          ?    12601           
Flag Coverage Δ
backend 68.62% <67.94%> (?)

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

☔ View full report in Codecov by Sentry.
📢 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.

Copy link
Copy Markdown
Member

@iansltx iansltx left a comment

Choose a reason for hiding this comment

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

Good to get this in so we're QA'ing these tweaks alongside the rest of the functionality.

Test failure is unrelated, and succeeded for the other MySQL version, so we're good on CI.

@sgress454 sgress454 merged commit ce7ed3d into rc-minor-fleet-v4.84.0 Apr 8, 2026
49 of 51 checks passed
@sgress454 sgress454 deleted the sgress454/cleanup-gitops-tests-cp branch April 8, 2026 18:35
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.

2 participants