-
Notifications
You must be signed in to change notification settings - Fork 46
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
fix: request in batches of 25 when waiting for actions #611
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The /actions?id= endpoint should only be request at most 25 actions at once, or the extra actions might not be returned at all.
6519ef1
to
da778f6
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #611 +/- ##
==========================================
- Coverage 67.83% 67.82% -0.01%
==========================================
Files 48 48
Lines 5011 5010 -1
==========================================
- Hits 3399 3398 -1
Misses 1193 1193
Partials 419 419 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
lukasmetzner
approved these changes
Mar 11, 2025
This was referenced Mar 11, 2025
jooola
pushed a commit
that referenced
this pull request
Mar 19, 2025
<!-- section-start changelog --> In this release, the `api_endpoint` metric labels changed for all our API requests. Please make sure to update your setup if you were relying on them. The new labels are now easier to understand, see the example below: - the path `/volumes/64314930` now has the label `/volumes/-` instead of `/volumes/` - the path `/volumes/64314930/actions/resize` now has the label `/volumes/-/actions/resize` instead of `/volumes/actions/resize` ### Features - support go v1.24 (#604) - drop go v1.21 (#604) - **exp**: remove sliceutil package (#610) - drop go v1.22 (#602) (#621) - redefine `api_endpoint` metric labels (#626) ### Bug Fixes - request in batches of 25 when waiting for actions (#611) - missing response from requests return values (#613) - move primary ip client request/response structs to schema package (#633) <!-- section-end changelog --> --- <details> <summary><h4>PR by <a href="https://github.com/apricote/releaser-pleaser">releaser-pleaser</a> 🤖</h4></summary> If you want to modify the proposed release, add you overrides here. You can learn more about the options in the docs. ## Release Notes ### Prefix / Start This will be added to the start of the release notes. ```rp-prefix In this release, the `api_endpoint` metric labels changed for all our API requests. Please make sure to update your setup if you were relying on them. The new labels are now easier to understand, see the example below: - the path `/volumes/64314930` now has the label `/volumes/-` instead of `/volumes/` - the path `/volumes/64314930/actions/resize` now has the label `/volumes/-/actions/resize` instead of `/volumes/actions/resize` ``` ### Suffix / End This will be added to the end of the release notes. ```rp-suffix ``` </details> Co-authored-by: releaser-pleaser <>
apricote
pushed a commit
to hetznercloud/fleeting-plugin-hetzner
that referenced
this pull request
Mar 20, 2025
…0.1 (hetznercloud/fleeting-plugin-hetzner!230) This MR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github.com/hetznercloud/hcloud-go/v2](https://github.com/hetznercloud/hcloud-go) | require | minor | `v2.19.1` -> `v2.20.1` | --- ### Release Notes <details> <summary>hetznercloud/hcloud-go (github.com/hetznercloud/hcloud-go/v2)</summary> ### [`v2.20.1`](https://github.com/hetznercloud/hcloud-go/blob/HEAD/CHANGELOG.md#v2201) [Compare Source](hetznercloud/hcloud-go@v2.20.0...v2.20.1) ##### Bug Fixes - panic when a request did not set the OpPath for instrumentation ([#​635](hetznercloud/hcloud-go#635)) ### [`v2.20.0`](https://github.com/hetznercloud/hcloud-go/blob/HEAD/CHANGELOG.md#v2200) [Compare Source](hetznercloud/hcloud-go@v2.19.1...v2.20.0) In this release, the `api_endpoint` metric labels changed for all our API requests. Please make sure to update your setup if you were relying on them. The new labels are now easier to understand, see the example below: - the path `/volumes/64314930` now has the label `/volumes/-` instead of `/volumes/` - the path `/volumes/64314930/actions/resize` now has the label `/volumes/-/actions/resize` instead of `/volumes/actions/resize` ##### Features - support go v1.24 ([#​604](hetznercloud/hcloud-go#604)) - drop go v1.21 ([#​604](hetznercloud/hcloud-go#604)) - **exp**: remove sliceutil package ([#​610](hetznercloud/hcloud-go#610)) - drop go v1.22 ([#​602](hetznercloud/hcloud-go#602)) ([#​621](hetznercloud/hcloud-go#621)) - redefine `api_endpoint` metric labels ([#​626](hetznercloud/hcloud-go#626)) ##### Bug Fixes - request in batches of 25 when waiting for actions ([#​611](hetznercloud/hcloud-go#611)) - missing response from requests return values ([#​613](hetznercloud/hcloud-go#613)) - move primary ip client request/response structs to schema package ([#​633](hetznercloud/hcloud-go#633)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever MR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this MR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box --- This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDguMCIsInVwZGF0ZWRJblZlciI6IjM5LjIxMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The
/actions?id=
endpoint should only be request at most 25 actions at once, or the extra actions might not be returned at all.