Skip to content

fix(action): normalize packaged chart metadata#182

Merged
GaTTGeng merged 1 commit into
masterfrom
fix/m2-cross-platform-archive-parity
Jul 16, 2026
Merged

fix(action): normalize packaged chart metadata#182
GaTTGeng merged 1 commit into
masterfrom
fix/m2-cross-platform-archive-parity

Conversation

@GaTTGeng

Copy link
Copy Markdown
Owner

What changed

  • normalize root and nested Chart.yaml payloads to LF before writing chart archives
  • compare complete archive payload bytes, sizes, entry types, and modes against Helm
  • cover CRLF source metadata and verify package overrides do not mutate source files

Why

On Windows, source CRLF metadata was preserved in HelmSharp archives while Helm emits LF, causing byte-level archive entry mismatches across net8.0, net9.0, and net10.0.

Verification

  • dotnet test tests/HelmSharp.Tests/HelmSharp.Tests.csproj --configuration Release --filter FullyQualifiedName~PackageMetadataValidationTests (net8/9/10: 28/28 each)
  • dotnet test HelmSharp.sln --configuration Release --no-build --no-restore (net8/9/10: 520/520 each)
  • dotnet pack HelmSharp.sln --configuration Release --no-build --output artifacts/packages-local (9 packages + symbols)

Fixes #180

Normalize root and nested Chart.yaml payloads to LF before archive creation so HelmSharp packages match Helm byte-for-byte across platforms. Expand golden coverage to compare complete archive payloads while preserving source files.
Copilot AI review requested due to automatic review settings July 16, 2026 01:14

Copilot AI 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.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@GaTTGeng
GaTTGeng merged commit e69f699 into master Jul 16, 2026
1 check passed
@GaTTGeng
GaTTGeng deleted the fix/m2-cross-platform-archive-parity branch July 16, 2026 01:16
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.

[M2] Restore cross-platform byte parity for packaged chart archives

2 participants