-
-
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
Build: exception with build while rclone sync is running #11544
Comments
Here is a repository that reliable triggers this exception: |
I'm going to put this on next sprint so we don't forget about it. It's not a common bug, however the failure case isn't great as it is a silent failure to the user. |
This is not a silent failure to the user. We are failing the builds if that happens: readthedocs.org/readthedocs/projects/tasks/builds.py Lines 945 to 961 in 6aa2757
They should see |
Seems like that is just our logging though, not reporting/notification to the user. From the attached conversation, this is the build the user reported: https://app.readthedocs.org/projects/bt-tools/builds/25303128/ There's no failure mentioned there besides the generic failure: At least there is a notification, so not silent technically, but there is no indication of what actually failed there. |
Yeah, BuildApp exception always shows the generic one by design. We don't want to expose the user with cryptic rclone related or similar issues. They are internal issues. |
We should mention something to the user though, not just a generic failure. It indeed does not need to mention rclone, but does need to specifically call out what the user is noticing. I would not mention "Error uploading ..." as uploading is a background technical implementation, without the user knowing what is happening in this step. Instead, what we should communicate to the user is that their documentation was not updated, or might have only been partially updated, and to resolve the issue they can try rebuilding again. In this particular case, retrying will not fix the problem though. |
Good point 👍 |
We will need to create a specific exception with readthedocs.org/readthedocs/projects/tasks/builds.py Lines 480 to 483 in 6aa2757
message_id or not.
|
A user noticed a build failure which seems to be the repository contents causing some error with rclone:
Sentry Issue: READTHEDOCS-ORG-RYA
I tried this locally, but didn't see much more in the ways of stderr or rclone error output, so we will need to dig a little deeper into the command execution.
Front conversations
The text was updated successfully, but these errors were encountered: