Skip to content

Keep the iOS release job green after a successful upload - #407

Open
morepriyam wants to merge 2 commits into
mainfrom
fix/358-ios-upload-exit
Open

morepriyam wants to merge 2 commits into
mainfrom
fix/358-ios-upload-exit

Conversation

@morepriyam

@morepriyam morepriyam commented Dec 4, 2026 •

Copy link
Copy Markdown
Collaborator

Part of #335.

Fixes #358. Pulse's iOS release job currently fails after App Store Connect accepts the build: Xcode 27.2's altool prints a cleanup error before reporting success, and fastlane 2.233.0 treats that line as an upload failure. The failed step also prevents the release tag from being created.

Pin prepare-expo-env and sign-archive-upload-ios to the released mieweb/actions v2.5.1, commit c7ed011a2dfbdda3c2747c33ce19dcc838c7af13. Its fastlane 2.242.0 recognizes successful altool output while preserving failure handling for rejected uploads. The prerequisite mieweb/actions#27 is merged and included in that release. This action requires Ruby 3.3 or newer; this workflow uses its unchanged default of Ruby 3.4.

Validation:

  • Prettier on .github/workflows/build-ios-from-expo.yml: passed with Node 24.18.0.
  • Ruby YAML parse and git diff --check: passed.
  • Both immutable action pins and version comments match the released SHA.
  • Existing desk evidence for the Fastlane update: all five captured-output cases behaved as expected, including rejection of a real failed upload. The release action's frozen bundle install also passed.
  • Remaining release gate: run the actual iOS workflow with upload_to_testflight: true; confirm the upload step and Tag the release are green and the build appears in TestFlight. The runner's signing, archive and upload path has not yet run with v2.5.1. Actionlint is unavailable locally and was not run.

Scope review:

  • One outcome: successful TestFlight uploads complete the iOS release job and allow tagging.
  • The workflow pins and their comments are the complete change; no app implementation, migration or dependency changes are required.
  • The diff is reviewable against main; its external prerequisite is merged and released as v2.5.1.
  • Relevant configuration checks passed; the remaining release gate is stated above.
  • Phone-flow review: N/A, CI configuration only; no phone UI or interaction changes.

On Xcode 27.2, altool prints a harmless ERROR: line about
'CDUploaderStateInfoResumeFilePath' before "UPLOAD SUCCEEDED with no
errors". fastlane 2.233.0, bundled with mieweb/actions v2.5.0, treats
that line as an upload error, so the job went red after every
successful upload and "Tag the release" was skipped.

Pin sign-archive-upload-ios to the mieweb/actions fix for #26, which
updates fastlane to 2.242.0. That release ignores altool's ERROR: lines
when the upload succeeded and still fails on "UPLOAD FAILED".
Copilot AI balanced review requested due to automatic review settings December 4, 2026 16:24

Copilot AI 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.

🔵 Needs a closer look

The upstream PR-head action pin could not be inspected through default-branch search, and final pin confirmation plus hosted Ruby 3.4/Xcode 27.2 signing, TestFlight upload, and release-tagging validation remain pending.

No open issues 🎉

What changed in this PR

Updates the standalone iOS upload action to use fastlane 2.242.0, addressing false failures after successful TestFlight uploads on Xcode 27.2 so release tagging can proceed.

Changes:

  • Pins sign-archive-upload-ios to the upstream fix commit.
  • Updates workflow comments to explain the mixed action versions.

The release-commit pin and end-to-end TestFlight validation remain pending.

File Description
.github/​workflows/​build-ios-from-expo.yml Updates the upload action pin and documents the fastlane fix.

Review effort: Balanced

Copilot AI balanced review requested due to automatic review settings December 5, 2026 04:33

Copilot AI 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.

🔵 Needs a closer look

The pinned v2.5.1 action could not be independently inspected, and the required Xcode 27.2 signing, upload, and release-tagging gate remains unverified.

No open issues 🎉

Review effort: Balanced

This branch has not been deployed

No deployments
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.

CI: the iOS TestFlight job fails after a successful upload (altool stderr line on Xcode 27.2)

3 participants