Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 25, 2025

Plan for Pageable LRO Spector Tests

  • Create new directory structure at /azure/core/lro/pageable
  • Create main.tsp with pageable LRO operation using GET method
  • Create mockapi.ts with mock API implementation
  • Validate the TypeSpec files with build command
  • Test the mock APIs with validation command
  • Apply code formatting
  • Add Python namespace
  • Add changelog under .chronus/changes
Original prompt

This section details on the original issue you should resolve

<issue_title>Need Spector tests for pageable LROs</issue_title>
<issue_description>### Clear and concise description of the problem

It should be in its own group, not added to existing lro/pageable test suites.

Checklist

  • Follow our Code of Conduct
  • Check that this issue is about the Azure libraries for typespec. For feature request in the typespec language or core libraries file it in the TypeSpec repo
  • Read the docs.
  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.</issue_description>

Comments on the Issue (you are @copilot in this section)

@msyyc Context: You could refer to existing LRO spector case https://github.com/Azure/typespec-azure/blob/main/packages/azure-http-specs/specs/azure/core/lro/standard/main.tsp and paging case https://github.com/Azure/typespec-azure/blob/main/packages/azure-http-specs/specs/azure/payload/pageable/main.tsp. Combine lro and paging to get lro-paging api

ASK:
(1) the http method shall be GET
(2) the interactive process is at first for lro then for paging</comment_new>


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 2 commits December 25, 2025 02:08
Copilot AI changed the title [WIP] Add Spector tests for pageable LROs Add Spector tests for pageable LROs Dec 25, 2025
Copilot AI requested a review from msyyc December 25, 2025 02:16
@pkg-pr-new
Copy link

pkg-pr-new bot commented Dec 25, 2025

Open in StackBlitz

npm i https://pkg.pr.new/Azure/typespec-azure/@azure-tools/azure-http-specs@3695

commit: 6a5bdde

Copilot AI requested a review from msyyc December 25, 2025 03:58
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.

Need Spector tests for pageable LROs

2 participants