Skip to content

build: add Darwin Bazel package contract#66

Merged
Jess Sullivan (Jesssullivan) merged 2 commits into
mainfrom
codex/darwin-bazel-package-target-20260607
Jun 8, 2026
Merged

build: add Darwin Bazel package contract#66
Jess Sullivan (Jesssullivan) merged 2 commits into
mainfrom
codex/darwin-bazel-package-target-20260607

Conversation

@Jesssullivan

Copy link
Copy Markdown

Summary

  • Add a pinned Bzlmod surface for TCFS package-contract targets.
  • Add tcfs_macos_pkg, a declared-input Bazel rule that wraps scripts/macos-build-pkg.sh.
  • Add the fixture-only target //build/macos:darwin_package_fixture_contract plus root alias //:darwin_package_fixture_contract.
  • Document the promotion boundary so the existing blocked //:darwin_package placeholder stays blocked until a real release-artifact target exists.

Validation

  • bash -n scripts/test-bazel-macos-package-contract.sh
  • shellcheck scripts/test-bazel-macos-package-contract.sh
  • bash scripts/test-bazel-macos-package-contract.sh
  • task lazy:test-bazel-macos-package-contract
  • bash scripts/test-macos-build-pkg.sh
  • bazel mod deps --lockfile_mode=error --noshow_progress
  • bazel query //build/macos:darwin_package_fixture_contract --noshow_progress
  • bazel build //build/macos:darwin_package_fixture_contract --noshow_progress
  • git diff --check

Boundary

This is a fixture-contract target and local rule validation, not production signing/notarization/stapling evidence and not a Darwin RBE proof. The follow-up GloriousFlywheel PR should classify a TCFS Darwin candidate only after a non-fixture release-artifact target exists.

Stack

Base PR: #65

@Jesssullivan Jess Sullivan (Jesssullivan) changed the base branch from codex/sync-origin-main-20260607-darwin-bazel to main June 8, 2026 03:12
@Jesssullivan Jess Sullivan (Jesssullivan) merged commit be99d51 into main Jun 8, 2026
3 checks passed
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