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

refresh job token before triggering job #1685

Merged
merged 1 commit into from
Aug 29, 2024

Conversation

motatoes
Copy link
Contributor

@motatoes motatoes commented Aug 29, 2024

Digger Team: When a run is queued and waits to be applied until user approved. We precreate job token and the expiry is set to two hours later. It means if a user waits more than that time before approving the token would have expired and job would h ave failed. In this PR we always refresh the token just before triggering the job in order to make sure that token would have not expired

@motatoes motatoes changed the title fix storage refresh job token before triggering job Aug 29, 2024
@motatoes motatoes merged commit 7c38ccf into develop Aug 29, 2024
10 checks passed
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