Skip to content

fix: use continuation-token pagination and full version responses - #9701

Open
farhann1 wants to merge 2 commits into
mainfrom
farhannawaz/rle-api-pagination
Open

fix: use continuation-token pagination and full version responses#9701
farhann1 wants to merge 2 commits into
mainfrom
farhannawaz/rle-api-pagination

Conversation

@farhann1

@farhann1 farhann1 commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Fixes #9702

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
20 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates RLE environment APIs to use continuation-token pagination and consume complete version resources directly.

Changes:

  • Replaces legacy cursor fields with nextContinuationToken.
  • Eliminates per-version detail requests.
  • Updates pagination and history tests.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
client.go Adds shared paginated response handling.
list.go Uses continuation-token pagination.
show.go Consumes full version responses.
client_test.go Updates query-preservation coverage.
list_test.go Updates pagination and version-history tests.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@github-actions

Copy link
Copy Markdown

📋 Prioritization Note

Thanks for the contribution! The linked issue isn't in the current milestone yet.
Thank you for logging this issue; our team is reviewing it. If you need urgent prioritization, tag Rick Winter (@RickWinter) and Kristen Womack (@kristenwomack) to let us know.

Copilot AI review requested due to automatic review settings August 24, 2026 11:20

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Comment on lines +193 to 195
if version.Id == current.Id && version.Version == current.Version {
version = *current
} else {
resolved, err := client.getEnvironmentVersion(ctx, current.Name, summary.Version)
if err != nil {
return nil, err
}
version = *resolved
}
@azure-sdk-automation

Copy link
Copy Markdown
Contributor

azure.ai.rle PR build

Note

This is an unsigned development build. Install it only if you trust this PR.

Install the extension:

azd ext install "https://azuresdkartifacts.z5.web.core.windows.net/azd/extensions/pr/9701/azure-ai-rle.zip"
  • Version: 0.4.0-preview.pr.9701.6737067
  • Merge commit: 6da663c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ext-rle azure.ai.rle extension

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update RLE CLI for continuation-token pagination and full version responses

2 participants