Skip to content

fix(v3): resolve cross-platform release validation failures - #6538

Merged
taliesin-ai merged 1 commit into
masterfrom
fix-v3-release-blockers-20261101
Nov 1, 2026
Merged

taliesin-ai merged 1 commit into
masterfrom
fix-v3-release-blockers-20261101

Conversation

@taliesin-ai

@taliesin-ai taliesin-ai commented Nov 1, 2026 •

Copy link
Copy Markdown
Collaborator

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

    • Windows GUI builds now work more reliably when a project is accessed through a symlinked path.
    • Development-mode template installation now correctly handles Windows drive names that differ only in letter casing.
  • Tests

    • Improved cross-platform test reliability for Windows paths, line endings, signing, and file permissions.

@taliesin-ai
taliesin-ai enabled auto-merge (squash) November 1, 2026 10:44
@coderabbitai

coderabbitai Bot commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Caution

Review failed

The pull request is closed.

Walkthrough

The 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.

Changes

Cross-platform validation

Layer / File(s) Summary
Resolve project paths for Windows builds
v3/internal/commands/manifest_pipeline.go, v3/internal/templates/templates.go, v3/internal/commands/manifest_appimage_test.go, v3/internal/commands/manifest_native_signing_test.go, v3/internal/commands/windows_signing_test.go
Windows GUI builds run from the symlink-resolved project root. Template volume comparisons are case-insensitive. Command tests use symlink-resolved temporary roots.
Normalize migration configuration line endings
v3/internal/commands/manifest_migrate_config.go, v3/internal/commands/manifest_migrate_dynamic_test.go
The stock Vite configuration comparison and migration fixture replacement normalize CRLF line endings.
Adjust platform-specific test fixtures
v3/internal/commands/manifest_arch_sign_test.go, v3/internal/commands/signing_setup_key_test.go, v3/internal/commands/sign_windows_test.go, v3/internal/commands/manifest_hook_context_windows_test.go, v3/internal/commands/manifest_publish_associated_test.go, v3/internal/commands/manifest_yaml_happy_path_test.go, v3/internal/templates/legacy_template_test.go
Signing tests use updated key and file fixtures. Windows ACL checks compare ACE data directly, and file mode checks run only on non-Windows systems. Compiler tests clear inherited environment values, and template subtests restore the working directory.

Estimated code review effort: 2 (Simple) | ~12 minutes

Change: Bug fix · Severity of issue fixed: High

Suggested labels: Bug, v3, Windows

Suggested reviewers: leaanthony

Merge Risk: Minimal · up to d6a9e

The change makes Windows and macOS validation more portable and keeps the Windows GUI build working. No actionable merge-blocking risk remains. A narrow edge case with junctioned projects under a go.work directory is worth a later look but should not hold up the release fix.

- [ ] Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

A rabbit checks each path with care,
And smooths the line breaks everywhere.
Keys and fixtures settle in,
The Windows tests can now begin.
Then back to burrow, calm and bright.

@taliesin-ai
taliesin-ai merged commit 1f98e60 into master Nov 1, 2026
52 of 54 checks passed
@taliesin-ai
taliesin-ai deleted the fix-v3-release-blockers-20261101 branch November 1, 2026 10:49
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.

v3: resolve macOS and Windows validation failures blocking weekly release

2 participants