Skip to content

Conversation

@harsha-nalluru
Copy link
Contributor

@harsha-nalluru harsha-nalluru commented Jan 6, 2022

Fixes #19743
Fixes #19858
Fixes #19860

What's going on?

@ghost ghost added the customer-reported Issues that are reported by GitHub users external to the Azure organization. label Jan 6, 2022
@ghost
Copy link

ghost commented Jan 6, 2022

Thank you for your contribution harsha-nalluru! We will review the pull request and get back to you soon.

- Existing recordings are played back as responses to the HTTP requests in the tests

Please refer to the [guidelines on Record and Playback](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/test-utils/recorder/GUIDELINES.md) for more details.
Please refer to the [guidelines on Record and Playback](https://github.com/Azure/azure-sdk-for-js/blob/c06170fbaf39e81496f8009a0da93d470d8c9f88/sdk/test-utils/recorder/GUIDELINES.md) for more details.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any reason to use a constant commit here?

Copy link
Contributor

@HarshaNalluru HarshaNalluru Jan 12, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the comment @EmmaZhu.
We are coming up with a new recorder based on the proxy tool built by the ENG SYS team.
Eventually, we'll be migrating all the services(tests) to use the new recorder.

Here's the migration guide - #19210

The guides are different for the old and new recorders.
Since storage is still on the old recorder, I'm pointing it to the docs that are relevant to the old recorder for storage.
Once storage packages are migrated to use the new proxy-tool based recorder, we'll update these links too.

@timovv
Copy link
Member

timovv commented Jan 12, 2022

Now that #18227 is in, we'll need to update the template to point to the rebranded package when this PR goes in.

Copy link
Member

@deyaaeldeen deyaaeldeen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@check-enforcer
Copy link

This pull request is protected by Check Enforcer.

What is Check Enforcer?

Check Enforcer helps ensure all pull requests are covered by at least one check-run (typically an Azure Pipeline). When all check-runs associated with this pull request pass then Check Enforcer itself will pass.

Why am I getting this message?

You are getting this message because Check Enforcer did not detect any check-runs being associated with this pull request within five minutes. This may indicate that your pull request is not covered by any pipelines and so Check Enforcer is correctly blocking the pull request being merged.

What should I do now?

If the check-enforcer check-run is not passing and all other check-runs associated with this PR are passing (excluding license-cla) then you could try telling Check Enforcer to evaluate your pull request again. You can do this by adding a comment to this pull request as follows:
/check-enforcer evaluate
Typically evaulation only takes a few seconds. If you know that your pull request is not covered by a pipeline and this is expected you can override Check Enforcer using the following command:
/check-enforcer override
Note that using the override command triggers alerts so that follow-up investigations can occur (PRs still need to be approved as normal).

What if I am onboarding a new service?

Often, new services do not have validation pipelines associated with them, in order to bootstrap pipelines for a new service, you can issue the following command as a pull request comment:
/azp run prepare-pipelines
This will run a pipeline that analyzes the source tree and creates the pipelines necessary to build and validate your pull request. Once the pipeline has been created you can trigger the pipeline using the following comment:
/azp run js - [service] - ci

@HarshaNalluru HarshaNalluru enabled auto-merge (squash) January 14, 2022 23:50
ghost pushed a commit to Azure/azure-sdk-tools that referenced this pull request Jan 14, 2022
`docker image` = `"1294199"`
`dotnet tool version` = `1.0.0-dev.20220113.1`
These versions were tested at Azure/azure-sdk-for-js#19724.

This PR will sync all 8 repos to get the newer proxy tool everywhere.
@HarshaNalluru HarshaNalluru merged commit 2caa462 into Azure:main Jan 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

customer-reported Issues that are reported by GitHub users external to the Azure organization.

Projects

None yet

5 participants