-
Notifications
You must be signed in to change notification settings - Fork 76
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
Handle CodeFlow conflicts gracefully #4387
Handle CodeFlow conflicts gracefully #4387
Conversation
Broken by dotnet#4376
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I reviewed all but the scenario tests, will have a look at them later
src/Microsoft.DotNet.Darc/DarcLib/VirtualMonoRepo/Exceptions.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.DotNet.Darc/DarcLib/VirtualMonoRepo/Exceptions.cs
Outdated
Show resolved
Hide resolved
...roductConstructionService/ProductConstructionService.DependencyFlow/InProgressPullRequest.cs
Outdated
Show resolved
Hide resolved
src/ProductConstructionService/ProductConstructionService.DependencyFlow/PullRequestUpdater.cs
Show resolved
Hide resolved
src/ProductConstructionService/ProductConstructionService.DependencyFlow/PullRequestUpdater.cs
Outdated
Show resolved
Hide resolved
src/ProductConstructionService/ProductConstructionService.DependencyFlow/PullRequestUpdater.cs
Outdated
Show resolved
Hide resolved
src/ProductConstructionService/ProductConstructionService.DependencyFlow/PullRequestUpdater.cs
Outdated
Show resolved
Hide resolved
src/ProductConstructionService/ProductConstructionService.DependencyFlow/PullRequestUpdater.cs
Outdated
Show resolved
Hide resolved
test/ProductConstructionService.ScenarioTests/ScenarioTestBase.cs
Outdated
Show resolved
Hide resolved
test/ProductConstructionService.ScenarioTests/ScenarioTests/ScenarioTests_CodeFlowConflicts.cs
Outdated
Show resolved
Hide resolved
…ndencyFlow/PullRequestUpdater.cs Co-authored-by: Přemek Vysoký <premek.vysoky@microsoft.com>
@dkurepa I think we should add a |
…ts' into dkurepa/PostCommentDuringConflicts
…he correct files are there
src/ProductConstructionService/ProductConstructionService.DependencyFlow/PullRequestUpdater.cs
Outdated
Show resolved
Hide resolved
…ndencyFlow/PullRequestUpdater.cs
src/ProductConstructionService/ProductConstructionService.DependencyFlow/PullRequestUpdater.cs
Show resolved
Hide resolved
test/ProductConstructionService.DependencyFlow.Tests/PullRequestUpdaterTests.cs
Outdated
Show resolved
Hide resolved
{ | ||
return pullRequest; | ||
} | ||
await Task.Delay(5000); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This waits for 3-4 minutes while the service checks every 5 minutes. So this might not be enough if we need an extra check? Or we trigger everything first and then wait until the service does it in the first go?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This check doesn't need to wait for the reminder to kick in. The comment should appear pretty fast after the subscription is triggered
test/ProductConstructionService.ScenarioTests/CodeFlowScenarioTestBase.cs
Outdated
Show resolved
Hide resolved
test/ProductConstructionService.ScenarioTests/CodeFlowScenarioTestBase.cs
Outdated
Show resolved
Hide resolved
test/ProductConstructionService.ScenarioTests/ScenarioTestBase.cs
Outdated
Show resolved
Hide resolved
src/ProductConstructionService/ProductConstructionService.DependencyFlow/PullRequestUpdater.cs
Outdated
Show resolved
Hide resolved
src/ProductConstructionService/ProductConstructionService.DependencyFlow/PullRequestUpdater.cs
Outdated
Show resolved
Hide resolved
src/ProductConstructionService/ProductConstructionService.DependencyFlow/PullRequestUpdater.cs
Outdated
Show resolved
Hide resolved
…stUpdaterTests.cs Co-authored-by: Přemek Vysoký <premek.vysoky@microsoft.com>
…TestBase.cs Co-authored-by: Přemek Vysoký <premek.vysoky@microsoft.com>
Co-authored-by: Přemek Vysoký <premek.vysoky@microsoft.com>
…ndencyFlow/PullRequestUpdater.cs Co-authored-by: Přemek Vysoký <premek.vysoky@microsoft.com>
src/Microsoft.DotNet.Darc/DarcLib/VirtualMonoRepo/Exceptions.cs
Outdated
Show resolved
Hide resolved
Co-authored-by: Přemek Vysoký <premek.vysoky@microsoft.com>
Co-authored-by: Přemek Vysoký <premek.vysoky@microsoft.com>
#4182