Skip to content

INTEG-3268 - fix bug in trusted_activities iter_all - #188

Merged
ceciliastevens merged 2 commits into
mainfrom
bugfix/INTEG-3268/infinite-trusted-activities-loop
Sep 30, 2026
Merged

ceciliastevens merged 2 commits into
mainfrom
bugfix/INTEG-3268/infinite-trusted-activities-loop

Conversation

@ceciliastevens

Copy link
Copy Markdown
Contributor

The trusted-activities API always returns a full page size, leading to an infinite loop with the old logic. This fixes it by keeping track of the IDs on the last page, only emitting what we haven't already emitted, and then stopping iteration when we have a smaller-than-full-page worth of trusted activities to emit.

@ceciliastevens
ceciliastevens force-pushed the bugfix/INTEG-3268/infinite-trusted-activities-loop branch from d56e134 to 51de4f4 Compare September 29, 2026 14:20
@ceciliastevens
ceciliastevens merged commit 8d3477c into main Sep 30, 2026
7 checks passed
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.

2 participants