Skip to content
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

Fail a transfer when globus task has faults #136

Merged
merged 10 commits into from
Mar 5, 2025

Conversation

iparask
Copy link
Member

@iparask iparask commented Feb 27, 2025

This PR introduces a new feature. Librarian checks if a transfer has faults. In that case, it cancels it automatically and updates the queue item with a failed transfer.

@iparask iparask requested a review from JBorrow February 27, 2025 20:19
@iparask iparask marked this pull request as ready for review February 27, 2025 20:51
@iparask
Copy link
Member Author

iparask commented Mar 3, 2025

We can get the event list of the task, and there are different types of events that we can use to fails a task (here). For example, when we get permissions denied, globus does not cancel the task but restarts it over and over again. In such a case we should cancel it and update the permissions or the path.

We may want to increase the severity of some of these error codes to report to slack.

@JBorrow JBorrow merged commit 657cff3 into main Mar 5, 2025
5 of 7 checks passed
@JBorrow JBorrow deleted the gp/feat/fail_on_globusfaults branch March 5, 2025 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants