Skip to content

Conversation

@MuhammadAliFleet
Copy link
Contributor

Description of your changes

This PR adds a UT that ensures that the Arc member agent charts are parseable to avoid any misconfigured yaml

Fixes #

I have:

  • Run make reviewable to ensure this PR is ready for review.

How has this code been tested

Special notes for your reviewer

@ryanzhang-oss ryanzhang-oss requested a review from Copilot December 9, 2025 01:07
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds unit tests for the Arc member agent Helm charts to ensure that all chart templates render to valid YAML. This is the first Helm chart test in the repository and validates that templates parse and render correctly with maximal configuration values to activate all conditional paths. The test helps prevent misconfigured YAML from being deployed.

  • Adds comprehensive unit test for Helm template rendering validation
  • Implements custom mock functions for Helm/Sprig template functions
  • Tests all non-helper templates in the charts directory

Copy link
Contributor

@Ealianis Ealianis left a comment

Choose a reason for hiding this comment

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

This makes sense to add as we don't have E2E tests for when the helm chart is published. Our Internal E2Es join arc clusters after the extension has been created.

In the future, we can remove this once we have our own repo and E2E tests.

@MuhammadAliFleet MuhammadAliFleet merged commit 5de2741 into main Dec 15, 2025
18 checks passed
@MuhammadAliFleet MuhammadAliFleet deleted the alimuhammad/fleet/arc-uts branch December 15, 2025 18:01
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.

4 participants