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

New cron job to automatically retry failed trigger jobs #1035

Merged
merged 1 commit into from
Jan 15, 2025

Conversation

zackgalbreath
Copy link
Collaborator

Mitigates #1031

@zackgalbreath
Copy link
Collaborator Author

I initially tried to use the python-gitlab library (like we do for protected-publish), but frustratingly got stuck on actually retrying the trigger job. To retry a job you need to get() it first, but GitLab is funny about trigger jobs and returns 404 when you try to look them up individually.

@zackgalbreath
Copy link
Collaborator Author

This last force push reduced the amount of memory requested from 500M to 50M. This more closely matches what I'm seeing locally when running this command through time -l.

@zackgalbreath zackgalbreath merged commit 3d735ab into main Jan 15, 2025
15 checks passed
@zackgalbreath zackgalbreath deleted the retry_trigger_jobs branch January 15, 2025 14:23
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.

3 participants