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

add retry for spdx data #1313

Merged
merged 5 commits into from
May 11, 2024
Merged

add retry for spdx data #1313

merged 5 commits into from
May 11, 2024

Conversation

codemonkey800
Copy link
Collaborator

Description

  • Extracts retry logic into util
  • Adds retry for fetching spdx license data

Demos

@codemonkey800 codemonkey800 added the maintenance Release Label: Used for categorizing maintenance PRs in automated CI release notes label May 6, 2024
@codemonkey800
Copy link
Collaborator Author

let's ignore the E2E tests for now, it seems like another PR is affecting this so will need to investigate

Copy link

@tihuan tihuan left a comment

Choose a reason for hiding this comment

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

Great refactor, @codemonkey800 👏 LGTM! Just one quick non-blocking comment out of curiosity 😁 Thank you!

frontend/src/pages/plugins/[name].tsx Outdated Show resolved Hide resolved
expect(actualRetryCount).toBe(expectedRetryCount);
});

it('should fail when the request fails too many times', async () => {
Copy link

Choose a reason for hiding this comment

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

love this test! I was actually checking to see if it throws on error lol

@codemonkey800 codemonkey800 merged commit 031531c into main May 11, 2024
7 of 12 checks passed
@codemonkey800 codemonkey800 deleted the jeremy/add-retry-for-spdx-data branch May 11, 2024 00:20
Copy link

This PR has been included in release: v24.05.0, see the release notes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Release Label: Used for categorizing maintenance PRs in automated CI release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants