Error logs lost in processLogLine #1268
Labels
impact/usability
Something that impacts users' ability to use the product easily and intuitively
kind/bug
Some behavior is incorrect or out of spec
Describe what happened
I am tracing a problem reported in pulumi/pulumi-awsx#1401 - it appears that in the case of a docker image build failure, not all log output is returned to the Pulumi user, making the troubleshooting experience extra difficult.
Tracing the code, I believe there is something that might be at play here, namely when processing buildkit output with processLogLine the code errors out too early on the first error, instead of logging every line.
I think we might be hitting the
return "", fmt.Errorf("%s", jm.Error.Message)
case.Sample program
See pulumi/pulumi-awsx#1401.
Log output
N/A
Affected Resource(s)
docker.Image and awsx.ecr.Image
Output of
pulumi about
Additional context
N/A
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered: