Azure / Azure/azure-sdk-tools

[Test-Proxy] Create a CI Analyze step for verifying UA header in recordings

Open
#2,872 2 comments 0 reactions 1 assignee Claimed by @scbedd View on GitHub
feature-request Test-Proxy
Dominant language
C#
Stars
135
Forks
260
Avg merge
1d 22h
Merged PRs (30d)
115

Description

Currently one of our preflight checklist items is to verify the User Agent header is correctly formatted.
We could add a step the Analyze pipeline to use the test recordings to verify the UA header is accurate.

[Here's an example of an incorrect header](https://github.com/Azure/azure-sdk-for-python/blob/1e6036066a7d807449f353fcdd6c565ffb7536e8/sdk/cognitivelanguage/azure-ai-language-questionanswering/tests/recordings/test_create_and_deploy_project.test_create_project.yaml#L17)

This step should probably _not_ enforce the most up-to-date package version in the UA header, or it will force recordings to be re-recorded with every new version. Which ideally would be nice, is probably not practically realistic for all SDKs.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.