Skip to content

feat: add Azure_SpecialHeaders_ConditionalRequest azure-modular integration test#3978

Draft
Copilot wants to merge 2 commits into
mainfrom
copilot/implement-azure-specialheaders-conditionalrequest
Draft

feat: add Azure_SpecialHeaders_ConditionalRequest azure-modular integration test#3978
Copilot wants to merge 2 commits into
mainfrom
copilot/implement-azure-specialheaders-conditionalrequest

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 18, 2026

Adds Spector integration test coverage for azure/special-headers/conditional-request, which validates conditional request headers — both standard (If-Match, If-None-Match) and custom Azure-specific ones (x-ms-blob-if-match, x-ms-blob-if-none-match) — using the eTag type.

Changes

  • cadl-ranch-list.js — added azure/special-headers/conditional-request entry to azureModularTsps
  • generated/azure/special-headers/conditional-request/tspconfig.yaml, .gitignore, and rolled-up src/index.d.ts for ConditionalRequestClient
  • azureSpecialHeadersConditionalRequest.spec.ts — 4 test cases covering all mockapi scenarios:
    • postIfMatchIf-Match: "valid"
    • postIfNoneMatchIf-None-Match: "invalid"
    • postCustomIfMatchx-ms-blob-if-match: "valid"
    • postCustomIfNoneMatchx-ms-blob-if-none-match: "invalid"

@v-jiaodi
Copy link
Copy Markdown
Member

@copilot resolve the merge conflicts in this pull request

Copy link
Copy Markdown
Contributor Author

Copilot AI commented May 28, 2026

@copilot resolve the merge conflicts in this pull request

Merged main into this branch (commit dc6874b). The rename of cadl-ranch-list.jsspector-list.js from main was handled correctly — the azure/special-headers/conditional-request entry remains in the azureModularTsps array in the renamed file.

Copilot AI requested a review from v-jiaodi May 28, 2026 09:40
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