Skip to content

refactor(azure): wrap pull request queries - #45399

Draft
zharinov wants to merge 6 commits into
renovatebot:mainfrom
zharinov:refactor/azure-pull-request-query
Draft

refactor(azure): wrap pull request queries#45399
zharinov wants to merge 6 commits into
renovatebot:mainfrom
zharinov:refactor/azure-pull-request-query

Conversation

@zharinov

Copy link
Copy Markdown
Collaborator

Changes

Wrap Azure pull request queries in a repository-local helper with named options. The helper maps those options to the generated Azure SDK's positional parameters in one place. Query criteria, pagination, authentication, and returned values remain unchanged.

This draft is based on #45359 and must merge after it. Until #45359 lands, commit 0c2ebc2e0 is the refactor-only diff.

Context

Please select one of the following:

  • This closes an existing Issue, Closes: #
  • This doesn't close an Issue, but I accept the risk that this PR may be closed if maintainers disagree with its opening or implementation

AI assistance disclosure

Did you use AI tools to create any part of this pull request?

Please select one option and, if yes, briefly describe how AI was used (e.g., code, tests, docs) and which tool(s) you used.

  • No — I did not use AI for this contribution.
  • Yes — minimal assistance (e.g., IDE autocomplete, small code completions, grammar fixes).
  • Yes — substantive assistance (AI-generated non‑trivial portions of code, tests, or documentation). Codex using GPT-5.6 Sol generated the refactor and pull request description under my direction.
  • Yes — other (please describe):

Use of AI in replying to PR comments

Who answers review comments:

  • @username will read and reply directly. Name the account.
  • An agent will draft replies and @username will read them before they are posted. Name the account.
  • Nobody has explicitly committed to replying.

Documentation (please check one with an [x])

  • I have updated the documentation, or
  • No documentation update is required

How I've tested my work (please select one)

I have verified these changes via:

  • Code inspection only, or
  • Newly added/modified unit tests, or
  • No unit tests, but ran on a real repository, or
  • Both unit tests + ran on a real repository

The public repository: N/A

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