Skip to content

ci: [SDK-5828] wait for OneSignal-XCFramework tag instead of CocoaPods - #77

Merged
fadi-george merged 1 commit into
mainfrom
fadi/sdk-5828
Dec 1, 2026
Merged

fadi-george merged 1 commit into
mainfrom
fadi/sdk-5828

Conversation

@fadi-george

Copy link
Copy Markdown
Contributor

Description

One Line Summary

Gate wrapper PR fan-out on the OneSignal-XCFramework git tag instead of the CocoaPods CDN.

Details

Motivation

CocoaPods trunk becomes read-only on Dec 2, 2026. OneSignal/OneSignal-iOS-SDK#1823 stops pushing podspecs. The wait-for-ios-pod job would then poll the CDN for 50 minutes and fail, and versions (which every wrapper job needs) would be skipped. No wrapper PRs would open.

Scope

  • wait-for-ios-pod is replaced by wait-for-ios-release. It checks the OneSignal-XCFramework tag ios_version (10 tries, 30s apart). Wrapper SPM builds resolve that tag. The publish job pushes it before calling this workflow.
  • Removes the now-unused wait-for-cocoapods-pod action.
  • Android-only runs still skip the job, as before.

Must merge before OneSignal/OneSignal-iOS-SDK#1823.

Testing

Manual testing

  • The tag check finds 5.8.1 and reports 9.9.9 as missing.
  • The YAML parses. actionlint reports only an existing SC2086 info in the versions job, which is also on main.

Affected code checklist

  • Notifications
    • Display
    • Open
    • Push Processing
    • Confirm Deliveries
  • Outcomes
  • Sessions
  • In-App Messaging
  • REST API requests
  • Public API changes

Checklist

Overview

  • I have filled out all REQUIRED sections above
  • PR does one thing

Final pass

  • Code is as readable as possible.
  • I have reviewed this PR myself, ensuring it meets each checklist item

🤖 Generated with Claude Code

CocoaPods trunk is read-only, so iOS releases no longer publish the pod and the CDN wait would always time out.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@nan-li nan-li left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

No blocking findings. I ran the new step's script locally. It exits 0 on the first attempt for 5.8.1, and makes 10 attempts then exits 1 for a missing tag. The lookup is exact, so 5.8 and an empty version both 404. Nothing else in the org references the deleted action or the old job id, and the only callers are the iOS and Android publish-release.yml.

One timing note. If we push one more version to trunk before the cutoff, that release should run before this merges. The CDN wait removed here is what keeps React Native's pod update OneSignalXCFramework step from racing CDN propagation.

@fadi-george
fadi-george merged commit 36cd5e8 into main Dec 1, 2026
@fadi-george
fadi-george deleted the fadi/sdk-5828 branch December 1, 2026 21:21
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.

2 participants