Skip to content

Add pod update with retry for CocoaPods propagation issues#1618

Open
facumenzella wants to merge 4 commits intomainfrom
add-pod-update-with-retry
Open

Add pod update with retry for CocoaPods propagation issues#1618
facumenzella wants to merge 4 commits intomainfrom
add-pod-update-with-retry

Conversation

@facumenzella
Copy link
Member

Summary

Adds retry logic for pod update in iOS/macOS integration tests to handle CocoaPods CDN propagation delays during PHC bumps.

Changes

  • New pod-update-with-retry command with configurable retries (default: 5 retries, 5 min wait)
  • Added enable_retry parameter to ios-integration-test-cocoapods and macos-integration-test-cocoapods jobs
  • Retry is only enabled in deploy workflow (release branches) where PHC bumps run

How it works

  • On regular CI runs: pod update --repo-update runs once (no retry)
  • On release branches (PHC bumps): retries up to 5 times with 5-minute waits for CocoaPods propagation

Closes RevenueCat/sdks-circleci-orb#29

🤖 Generated with Claude Code

Adds retry logic for pod update in iOS/macOS integration tests to handle
CocoaPods CDN propagation delays during PHC bumps.

- New `pod-update-with-retry` command with configurable retries
- Retry is only enabled in deploy workflow (release branches)
- Defaults: 5 retries, 5 min wait between attempts

Closes RevenueCat/sdks-circleci-orb#29

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@facumenzella facumenzella requested a review from a team as a code owner February 6, 2026 15:34
@facumenzella facumenzella requested a review from vegaro February 6, 2026 15:36
Copy link
Contributor

@ajpallares ajpallares left a comment

Choose a reason for hiding this comment

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

Nice improvement! This should save us some manual retries 🚀

facumenzella and others added 2 commits February 6, 2026 17:23
The pod-update-with-retry command was running before build-flutter-project,
but flutter pub get (inside build-flutter-project) needs to run first to
generate the iOS/macOS project files including the Podfile.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
The pod update command requires Flutter.xcframework to exist, which
is created by flutter precache. Added platform parameter to run the
correct precache command for iOS/macOS.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants