Skip to content

ci: decouple CocoaPods publish from core release pipeline#738

Merged
nickolas-dimitrakas merged 4 commits into
mainfrom
ci/decouple-cocoapods-from-release
Apr 9, 2026
Merged

ci: decouple CocoaPods publish from core release pipeline#738
nickolas-dimitrakas merged 4 commits into
mainfrom
ci/decouple-cocoapods-from-release

Conversation

@nickolas-dimitrakas

Copy link
Copy Markdown
Contributor

Background

A CocoaPods trunk push failure during the release-core-sdk job currently blocks all downstream work — kit mirroring, kit GitHub releases, and kit pod publishing — even though those steps don't depend on CocoaPods being published first.

What Has Changed

  • Removed the core podspec publish step from the release-core-sdk job so it only handles building artifacts and creating the GitHub release.
  • Added a new publish-core-cocoapods job that runs after all GitHub releases and kit mirroring are complete.
  • Updated publish-kit-cocoapods to depend on publish-core-cocoapods (kit pods require the core pods on trunk first).

The entire CocoaPods publish pipeline is now a self-contained tail section of the workflow. If it fails, all GitHub releases and kit mirrors will have already completed successfully.

Checklist

  • Self-review completed
  • Tested locally

Made with Cursor

Move core podspec publishing out of the release-core-sdk job into a
dedicated publish-core-cocoapods job that runs after all GitHub releases
and kit mirroring complete. This ensures a CocoaPods failure cannot block
the rest of the release process.

Made-with: Cursor
@nickolas-dimitrakas nickolas-dimitrakas requested a review from a team as a code owner April 9, 2026 19:47
@cursor

cursor Bot commented Apr 9, 2026

Copy link
Copy Markdown

PR Summary

Medium Risk
Reorders the release workflow by moving core CocoaPods trunk publishing into a new downstream job, which could impact release sequencing and failure behavior for production releases if the new dependencies/conditions are wrong.

Overview
Core release workflow no longer publishes the core podspecs during release-core-sdk; it now only builds artifacts and creates the GitHub release.

CocoaPods publishing is moved into a new tail job, publish-core-cocoapods, which runs after kit mirroring/releases complete, and kit pod publishing is updated to depend on this new core-publish job (instead of the core release job).

Reviewed by Cursor Bugbot for commit 8f9089b. Bugbot is set up for automated code reviews on this repo. Configure here.

@nickolas-dimitrakas nickolas-dimitrakas changed the title ci(release): decouple CocoaPods publish from core release pipeline ci: decouple CocoaPods publish from core release pipeline Apr 9, 2026
@nickolas-dimitrakas nickolas-dimitrakas self-assigned this Apr 9, 2026
@github-actions

github-actions Bot commented Apr 9, 2026

Copy link
Copy Markdown

📦 SDK Size Impact Report

Measures how much the SDK adds to an app's size (with-SDK minus without-SDK).

Metric Target Branch This PR Change
App Bundle Impact 1.75 MB 1.75 MB +N/A
Executable Impact 848 bytes 848 bytes +N/A
XCFramework Size 6.38 MB 6.38 MB +N/A

➡️ SDK size impact change is minimal.

Raw measurements

Target branch (main):

{"baseline_app_size_kb":84,"baseline_executable_size_bytes":75464,"with_sdk_app_size_kb":1876,"with_sdk_executable_size_bytes":76312,"sdk_impact_kb":1792,"sdk_executable_impact_bytes":848,"xcframework_size_kb":6528}

This PR:

{"baseline_app_size_kb":84,"baseline_executable_size_bytes":75464,"with_sdk_app_size_kb":1876,"with_sdk_executable_size_bytes":76312,"sdk_impact_kb":1792,"sdk_executable_impact_bytes":848,"xcframework_size_kb":6528}

denischilik
denischilik previously approved these changes Apr 9, 2026

@cursor cursor 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.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 785e994. Configure here.

Comment thread .github/workflows/release-publish.yml Outdated
thomson-t
thomson-t previously approved these changes Apr 9, 2026
thomson-t
thomson-t previously approved these changes Apr 9, 2026
@nickolas-dimitrakas nickolas-dimitrakas merged commit 0bed61c into main Apr 9, 2026
3 checks passed
@nickolas-dimitrakas nickolas-dimitrakas deleted the ci/decouple-cocoapods-from-release branch April 9, 2026 20:09
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.

4 participants