-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Unify build_env and setup_env #5672
Comments
I'm not sure to follow this issue.
|
Code is hard to read and follow, the We could still use separated environments, because we don't know the docker image to use at the clone step (this is known after parsing the config file). But the rest of things need to be refactored. |
If an exception is raised before setting the self.build and self.version objects, we ended up with those having the value of `{}` (empty dict). In send_notification we expect to have these objects initialized. We should refactor this to only have one point where to catch exceptions and send the notification from there. Related to readthedocs#5672
Currently we are acquiring 3 locks. We should only have 2 (we can't have only one because of readthedocs#5672)
We have to be careful with this because on |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Currently we are using two different build instances
https://github.com/rtfd/readthedocs.org/blob/2e797fa1b45fe9772c6cf77c4fd55731d515585d/readthedocs/projects/tasks.py#L454-L454
https://github.com/rtfd/readthedocs.org/blob/2e797fa1b45fe9772c6cf77c4fd55731d515585d/readthedocs/projects/tasks.py#L536
We have some places where we are expecting for the
setup_env
attr.This should be only one instance.
The text was updated successfully, but these errors were encountered: