class Dependabot::Clients::GithubWithRetries

def method_missing(method_name, *args, &block)

def method_missing(method_name, *args, &block)
  untried_clients = @clients.dup
  client = untried_clients.pop
  begin
    if client.respond_to?(method_name)
      mutatable_args = args.map(&:dup)
      T.unsafe(client).public_send(method_name, *mutatable_args, &block)
    else
      super
    end
  rescue Octokit::NotFound, Octokit::Unauthorized, Octokit::Forbidden
    raise unless (client = untried_clients.pop)
    retry
  end
end