witty-crayon-22786
10/07/2021, 6:44 PMBuiltPackage
, and was wondering if you had any thoughts on whether streaming logging would be beneficial as packages are built: https://github.com/pantsbuild/pants/issues/13153curved-television-6568
10/07/2021, 7:07 PMwitty-crayon-22786
10/07/2021, 8:15 PM@rule
with an intermediate provider of the output… but that’s doesn’t work for unionswitty-crayon-22786
10/07/2021, 8:15 PMwitty-crayon-22786
10/07/2021, 8:18 PM@goal_rules
end up “chained” has in the past been to have some other goal depend on the same type (BuiltPackage
, or whatever the input to the package
goal ended up being)… but it’s odd in the case of publish
because it’s `publish`’s sideeffect that you actually want to wait for.curved-television-6568
10/07/2021, 8:19 PMwitty-crayon-22786
10/07/2021, 8:19 PMpublish
had gone with “the side-effect is executed by `@rule`s” rather than “the side-effect is executed by the `@goal_rule`”, you could do that same thing herewitty-crayon-22786
10/07/2021, 8:21 PMSo perhaps it is a dedicated hook that publish could offer specifically..maybe…? i’m not sure that i see how to do it generically for a
@goal_rule
, given that it doesn’t actually produce anythingwitty-crayon-22786
10/07/2021, 8:21 PMwitty-crayon-22786
10/07/2021, 8:21 PMcurved-television-6568
10/07/2021, 8:23 PMcurved-television-6568
10/07/2021, 8:23 PMwitty-crayon-22786
10/07/2021, 8:23 PMwitty-crayon-22786
10/07/2021, 8:23 PMwitty-crayon-22786
10/07/2021, 8:24 PMpublish
have optional structured output? e.g. --json
, etccurved-television-6568
10/07/2021, 8:24 PMwitty-crayon-22786
10/07/2021, 8:24 PMcurved-television-6568
10/07/2021, 8:27 PMwitty-crayon-22786
10/07/2021, 8:28 PMBuiltPackage
or publish’s output type would be good too.curved-television-6568
10/07/2021, 8:28 PMwitty-crayon-22786
10/07/2021, 8:28 PMBuiltPackage
might not include quite enough structured information yetwitty-crayon-22786
10/07/2021, 8:29 PMwitty-crayon-22786
10/07/2021, 8:29 PMcurved-television-6568
10/07/2021, 8:29 PM