Skip to content

Build PR prototypes on demand - #734

Open
twstokes wants to merge 3 commits into
trunkfrom
twstokes/ainfra-3348-optional-prototype-builds
Open

twstokes wants to merge 3 commits into
trunkfrom
twstokes/ainfra-3348-optional-prototype-builds

Conversation

@twstokes

@twstokes twstokes commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

Description

Each push to a PR builds the prototypes and uploads them to Firebase App Distribution, though few PRs need them. This PR builds them only when someone asks: a Deploy Prototype Builds? button in the Buildkite build. Part of AINFRA-3348, which frees up CI agents. Pocket Casts iOS and Studio already work this way.

  • The input sits in a group so that it blocks only the prototype step; the other checks run as before.
  • The pipeline has publish_blocked_as_pending = false, so a build whose button is never clicked reports passed and blocked (success) to GitHub, not pending.
  • The prototype step no longer sets notify: github_commit_status. Buildkite posted that status as pending as soon as the step waited for the input, which left a "Prototype Builds" check pending on every PR where nobody asked for prototypes. A failure still fails the overall build.
  • "Prototype Builds" isn't a required check, so merges aren't affected.

Testing Steps

  1. In this PR's Buildkite build, check that every step except the prototypes runs, that the build ends as passed and blocked, and that the PR shows no pending "Prototype Builds" check.
  2. Click Deploy Prototype Builds?, confirm, and check that the prototypes build and are uploaded.

🤖 Generated with Claude Code

Every push to a PR built a prototype, though few PRs need one. A
"Deploy Prototype Build?" input now gates the prototype step on PRs,
which frees CI agents (AINFRA-3348). The input sits in a group so that
it blocks only the prototype step.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@twstokes
twstokes requested a review from a team as a code owner October 15, 2026 14:01
twstokes and others added 2 commits October 15, 2026 10:29
The step's `github_commit_status` posted "Prototype Builds" as pending
while it waited for the input, and left it pending on every PR where
nobody asked for prototypes. A failure still fails the overall build.

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

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant