[scripts] Fail edit-recipe-wrapper if input comes from `led get-builder`

`led get-builder <builder> | ./scripts/led-edit-recipe-wrapper.py | led
launch` produces failing jobs, e.g.:
https://chrome-swarming.appspot.com/task?id=65335344c6660510

Error message:
could not invoke luciexe: launching luciexe: fork/exec /b/s/w/ir/kitchen-checkout/luciexe: no such file or directory

It has probably always been broken, since I don't think I tested with
`led get-builder` when I first wrote this script. I think there might be
an upstream bug in `led edit-isolated` that makes it not work properly
for job definitions fetched with `led get-build`, but I didn't feel like
debugging upstream code at the moment, so for now we can just emit a
warning from `led-edit-recipe-wrapper.py` if the input comes from `led
get-builder`.

Change-Id: Ib9e1b5ef0587c3054a5e8db7127787cfe50ed77c
Reviewed-on: https://fuchsia-review.googlesource.com/c/infra/infra/+/929653
Commit-Queue: Auto-Submit <auto-submit@fuchsia-infra.iam.gserviceaccount.com>
Reviewed-by: Chris Lewis <cflewis@google.com>
Fuchsia-Auto-Submit: Oliver Newman <olivernewman@google.com>
1 file changed
tree: fd2620d6f8a9fff12b1e64342019a39883b0e52c
  1. artifacts/
  2. buildbucket/
  3. checkout/
  4. cmd/
  5. execution/
  6. flagutil/
  7. functools/
  8. gerrit/
  9. gitiles/
  10. monorail/
  11. rpcutil/
  12. scripts/
  13. third_party/
  14. vendor/
  15. .gitignore
  16. AUTHORS
  17. go.mod
  18. go.sum
  19. LICENSE
  20. manifest
  21. PATENTS
  22. README.md
README.md

infra

This repo contains tools and config files necessary to run infrastructure related to builds, code review, version control, and continuous integrations.