Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Made github-repo-access-refresh runnable as a job #10935

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

barankyle
Copy link
Member

Summary

Logging in with GitHub was taking notably longer than other SSO methods because it was performing a refresh of the user's Github repo access. Made a new service to call this function that can be run as a job, and running it as a job on Kubernetes.

createExecutorJob now has an optional param to not wait for the job to finish before resolving for this and similar situations where you don't care to check if the job is finished. Default is to waitForFinish to be true.

Subtasks Checklist

Breaking Changes

References

closes #insert number here

QA Steps

Logging in with GitHub was taking notably longer than other
SSO methods because it was performing a refresh of the user's
Github repo access. Made a new service to call this function
that can be run as a job, and running it as a job on Kubernetes.

createExecutorJob now has an optional param to not wait for the
job to finish before resolving for this and similar situations
where you don't care to check if the job is finished. Default
is to waitForFinish to be true.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant