Closed iisakkirotko closed 1 month ago
Your Render PR Server URL is https://solara-stable-pr-581.onrender.com.
Follow its progress at https://dashboard.render.com/web/srv-co6p6ken7f5s739tv1ag.
This stack of pull requests is managed by Graphite. Learn more about stacking.
Join @iisakkirotko and the rest of your teammates on Graphite
We can also see that currently ssg fails due to the assertion error, see the workflow run
Previously we attempted to close the playwrights after the threadpool has been closed. However, outside of the async context we only find
pw.browser
(as well as all other properties) to beNone
, which previously resulted in an error due to us asserting thatpw.browser is not None
. Closing the browser and context manager properly should ensure they don't drain any resources after ssg generation is done.I'm not sure if there is a concern that
close_playwrights
executes before the ssg is done, resulting in the opening of a new context, and that one not being closed.