Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-18175

Return token expiration hint for LFS download links

    XMLWordPrintable

Details

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      LFS client gets download links in batches of 100 (currently not configurable). If the files are big enough and/or internet connection is slow, LFS client might not be able to finish downloading all the files. In this case it'll fail with an error like:

      Authentication required: Invalid authentication token
      

      LFS batch API spec supports expiration hints in the response: expires_in and expires_at. Without these attributes LFS client assumes the download links never expire.

      Adding these attributes to the response payload would help LFS client to re-request the links when required.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dpenkin@atlassian.com Daniil Penkin
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: