Skip to content

Conversation

@stephahart
Copy link
Contributor

In our implementation of ListInstances for Nebius, we cycle through each region and call List(...) from the Nebius SDK to list all VMs in that region. We were not paginating this call, and it turns out the default page size it 10, so all VMs after the first 10 listed are assumed to be terminated. This PR updates the page size to 100 and introduces pagination.

@stephahart stephahart requested a review from a team as a code owner January 22, 2026 21:56
}

if len(response.Items) > 0 {
c.logger.Info(ctx, "found instances in project",
Copy link
Contributor

Choose a reason for hiding this comment

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

nonblocking: should we make this debug?

@stephahart stephahart merged commit 6c85c2a into main Jan 23, 2026
8 checks passed
@stephahart stephahart deleted the steph/fix-nebius-list-instances-pagination branch January 23, 2026 00:36
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.

3 participants