-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Unified Recorder] Investigate ResetSanitizer #18222
Comments
update readme (Azure#18222) * update readme * Update readme.python.md * Update readme.python.md
update readme (Azure#18222) * update readme * Update readme.python.md * Update readme.python.md
update readme (Azure#18222) * update readme * Update readme.python.md * Update readme.python.md
I did a bit of digging here. During record mode, sanitizers are not applied until recording is stopped and we're writing the recording to disk. This means that if we do something like:
Then the sanitizer will not be applied to either of the requests, since the sanitizers are only applied after all the requests have happened and the recording is complete. This means that ResetSanitizer doesn't actually do anything useful if placed in the middle of the test. Our current ResetSanitizer test assumes that the above works, with the sanitizer only being applied to the first request. In playback mode, the situation is different, with sanitizers being applied as each request comes in. Is this a bug or working as intended? Have we ever actually come across a need for ResetSanitizer to be used in this way? |
@timovv This is a product of adding features without thinking holistically of the process.
I have adjusted the naming of this issue to more properly reflect our discussion here. EDIT: I will not rename this issue. I got here by notifications and didn't notice this was sdk-for-js. Will post new issue in sdk-tools. |
Thanks for the follow up, Scott. Agreed that this is low priority. I'll update the title of this issue too and leave it in the backlog. |
Actually, on second thought, I think that the new issue covers this one well. I'll close this one out. |
#17379 added the ResetSanitizer but the feature doesn't seem to work as expected.
Investigate with @scbedd and find a way to fix it, update docs, add/unskip test.
The text was updated successfully, but these errors were encountered: