-
Notifications
You must be signed in to change notification settings - Fork 43
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
DataDeps.jl behavor in CI when a file cannot be read #141
Comments
ENV["CI"]="true"
?
Ah yeah, sounds like you had a race. On the surface an enviroment variable makes sense, but other than just abortinging i think no other options make sense. |
Yeah, I think an option that forces an abort rather than asking a question would be very useful here. I find DataDeps very useful in non-interactive contexts as well. |
We can probably duplicate this logic and introduce a |
I've been encountering some intermittent hangs on some CI builds such as
But I can't send any input so I'm forced to restart the job or build.
I was wondering whether it made sense to pick a default behavior when
ENV["CI"]="true"
or provide an additional environment variable likeDATADEPS_CANNOT_READ_FILE
that can take on the values"abort"
,"retry"
, or"remove_and_retry"
.Perhaps my real issue is a race condition but I thought it might be worth opening an issue about this too.
The text was updated successfully, but these errors were encountered: