• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

supabase / cli / 28097044625
65%
develop: 65%

Build:
Build:
LAST BUILD BRANCH: gh-readonly-queue/develop/pr-5718-64df2ba83785d849fd230ef7aea7cf5a60de63c4
DEFAULT BRANCH: develop
Ran 24 Jun 2026 12:04PM UTC
Jobs 1
Files 228
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

24 Jun 2026 12:02PM UTC coverage: 64.886%. Remained the same
28097044625

push

github

web-flow
ci(cli): add macOS code signing with rcodesign (#5675)

Implement Phase 1 of macOS code signing to fix the SIGKILL issue on
macOS 26+ (CLI-1621). The Bun SFE and Go sidecar binaries are now signed
with a full ad-hoc signature during the build pipeline, replacing the
degenerate linker-signed signature that AMFI rejects.

## Changes

- **Build pipeline signing**: Added `signDarwinBinaries()` and
`resolveSignMode()` to `apps/cli/scripts/build.ts` to sign macOS
binaries (`supabase` and `supabase-go`) with `rcodesign` between
compilation and archiving. This ensures all distribution channels (npm,
Homebrew, GitHub Releases) ship the signed bytes.

- **CI integration**: Updated
`.github/workflows/build-cli-artifacts.yml` to install `rcodesign`
v0.29.0 (pinned with sha256), set `SUPABASE_CLI_REQUIRE_SIGNING=1` to
enforce signing in release builds, and verify signatures post-build
using `rcodesign print-signature-info`.

- **Smoke test verification**: Extended
`apps/cli/tests/smoke-test-macos.ts` with native signature verification
via new `verifyMacSignature()` helper in
`apps/cli/tests/helpers/macos-signature.ts`. On macOS runners, this
checks the signature is valid, carries the correct identifier
(`com.supabase.cli` / `com.supabase.cli-go`), and is no longer
linker-signed.

- **Documentation**: Added ADR 0013 documenting the decision, rationale,
and Phase 2 roadmap (Developer ID + notarization). Updated
`release-process.md` and `binary-distribution.md` to describe the
signing step and its role in the release pipeline.

## Implementation details

- **No Apple credentials required for Phase 1**: Full ad-hoc signatures
are self-contained and do not require an Apple Developer ID. This fixes
the SIGKILL without blocking on account provisioning.

- **Linux-only signing**: `rcodesign` runs on the existing Linux build
runner, avoiding a macOS job and pipeline split. Verification happens on
macOS smoke-test runners.

- **Graceful degradation**: Local builds without `... (continued)

10869 of 16751 relevant lines covered (64.89%)

10.29 hits per line

Coverage Regressions

Lines Coverage ∆ File
2
82.41
0.0% internal/storage/rm/rm.go
Jobs
ID Job ID Ran Files Coverage
1 28097044625.1 24 Jun 2026 12:04PM UTC 228
64.89
GitHub Action Run
Source Files on build 28097044625
  • Tree
  • List 228
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28097044625
  • 71338e67 on github
  • Prev Build on gh-readonly-queue/develop/pr-5664-04b9db490b668d7289ef5b3c591e8ee15babb465 (#28084420327)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc