Is there no guarantee that a WorkunitsCallback wil...
# development
Is there no guarantee that a WorkunitsCallback will be called once with
there is. but if
is being used, they will finish asynchronously.
check your
Ah, so the issue is that that part of that callback's job is to log
so possibly the logs are being swallowed by pantsd?
after the console has gone away, output goes to the pants.log, yes
i mean: necessarily. if we finished the run 500ms before the plugin gets around to completing, we don’t tie up your console that whole time (and you can’t render something to the console once the console has been given back)
seems like that validation needs to move to the beginning of the run
i.e., on first call
sorry i missed this in review. not sure when it was made async vs when the logging was added
…or into the constructor of the callback
constructor of the callback is the only way to guarantee it always renders, but “first run” of the callback would work for any runs longer than 1 second