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

If an upload request is more than a day old then cancel it and retry #219

Merged
merged 1 commit into from
Jun 27, 2023

Conversation

syoung-smallwisdom
Copy link
Collaborator

These requests will always fail and will attempt to reauthenticate which will also fail.

@dephillipsmichael

This is a band-aid to attempt to clear the orphaned files and restart after an authentication failure.

I also added some additional logging.

These requests will always fail and will attempt to reauthenticate which will also fail.
Copy link
Contributor

@Erin-Mounts Erin-Mounts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good

@github-actions
Copy link

Unit Test Results

  36 files    36 suites   25s ⏱️
  71 tests   70 ✔️ 0 💤 1
110 runs  109 ✔️ 0 💤 1

For more details on these failures, see this check.

Results for commit a41ebb8.

@dephillipsmichael
Copy link
Contributor

Looks good I think. I just want to verify that this would catch any uploads that failed to send on previous versions of the sdk, correct?

@syoung-smallwisdom
Copy link
Collaborator Author

Looks good I think. I just want to verify that this would catch any uploads that failed to send on previous versions of the sdk, correct?

Yes, there's a different (more complicated) fix that would be needed to clear the upload request.

@syoung-smallwisdom syoung-smallwisdom merged commit 31d140f into main Jun 27, 2023
2 of 4 checks passed
@syoung-smallwisdom syoung-smallwisdom deleted the syoung/upload-restart branch June 27, 2023 21:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants