-
Notifications
You must be signed in to change notification settings - Fork 41
Update headless-gui action in build (fix screenshots) #294
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
Conversation
See napari#283 (comment) for more details.
Fingers crossed! Edit2: Oh and @aganders3 could you also--optimistically--edit the deploy action? docs/.github/workflows/deploy_docs.yml Lines 56 to 65 in 0c7029e
|
Nice - hopefully. Bad news is I think I need to push a change and run it again because I think it needs a non-empty string to avoid the defaults 🤦. edit: and we need to keep waiting because as I am learning about JavaScript and GH-Actions APIs in real-time 🤦🤦. |
Just pointing out a weird traceback here in a recent build - possibly related but let's see how the docs look before I change anything else (for example trying another WM). |
Hm, the first screenshot on that page is still messed up, but the rest look better. I am looking at this build: https://github.com/napari/docs/actions/runs/7106959550 |
Yeah, the size is fixed, but the first widget is messed up. So I guess this fixes #285 only at the moment. |
391c66f
to
bd3775c
Compare
Okay actually I think that worked! @lucyleeow @psobolewskiPhD can you check the latest build? I converted to draft because this will still need a new release on the action. |
yes! Looks correct now in the artifact. I don't see issues in other pages! |
@Czaki I saw the same problems in the artifact from the 0.4.19 docs PR, so I think this will need to be cherry picked over to that branch. |
Okay I'm pretty sure this is good-to-go now using |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just checked the latest artifact and everything looks good.
Co-authored-by: Peter Sobolewski <[email protected]>
Should we get another review? Not sure who would be best... |
Also I question, I see from here: #283 (comment) it seems that the setup in GH and CircleCI is different. Would trying to mimic Talleys QT setup action to get consistency between CI workflows be a good idea? |
Not sure if the differences are a) required or b) significant. Either way I think changes to CircleCI workflows are out of scope of this PR, but maybe worth noting in an issue? |
No problem, it is more from a maintenance point of view - I guess we assume they both do the same thing, and if the docs look fine in CircleCI we assume they would look okay when we deploy but they use slightly different workflows? I am no good with Qt and window stuff though. (And I really don't know the ins and outs of our doc CIs) |
Thanks for merging @psobolewskiPhD 🚀 Note it did not close the two associated bugs automatically, probably because I edited in the "closing words". 🙁 |
I just wanted to be sure after deployment. Looks good though: |
# Description This PR updates the build_docs workflow to match the latest napari/docs workflow Specifically add concurrency (napari/docs PR: napari/docs#277 ) and to fix graphical issues related to the xvfb action ( napari/docs PR: napari/docs#294 )
This PR updates the build_docs workflow to match the latest napari/docs workflow Specifically add concurrency (napari/docs PR: napari/docs#277 ) and to fix graphical issues related to the xvfb action ( napari/docs PR: napari/docs#294 )
References and relevant issues
Hopefully f i x e sPretty sure now this fixes both #283 and #285Description
This configures the headless-gui action to not run the tiling window manager it uses by default. My thinking is the tiling behavior in the window manager is causing issues with certain screenshots. See #283 (comment) for more details.
This also updates the action to a new version with a more common default screen size. This change in bit-depth fixes the messed up magicgui screenshot.
Edit: I'm still not totally clear why the stable docs would look okay but I think this is worth trying.