-
Notifications
You must be signed in to change notification settings - Fork 13
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
Docs never seem to be able to deploy on Documenter 1.0 #31
Comments
Same happens to me in https://github.com/bsc-quantic/Tenet.jl/actions/runs/6215787902/job/16869026625 Docs DO deploy but time increased from 20min to 2h! |
I wonder if it could be https://github.com/JuliaDocs/MarkdownAST.jl/blob/99e0f82c1e3cc16c862cd3636936e3bcb6591a42/src/node.jl#L118, if we are generating/logging tons and tons of stacktraces (note the profiling in the linked CI script points exactly there). Since the main thing docdeploy does differently is it setups up a GHA compatible logger so that doctest failures will show up as annotations on the PR. And I believe Documenter v1 is the first version w/ that code running. Also, looking at the code, I think GitHubActionsLogger doesn't filter based on loglevel, and instead leaves that up to GHA. So if there is super duper verbose debug logging, we are passing it out to GHA and leaving it to them to filter; maybe that is slow? (Or the stacktrace calls, if indeed Documenter is doing tons of them?) I don't think it is a dependency issue, as GHA only depends on JSON v0.21, and Documenter also depends on JSON and allows v0.21 as the latest compatible release. |
I think julia-actions/GitHubActions.jl#33 may have fixed the issue. If anyone experience this can try again and let me know, that would be helpful! |
Yes, seems to have worked @ericphanson! The CI completed in the expected time SciML/FiniteVolumeMethod.jl#50. This can be closed then I believe, unless @mofeing doesn't also see the same improvements? |
I've just tried it and can confirm that documentation has returned back to normal times. |
Thanks @ericphanson for acting so quickly and fixing it! |
I'm copypasting an issue from JuliaDocs/Documenter.jl#2264, since it seems like it might be more related to this action.
A relevant reply from @mortenpi:
Originally posted by @mortenpi in JuliaDocs/Documenter.jl#2264 (comment)
Any ideas on what might be happening based on those logs ((https://github.com/DanielVandH/FiniteVolumeMethod.jl/actions/runs/6213368725/job/16864357366?pr=50)? I'm not sure how to properly debug with this action directly locally.
The text was updated successfully, but these errors were encountered: