Repository navigation
fix(v3): resolve cross-platform release validation failures - #6538
Conversation
|
Caution Review failedThe pull request is closed. WalkthroughThe changes address cross-platform validation failures in command and template code. Windows GUI builds now resolve the project root before compilation. Migration comparisons and test fixtures also account for line endings, paths, and platform-specific behavior. ChangesCross-platform validation
Estimated code review effort: 2 (Simple) | ~12 minutes Change: Bug fix · Severity of issue fixed: High Suggested labels: Suggested reviewers: Merge Risk:
|
The v3 weekly release cannot publish because command/template tests fail on Windows and macOS. Fix the cross-volume template module path, normalise both sides of stock frontend comparisons, and use the canonical working directory for Windows resource overlays.
Make the affected fixtures portable without dropping their assertions: compare canonical paths, inspect the actual Windows ACE SID, restrict Unix permission assertions to Unix, clear inherited macOS compiler flags, restore cwd before Windows fixture cleanup, and exercise the native MSI signing route with an input file. Generate the Arch signing fixture in Go while retaining independent GPG verification, and pass a homedir-relative GPG keyring name on Windows.
Validation: default CGo command/template suites passed on Linux; Windows command tests cross-compile; whitespace and contract checks passed. Full release platform checks will run on this PR. No release gates are disabled or bypassed.
Closes #6537
Summary by CodeRabbit
Bug Fixes
Tests