feat: add reviewapps:create and reviewapps:wait commands#3816
Open
chap wants to merge 4 commits into
Open
Conversation
Adds Review Apps `create` and `wait` commands. - `heroku reviewapps:create -p <pipeline> -b <branch> [--wait]` creates a review app for a pipeline branch. The backend resolves the connected repo and source blob (the CLI sends a `resolve` source URL), so no client-side repo/archive resolution happens. The branch is validated against the pipeline's connected repository before creating (404 -> "Branch not found"). Mirrors `addons:create` async handling: `--wait`/`--wait-interval` poll to completion with a spinner and desktop notification, otherwise it prints how to follow along in the background. - `heroku reviewapps:wait <app> [--wait-interval]` polls provisioning status to completion, surfacing errored review apps. Only in-progress statuses (pending/creating/deleting) are polled; terminal statuses return immediately. Notifications fire only when at least one poll interval elapsed.
chap
force-pushed
the
chap/reviewapps-create-wait
branch
from
July 22, 2026 16:23
ab721a8 to
ff070bb
Compare
chap
marked this pull request as ready for review
July 22, 2026 16:23
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds Review Apps
createandwaitcommands.heroku reviewapps:create -p <pipeline> -b <branch> [--wait]— creates a review app for a pipeline branch. The backend resolves the connected repo and source blob (the CLI sends aresolvesource URL), so no client-side repo/archive resolution happens. Mirrorsaddons:createasync handling:--wait/--wait-intervalpoll to completion with a spinner and desktop notification, otherwise it prints how to follow along in the background.heroku reviewapps:wait [app]— polls provisioning status to completion, surfacing errored review apps. Likeaddons:wait.Help Text
Type of Change
Breaking Changes (major semver update)
!after your change type to denote a change that breaks current behaviorFeature Additions (minor semver update)
Patch Updates (patch semver update)
Testing
Notes:
The create call uses the flat
POST /review-appsendpoint (pipeline in the body) with aresolvesource blob URL; the backend resolves the actual source.Steps:
heroku reviewapps:create -p <pipeline> -b <branch> --waitprovisions a review app and exits when complete; without--waitit returns immediately and prints thereviewapps:waitfollow-up command.Screenshots (if applicable)
Related Issues
https://gus.lightning.force.com/lightning/r/ADM_Work__c/a07EE00002fHK5HYAW/view