Repository navigation
XSUP-78726: Generic API Event Collector - fix pagination crash, integer ID cursor, and unresolved placeholders #46246
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
Merged
amshamah419
merged 8 commits into
master
from
XSUP-78726-generic-api-collector-cursor-fixes
Nov 4, 2026
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
c55f84e
XSUP-78726: Fix Generic API Event Collector pagination crash and inte…
amshamah419 6c20815
XSUP-78726: Omit request params whose placeholder has no stored value…
amshamah419 dbde1ed
GenericAPIEventCollector: unwrap single-item list IDs for integer cur…
amshamah419 d4ef1c8
Merge remote-tracking branch 'origin/master' into XSUP-78726-generic-…
amshamah419 c815830
GenericAPIEventCollector: address AI review (parse stored ID once, RN…
amshamah419 4b2be3e
GAEC: stop pagination at the configured limit, skip events with non-i…
amshamah419 0704f48
GAEC: accept first-fetch integer IDs, keep cursor on events without I…
amshamah419 62b31cd
Merge branch 'master' into XSUP-78726-generic-api-collector-cursor-fixes
amshamah419 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
|
|
||
| #### Integrations | ||
|
|
||
| ##### Generic API Event Collector (Beta) | ||
|
|
||
| - Fixed an issue where fetching events failed with the *unhashable type: 'list'* error when *Is pagination needed* was enabled. The next page value is now sent as a query parameter for GET requests and in the JSON body for POST requests. | ||
| - Fixed an issue where pagination could loop indefinitely when the API kept returning the same next page value. | ||
| - Fixed an issue where the *integer* ID type was ignored, so the last fetched ID was the ID of the last event returned instead of the highest ID. | ||
| - Fixed an issue where events with an ID higher than the last fetched ID were not collected if their timestamp was older than the last fetch time when the ID type is *integer*. | ||
| - Fixed an issue where a request parameter referencing a placeholder with no stored value yet (for example, *@last_fetched_id* before the first ID was saved) was sent as literal text. Such parameters are now omitted from the request. | ||
| - Fixed an issue where fetching events failed with the *is not a valid number* error when the ID type is *integer* and the API returns the ID inside a single-item list. | ||
| - Fixed an issue where an event with a non-numeric ID failed the whole fetch when the ID type is *integer*. Such events are now skipped and logged. | ||
| - Fixed an issue where pagination ignored the *Number of incidents to fetch per fetch* parameter and continued up to 10,000 events. | ||
| - Fixed an issue where pagination sent an extra request when the API returned an empty next page value. | ||
| - Fixed an issue where the first fetch dropped events with timestamps older than the first fetch time when the ID type is *integer*. | ||
| - Fixed an issue where an event without an ID cleared the last fetched ID, causing the next fetch to start over. |
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.