Azure / Azure/azure-sdk-tools

Test recording upgrade concept in Test Proxy

Open
#8,083 4 comments 1 reaction 1 assignee Claimed by @scbedd View on GitHub
Central-EngSys
Dominant language
C#
Stars
135
Forks
260
Avg merge
1d 22h
Merged PRs (30d)
115

Description

Right now, if either Test Proxy or the SDK adds in new redaction patterns it requires tests for the SDK, or if Test Proxy is adding the redaction all SDKs affected by the new redaction, to re-record test recordings. While in most cases re-recording test recordings is straight forward, it isn't always. and some cases require complex resource deployment which may not be possible by everyone. And, in addition to how easy it is to setup resources, it just costs time to re-record test records, which may not be available quickly.

To ease this, I'm proposing a feature where Test Proxy has the ability to rewrite, or "upgrade", test recordings based on the changes to redactions without requiring a full re-recording to be performed. This should help reduce costs in these scenarios and make the process much quicker. And given new versions of Test Proxy are pushed out centrally, this could be made part of that process, rather than a case where a new version of Test Proxy is released with additional redactions that then breaks CI on affected SDKs without any change on their part.

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.