Skip to content

Complete the public CLI exit-code contract - #60

Merged
jordancalhoun merged 1 commit into
nextfrom
fix/54-cli-exit-code-contract
Sep 2, 2026
Merged

Complete the public CLI exit-code contract#60
jordancalhoun merged 1 commit into
nextfrom
fix/54-cli-exit-code-contract

Conversation

@jordancalhoun

Copy link
Copy Markdown
Collaborator

Summary

  • document the stable CLI exit-code table and the compatibility change from the historical catch-all status 255
  • add dedicated signing failures (status 6) by separating package construction from the productsign stage for both component and distribution packages
  • preserve build/process status 5 for non-signing failures and classify stapling with notarization status 7
  • cover every documented failure class through the CLI entry point

Closes #54

Verification

  • swift test (111 tests)
  • ./scripts/verify-loop.sh
  • swift build -c release
  • xcodebuild -project swiftpkg.xcodeproj -scheme Swiftpkgr -configuration Release CODE_SIGNING_ALLOWED=NO build

Add a dedicated signing failure status for component and distribution package builds, document the compatibility change, and cover every public failure class through the CLI entry point.\n\nCloses #54
@coderabbitai

coderabbitai Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Team

Run ID: cea604c3-cb76-4c1f-868a-c0dc0ad20180

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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

Comment @coderabbitai help to get the list of available commands.

@jordancalhoun jordancalhoun linked an issue Sep 2, 2026 that may be closed by this pull request
6 tasks
@jordancalhoun
jordancalhoun merged commit 4dd22ea into next Sep 2, 2026
2 checks passed
@jordancalhoun
jordancalhoun deleted the fix/54-cli-exit-code-contract branch September 2, 2026 12:30
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.

Complete the public CLI exit-code contract

1 participant