feat: Prepend launcher to heroku run commands for fir
#3374
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.
In order to make
heroku runcommands more intuitive by ensuring that common/expected binaries are in the dyno's path, we need to add "-- launcher" to the beginning of every command that users want to run. For example, if the user runs the commandheroku run bash -a MY_APP, the command should be called as "heroku run -- launcher bash -a MY_APP".Since there may be cases where user want to run the command without using "launcher", this change includes a param
--no-launcherwhich can be used to remove it from the command.This change was previously introduced to the
heroku run:insidecommand in #3116, so I refactored that command to use the shared helper that is used byheroku run.SOC 2 Compliance
GUS work item
Slack thread