Comments (3)
I believe marking a repository as disabled breaks this function.
I noticed failures in the eventlog.xml due to unable to access a repository that does show up when running
az repos list
. However, this repository was marked disabled, and is breaking theGitHttpClient.GetRepositoriesAsync
call.</Data>.... Application: w3wp.exe CoreCLR Version: 4.700.21.35901 .NET Core Version: 3.1.18 Description: The process was terminated due to an unhandled exception. Exception Info: Microsoft.VisualStudio.Services.Common.VssServiceException: TF401019: The Git repository with name or identifier {REDACTED_GUID_HERE} does not exist or you do not have permissions for the operation you are attempting. at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.HandleResponseAsync(HttpResponseMessage response, CancellationToken cancellationToken) at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.SendAsync(HttpRequestMessage message, HttpCompletionOption completionOption, Object userState, CancellationToken cancellationToken) at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.SendAsync[T](HttpRequestMessage message, Object userState, CancellationToken cancellationToken) at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.SendAsync[T](HttpMethod method, IEnumerable`1 additionalHeaders, Guid locationId, Object routeValues, ApiResourceVersion version, HttpContent content, IEnumerable`1 queryParameters, Object userState, CancellationToken cancellationToken) at BroomBot.BroomBotUtils.GetPullRequests(GitHttpClient gitClient, String project) in /home/vsts/work/1/s/BroomBot/BroomBotUtils.cs:line 24 at BroomBot.SweepBroom.Run(TimerInfo myTimer, ILogger log).......
EDIT: Confirmed this is the issue. Now that I renabled the repo, the eventlog is correctly showing pull requests being processed.
I'd be fine if we could just have a disable app error log as a warning instead of a terminating error.
Hey, @sheldonhull that's a great catch. I recently started a new full-time role and my ability to maintain this project has been a little limited. I appreciate you raising this and will add a check for disabled repos when I next get a chance.
from broombot.
Do we have any solution for the above issue?
from broombot.
@pawanprakashpal sorry for the delay in responding. As you might be able to tell, this is a pet project that doesn't enjoy the benefit of my full attention. There's no update on this issue. I'm hoping to set some time aside in a future hackathon to focus on it.
from broombot.
Related Issues (14)
- Test
- Teams Integration
- User configured option to alert or add reviewers
- Custom message for when a PR is abandoned
- Reporting, dashboarding
- Repo filtering
- Close/Update work items
- Docs - readme.md
- Docs - Deployment & User Config HOT 1
- Tag users in stale PR message HOT 1
- Apply a specific tag/label to stale PRs
- Possibility to execute commands HOT 1
- Pull Requests Draft Status Is Ignored HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from broombot.