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

[sc-21418] adds retry on network failures #1

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

dlively1
Copy link

@dlively1 dlively1 commented Apr 5, 2023

Adds retry capabilities for network failures

@shortcut-integration
Copy link

This pull request has been linked to Shortcut Story #21418: Retry network failures on vercel polling.

@dlively1 dlively1 requested a review from namoscato April 5, 2023 15:35
@dlively1 dlively1 self-assigned this Apr 5, 2023
@dlively1 dlively1 marked this pull request as ready for review April 5, 2023 15:36
@dlively1 dlively1 requested a review from codybswaney April 5, 2023 15:59
package-lock.json Outdated Show resolved Hide resolved
yarn.lock Outdated Show resolved Hide resolved
@@ -1,19 +1,13 @@
{
"systemParams": "darwin-x64-108",
"systemParams": "darwin-arm64-108",
Copy link
Author

Choose a reason for hiding this comment

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

Any insight into this change @namoscato ? I'm actually not super familiar with yarn.

Choose a reason for hiding this comment

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

I'm not intimately familiar with it either but don't think we have control over it given we're running this on M1s. It looks like this changed recently to x64 in UnlyEd#89, so let's roll with this proposal.

Choose a reason for hiding this comment

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

Curious.... how do we mean "we're running this on M1s"? Won't this be invoked via x86_64 architectures in github actions?

Admittedly, I'm not familiar with yarn so I may be misunderstanding what this represents.

Copy link

@namoscato namoscato Apr 5, 2023

Choose a reason for hiding this comment

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

Oh sorry, to be clear – we ran the yarn add command on an M1 to install this new package locally, which resulted in this .yarn-integrity change, which is committed to version control.

Reinstall new package on:
$ yarn --version
1.22.19

$ rm -rf node_modules/
$ git checkout main -- yarn.lock
$ yarn add @adobe/node-fetch-retry
yarn.lock Show resolved Hide resolved
@@ -1,19 +1,13 @@
{
"systemParams": "darwin-x64-108",
"systemParams": "darwin-arm64-108",

Choose a reason for hiding this comment

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

I'm not intimately familiar with it either but don't think we have control over it given we're running this on M1s. It looks like this changed recently to x64 in UnlyEd#89, so let's roll with this proposal.

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.

3 participants