Skip to content

darcbot handling multiple builds#1341

Merged
rokonec merged 8 commits into
dotnet:masterfrom
rokonec:rokonec/10361-darcbot-handling-multiple-builds
Aug 13, 2020
Merged

darcbot handling multiple builds#1341
rokonec merged 8 commits into
dotnet:masterfrom
rokonec:rokonec/10361-darcbot-handling-multiple-builds

Conversation

@rokonec

@rokonec rokonec commented Aug 12, 2020

Copy link
Copy Markdown
Member

@premun premun left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I mostly only reviewed TimelineIssueTriageService.cs since it seemed to be the important part

Comment thread src/DotNet.Status.Web/TimelineIssueTriageService.cs
Comment thread src/DotNet.Status.Web/TimelineIssueTriageService.cs
Comment thread src/DotNet.Status.Web/TimelineIssueTriageService.cs
Comment thread src/DotNet.Status.Web/TimelineIssueTriageService.cs Outdated
Comment on lines +278 to +281
return (!Object.ReferenceEquals(null, compareItem)) &&
(BuildId == compareItem.BuildId) &&
(RecordId == compareItem.RecordId) &&
(Index == compareItem.Index);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
return (!Object.ReferenceEquals(null, compareItem)) &&
(BuildId == compareItem.BuildId) &&
(RecordId == compareItem.RecordId) &&
(Index == compareItem.Index);
return !Object.ReferenceEquals(null, compareItem) &&
BuildId == compareItem.BuildId &&
RecordId == compareItem.RecordId &&
Index == compareItem.Index;

Comment thread src/DotNet.Status.Web/TimelineIssueTriageService.cs
Comment thread src/DotNet.Status.Web/TimelineIssueTriageService.cs
Comment thread src/DotNet.Status.Web/TimelineIssueTriageService.cs
Comment thread src/DotNet.Status.Web/TimelineIssueTriageService.cs
update.AddLabel(_labelName);
await gitHubClient.Issue.Update(issuePayload.Repository.Id, issuePayload.Issue.Number, update);

// add into notification epic -> currently 8/2020 its First Response epic

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
// add into notification epic -> currently 8/2020 its First Response epic
// add into notification epic -> currently 8/2020 it's First Responder epic

Comment thread src/DotNet.Status.Web/TimelineIssueTriageService.cs Outdated
Comment thread src/DotNet.Status.Web/TimelineIssueTriageService.cs
Comment thread src/DotNet.Status.Web/TimelineIssueTriageService.cs
Comment thread src/DotNet.Status.Web.Tests/TimeLineIssueServiceLogicTests.cs Outdated
Comment thread src/DotNet.Status.Web/Controllers/GitHubHookController.cs Outdated
@rokonec rokonec requested a review from lpatalas August 13, 2020 09:18
@rokonec rokonec requested a review from premun August 13, 2020 09:34
@rokonec rokonec merged commit 1d866fb into dotnet:master Aug 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants