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

Fixes Unleash client stops fetching #615 #616

Merged
merged 2 commits into from
May 22, 2024
Merged

Conversation

HenrikBacher
Copy link
Contributor

@HenrikBacher HenrikBacher commented May 22, 2024

Fixes #615 by treating http 404 as a recoverable error

chriswk
chriswk previously approved these changes May 22, 2024
Copy link
Contributor

@chriswk chriswk left a comment

Choose a reason for hiding this comment

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

Thanks for this PR. Kinda worried about your server setup if you get intermittent 404s for a server instance, but I'll merge this since you added it to the backoff logic. At least we won't see the client get a 404 and therefore end up in a retry loop we did earlier.

@chriswk
Copy link
Contributor

chriswk commented May 22, 2024

Waiting for the build to go green before merging.

Copy link
Contributor

@chriswk chriswk left a comment

Choose a reason for hiding this comment

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

Yes

@chriswk
Copy link
Contributor

chriswk commented May 22, 2024

The reason for the fail here was reported on client-specifications. Will bump to 5.1.6 on main, but will merge this.

@chriswk chriswk merged commit a8cbb48 into Unleash:main May 22, 2024
0 of 4 checks passed
HenrikBacher added a commit to HenrikBacher/unleash-client-node that referenced this pull request May 23, 2024
chriswk pushed a commit that referenced this pull request May 24, 2024
renovate bot added a commit to Unleash/unleash that referenced this pull request Jun 3, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [unleash-client](https://togithub.com/Unleash/unleash-client-node) |
[`5.5.2` ->
`5.5.3`](https://renovatebot.com/diffs/npm/unleash-client/5.5.2/5.5.3) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/unleash-client/5.5.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/unleash-client/5.5.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/unleash-client/5.5.2/5.5.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/unleash-client/5.5.2/5.5.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>Unleash/unleash-client-node (unleash-client)</summary>

###
[`v5.5.3`](https://togithub.com/Unleash/unleash-client-node/releases/tag/v5.5.3)

[Compare
Source](https://togithub.com/Unleash/unleash-client-node/compare/v5.5.2...v5.5.3)

#### What's Changed

- Making it clearer that the API token needs to be passed via custom
headers by [@&#8203;alvinometric](https://togithub.com/alvinometric) in
[Unleash/unleash-client-node#604
- Updated README to use ESM by
[@&#8203;alvinometric](https://togithub.com/alvinometric) in
[Unleash/unleash-client-node#605
- chore(deps): update dependency typescript to v5.4.5 by
[@&#8203;renovate](https://togithub.com/renovate) in
[Unleash/unleash-client-node#600
- chore(deps): update dependency semver to v7.6.1 by
[@&#8203;renovate](https://togithub.com/renovate) in
[Unleash/unleash-client-node#607
- chore(deps): update dependency sinon to v17.0.2 by
[@&#8203;renovate](https://togithub.com/renovate) in
[Unleash/unleash-client-node#608
- chore(deps): bump tar from 6.1.13 to 6.2.1 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[Unleash/unleash-client-node#603
- chore(deps): update dependency sinon to v18 by
[@&#8203;renovate](https://togithub.com/renovate) in
[Unleash/unleash-client-node#613
- chore(deps): update dependency semver to v7.6.2 by
[@&#8203;renovate](https://togithub.com/renovate) in
[Unleash/unleash-client-node#612
- chore(deps): update dependency eslint to v8.57.0 by
[@&#8203;renovate](https://togithub.com/renovate) in
[Unleash/unleash-client-node#610
- Fixes Unleash client stops fetching
[#&#8203;615](https://togithub.com/Unleash/unleash-client-node/issues/615)
by [@&#8203;HenrikBacher](https://togithub.com/HenrikBacher) in
[Unleash/unleash-client-node#616

#### New Contributors

- [@&#8203;alvinometric](https://togithub.com/alvinometric) made their
first contribution in
[Unleash/unleash-client-node#604
- [@&#8203;HenrikBacher](https://togithub.com/HenrikBacher) made their
first contribution in
[Unleash/unleash-client-node#616

**Full Changelog**:
Unleash/unleash-client-node@v5.5.2...v5.5.3

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNzcuOCIsInVwZGF0ZWRJblZlciI6IjM3LjM3Ny44IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Unleash client stops fetching
2 participants