microsoft / vscode-deploy-azure

VS code extension: Deploy To Azure, which helps set up CI/CD for deployment to Azure Resources.
MIT License
18 stars 19 forks source link

Too many failures in last 3 weeks: Couldn't get repository details. #139

Closed vineetmimrot closed 3 years ago

vineetmimrot commented 4 years ago

Couldn't get repository details. Ensure your repo is hosted on Azure Repos or GitHub.

https://dataexplorer.azure.com/clusters/ddtelvscode/databases/VSCodeExt?query=H4sIAAAAAAAAA31TTU9qMRDd8ytqN0KiYuLSYPLCM083hniNLk29HbBa2mamBTHG3+4UvJcK17fsnI85004tREFRYYxmDmIk1Mz3z0714LxnGbmhVNdANE3239WDx9ep9Utm3arl5QJcpPtq7DVcvsXeh1g+A4KoABeAd+zGtvMgLrb2LWejqtjYeHetxcFIHJKfw72yCU6oqR+2Am4ALhdvVE45ElK9J4RjDcH6ldzycqhOzrD2bmpmuVCbWh8HE8AaB1kL2V2LgD4QDxcUEjy+kHf9CZcAowEabHkIwTN3YTQg06OniMbN+mv9SYkWohef0MHK6H1FCxX0OiHyKImAiSHFfdUu40dASrZDsqnvd6kihF8bEIOFhNIT1WhC5MfoGuYnXgibC1cWQelV+xwdHr9SCztA9Mg7RmoG+w4lOugNh81+/CfEp5ARE+/Dlr0zK2+pLOHy9g6M+xR9OX6G+vXaTZrlOpJjbhThj9O3qSgLOeHAzXnN4R5SHMm/hoJVq41Mt4pyiO/nzXGq/D1Bg5bnvR04DzRVxq6xzn/8BSuDxNX7AwAA

let starttime = ago(30d); let NsuccessfulGHWorkflow = RawEventsVSCodeExt | where ServerTimestamp > starttime | where VSCodeSessionId != 'someValue.sessionId' | where ExtensionName == "azure-deploy" | where EventName == "azure-deploy/configure-cicd-pipeline" | extend props = parse_json(Properties) | extend repoprovider = tostring(props.repoprovider) | extend journeyid = tostring(props.journeyid) | extend currentuserinput = tostring(props.currentuserinput) | extend result = tostring(props.result) | extend currentStep = tostring(props.currentstep) | extend subscriptionid = tostring(props.subscriptionid) | extend pipelinealreadyconfigured = tostring(props.pipelinealreadyconfigured) | extend errormessage = tostring(props.errormessage) //| where pipelinealreadyconfigured =~ "true" //| where subscriptionid != "" //| where currentStep !in~ ("CheckInPipeline","CreateAndRunPipeline", "PostPipelineCreation" ,"DisplayCreatedPipeline") | where result =~ "failed"; NsuccessfulGHWorkflow

@kanika1894 Please check this issue.

kanika1894 commented 4 years ago

For the logs having error message "Couldn't get respository details", the failure is because repoProvider isn't even GitHub or Azure. The repo providers for these errors are : GitLab/Bigbucket/Other. I don't think we are supporting these providers, that's why such errors.

vineetmimrot commented 4 years ago

Please double check, the ratio of these failures are very high. So I doubt, people are using other than GitHub, ADO or local git scenario. We should also check the repo analysis logs. Please try to raise this string fix PR.

-- Best Regards, Vineet Mimrot

From: kanika1894 notifications@github.com Date: Monday, 10 August 2020 at 12:19 AM To: microsoft/vscode-deploy-azure vscode-deploy-azure@noreply.github.com Cc: Vineet Mimrot Vineet.Mimrot@microsoft.com, Author author@noreply.github.com Subject: Re: [microsoft/vscode-deploy-azure] Too many failures in last 3 weeks: Couldn't get repository details. (#139)

For the logs having error message "Couldn't get respository details", the failure is because repoProvider isn't even GitHub or Azure. The repo providers for these errors are : GitLab/Bigbucket/Other. I don't think we are supporting these providers, that's why such errors.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fvscode-deploy-azure%2Fissues%2F139%23issuecomment-671087758&data=02%7C01%7CVineet.Mimrot%40microsoft.com%7Ce2c5617373424c01c3d908d83c94f48d%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637325957747358824&sdata=OgwBdmY4prm%2FYC4tlmoO68wNTPy5OZ7H7L4plnXEHjU%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAA73DWJ7NKGRRRII36EF7V3R73VTZANCNFSM4PXQA4VA&data=02%7C01%7CVineet.Mimrot%40microsoft.com%7Ce2c5617373424c01c3d908d83c94f48d%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637325957747363802&sdata=y6TBB8lMEa0OsA8XkDaLvjuv1udPiljfXf4IWpB%2BlyA%3D&reserved=0.

kanika1894 commented 4 years ago

PR for better insights to handle different repo provider scenarios : https://github.com/microsoft/vscode-deploy-azure/pull/140

github-actions[bot] commented 4 years ago

This issue is stale because it has been open for 7 days with no activity.

kanika1894 commented 3 years ago

Closing as this error is whitelisted