Skip to content

"Failed to run dartdoc" shows empty output #4675

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Komposten opened this issue Mar 27, 2021 · 6 comments
Closed

"Failed to run dartdoc" shows empty output #4675

Komposten opened this issue Mar 27, 2021 · 6 comments

Comments

@Komposten
Copy link

Komposten commented Mar 27, 2021

My package public_suffix has lost 10 points because dartdoc failed to run in the latest analysis. When I check the score page it says "Running dartdoc failed with the following output" but no output is provided:

image

@sethloco
Copy link

I had the same issue (es_compression) which seemed to happen around the time of the recent pub.dev outage. Of course, this is just a guess.

However, I did a small update to pub.dev just a moment ago and it seems to be fixed

@Komposten
Copy link
Author

Komposten commented Mar 27, 2021

Yeah, it probably fixes itself when the analysis is run again so I'm not too worried about that. It's just that the output probably should say something (whether it is actual dartdoc output or that the request to run the command failed or whatever). 🙂

@sethloco
Copy link

Your absolutely right...empty error output indicates there is probably some room to improve:)

@tiloc
Copy link

tiloc commented Mar 29, 2021

Same thing here for my just published package "faiadashu". No indication of a general outage. Also happens to colleagues of mine on a regular basis with their packages. I assumed it was because their package is huge (>10k files), but mine is very compact and it still happens.

@isoos
Copy link
Collaborator

isoos commented Mar 29, 2021

In case of faiadashu the log has an indication that no content was detected in the output: https://pub.dev/documentation/faiadashu/latest/log.txt

Not sure why that would be, the package looks fine otherwise, I'll investigate a bit more.

@isoos
Copy link
Collaborator

isoos commented Mar 30, 2021

Further investigation revealed that we have a few edge cases where we don't expose the fact that the process was timed out.
I agree, package:faiadashu seems to be small, and dartdoc seems to run much longer on it than similarly sized packages. We've started to collect some metrics over all the pub.dev packages, maybe it will expose a pattern there...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants