limited-insurance-37393
02/26/2021, 10:02 PMwitty-crayon-22786
02/26/2021, 11:00 PMwitty-crayon-22786
02/26/2021, 11:01 PM@rule code should be side-effect free (or at least idempotent), so making actual changes to infra should likely happen in a @goal_rule using InteractiveProcess (which runs in the foreground, and won’t be retried by pants)flat-zoo-31952
02/27/2021, 8:02 PM@rule vs @goal_rule is going to make this all pretty interesting, since with infra stuff, much of your most important tests are very much side-effectivewitty-crayon-22786
02/27/2021, 9:40 PMwitty-crayon-22786
02/27/2021, 9:42 PM@goal_rule rather than building a binary and then running it in a wrapper script will (in the medium term) be that you can use https://github.com/pantsbuild/pants/issues/9462#issuecomment-716821870 to run it in a --watch / --loop modewitty-crayon-22786
02/27/2021, 9:43 PM