Skip to content

Split prototype build into separate build and upload steps#16456

Draft
Copilot wants to merge 2 commits intotrunkfrom
copilot/split-prototype-build-process
Draft

Split prototype build into separate build and upload steps#16456
Copilot wants to merge 2 commits intotrunkfrom
copilot/split-prototype-build-process

Conversation

Copy link
Contributor

Copilot AI commented Dec 15, 2025

Splits the prototype build process into independent build and upload steps, enabling artifact reuse and independent retry of upload failures without rebuilding. Follows the pattern established in Pocket Casts iOS.

Changes

Fastlane

  • Added build_for_prototype_build lane: builds enterprise IPA to artifacts/
  • Added upload_prototype_build lane: uploads IPA and dSYM to Firebase/Sentry
  • Kept build_and_upload_prototype_build for backward compatibility (calls both lanes)

Buildkite Pipeline

  • PR builds: Automated two-step process (build → upload) with artifact passing
  • Trunk builds: Manual approval gate, then build → upload steps
  • Build step artifacts: artifacts/*.ipa, artifacts/*.app.dSYM.zip
  • Upload step depends on build completion and retrieves artifacts

Scripts

  • prototype-build.sh: calls build_for_prototype_build only
  • prototype-upload.sh: new script calling upload_prototype_build

Differences from Pocket Casts iOS

PR builds run automatically without manual approval (trunk builds still require approval).

Original prompt

This section details on the original issue you should resolve

<issue_title>Split building from uploading the Prototype Build</issue_title>
<issue_description>Update the local automation and how it is called in Buildkite to split building the Prototype Build for Enterprise distribution via Firebase from uploading it to Firebase.

Use Pocket Casts iOS as a reference. In particular:

Unlike Pocket Casts iOS, however, prototype builds from PRs on this project do not require user input to begin; they should run on every build triggered from a PR.

See also https://linear.app/a8c/issue/AINFRA-1624/split-prototype-build-build-from-upload-via-dedicated-ci-steps-in</issue_description>

Comments on the Issue (you are @copilot in this section)

@dangermattic Thanks for reporting! 👍 @mokagio Created this to see how Copilot will cope with it. But waiting for #16432 to be merged before assigning it.

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

@dangermattic
Copy link
Collaborator

1 Message
📖 This PR is still a Draft: some checks will be skipped.

Generated by 🚫 Danger

Co-authored-by: mokagio <1218433+mokagio@users.noreply.github.com>
Copilot AI changed the title [WIP] Update automation to split prototype build and upload steps Split prototype build into separate build and upload steps Dec 15, 2025
Copilot AI requested a review from mokagio December 15, 2025 22:06
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.

Split building from uploading the Prototype Build

3 participants