Skip to content

Split platform releases and enforce inclusive CRAP limits - #5

Merged
mindful-time merged 1 commit into
mainfrom
fix/independent-platform-releases
Oct 5, 2026
Merged

mindful-time merged 1 commit into
mainfrom
fix/independent-platform-releases

Conversation

@mindful-time

Copy link
Copy Markdown
Owner

Summary

  • Add independent Release Linux, Release macOS Apple Silicon, Release macOS Intel, and Release Windows workflows. Each manual candidate builds only its own platform; matching protected preview tags prepare only that platform's draft prerelease.
  • Extract native build/signing into a same-commit reusable workflow. Keep exact-commit main CI, notarization/stapling, Authenticode publisher checks, protected environments, attestations, and draft-only publication. Skipped sibling builders cannot block the selected platform; failed/skipped/cancelled selected builds cannot publish.
  • Keep the optional complete desktop bundle and Homebrew/Chocolatey recipe generation, but exclude independent preview tags to avoid duplicate publication.
  • Validate preview artifact contracts and pin the relevant bootstrap identity. Linux needs no Apple/Windows credentials. The website aggregates published previews per platform (including pagination), prefers stable releases, and never promises missing or wrong-channel downloads.
  • Make CRAP limits inclusive: >=5 warns; new/regressed or newly boundary-crossing >=10 fails, including analyzer-epsilon crossings. Keep existing-debt baseline unchanged; unchanged/improving debt is visible, not reset. Blocking scores produce error annotations.

Verification

  • Full local quality suite, full staged pre-commit hook, and full exact-commit pre-push hook passed: formatting, compile, Clippy, build, 113 Rust tests, 86 Node tests, 10 workflow tests, installer/static-archive regressions, actual LLVM coverage/CRAP, pinned Smells, OSV, redacted Gitleaks.
  • Observed red-green regressions for CRAP exactly10, actual coverage-gate enforcement, platform tag routing, independent workflow construction, website platform availability, pagination, and error annotations.
  • Native YAML parsed by workflow tests (including publication success/failure/skip/cancellation/manual truth table); actionlint passed.
  • Standards review: no findings. Spec review: pagination issue fixed with red-green regression; no remaining findings.
  • Smells: 0 blocking/errors/ignored; 486 existing Rust review signals remain and are not adjudicated by this focused non-Rust review. No suppressions or baseline regeneration.

Release handoff

This PR does not merge itself, create tags, publish releases, deploy the website, change credentials, or change server protections. Owner merges after required PR checks; the new main commit must pass all integration CI checks before preview tags/candidates.

The fresh Apple Silicon candidate signed successfully but notarization still returned HTTP401. This refactor does not claim that authentication issue is fixed or that native clean-machine acceptance is complete. Windows still needs its configured signing credentials. Those failures do not prevent a Linux preview in its own workflow once the exact main commit passes CI.

Spec: docs/RELEASE_GATES_SPEC.md, final section; reviewed against 8dd7108ace1b138a4155cf980bfa32263ae53d2d.

@mindful-time
mindful-time merged commit f7c041c into main Oct 5, 2026
7 checks passed
@mindful-time
mindful-time deleted the fix/independent-platform-releases branch October 5, 2026 11:46
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.

1 participant