Skip to content

Fix unnotarized macOS packaging gate - #844

Closed
GraciousGazelles wants to merge 11 commits into
mainfrom
repair/macos-unnotarized-assurance
Closed

GraciousGazelles wants to merge 11 commits into
mainfrom
repair/macos-unnotarized-assurance

Conversation

@GraciousGazelles

@GraciousGazelles GraciousGazelles commented Sep 9, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • require successful resolve and macOS build before unnotarized/preview packaging
  • keep explicit release request/build-required guards
  • cover packaging and publish success gates in planner tests

Validation

  • git diff --check
  • GitHub Actions CI for this exact head

Disposition

Superseded after the landed portions were incorporated through PR #845 and the remaining installer argument-forwarding repair was delivered by successor PR #847. The original branch and commit history are preserved for custody and audit; no source deletion is implied.

Successor: #847
Landed successor merge: fdd53b26b43c468a6928f9f6baf041115cce0b88

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for security reviews. Please try again later.

@gemini-code-assist gemini-code-assist Bot 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.

Code Review

This pull request introduces a new unnotarized release mode for Intel macOS assets, allowing for explicitly labeled ad-hoc signed assets on both stable and prerelease channels. It adds validation to ensure the macOS minimum deployment target is exactly Monterey 12.0, updates the installation script (install_sedna_release_asset) to support the new --macos-unnotarized flag, and updates the relevant tests and documentation. Feedback was provided on the installation script to use sys.argv[1:] instead of a hardcoded slice index sys.argv[1:16] for unpacking arguments in the inline Python script to improve robustness.

from pathlib import Path

work_dir, archive_name, checksum_name, metadata_name, release_tag, release_version, target, macos_preview, sbom_name, attestation_bundle_name, codex_sigstore_name, proxy_sigstore_name, require_linux_signatures, require_linux_provenance = sys.argv[1:15]
work_dir, archive_name, checksum_name, metadata_name, release_tag, release_version, target, macos_preview, macos_unnotarized, sbom_name, attestation_bundle_name, codex_sigstore_name, proxy_sigstore_name, require_linux_signatures, require_linux_provenance = sys.argv[1:16]

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

Using a fixed slice index like sys.argv[1:16] is fragile and prone to off-by-one errors if arguments are added or removed in the future. Since we are unpacking into a fixed number of variables, using sys.argv[1:] is cleaner, more robust, and Python will automatically raise a ValueError if the number of arguments does not match.

work_dir, archive_name, checksum_name, metadata_name, release_tag, release_version, target, macos_preview, macos_unnotarized, sbom_name, attestation_bundle_name, codex_sigstore_name, proxy_sigstore_name, require_linux_signatures, require_linux_provenance = sys.argv[1:]

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