-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
fix(merges): Derive projects from group IDs #81434
Open
armenzg
wants to merge
2
commits into
master
Choose a base branch
from
fix/merging_across_multiple_projects/armenzg
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The developer may be viewing multiple projects, however, they may merge issues belonging to the same project. If all groups belong to the same project, support merging them. Fixes #81433
github-actions
bot
added
the
Scope: Backend
Automatically applied to PRs that change backend components
label
Nov 28, 2024
armenzg
commented
Nov 28, 2024
"""Even if the UI calls with multiple projects, if the groups belong to the same project, we should merge them.""" | ||
projects = [self.create_project(), self.create_project()] | ||
proj1 = projects[0] | ||
groups = [self.create_group(proj1), self.create_group(proj1)] |
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.
Notice that both groups are created for the same project even though the API is going to be called with multiple project ids.
Codecov ReportAttention: Patch coverage is ✅ All tests successful. No failed tests found.
Additional details and impacted files@@ Coverage Diff @@
## master #81434 +/- ##
==========================================
+ Coverage 78.45% 80.39% +1.94%
==========================================
Files 7227 7229 +2
Lines 319545 319736 +191
Branches 20803 20803
==========================================
+ Hits 250703 257056 +6353
+ Misses 68449 62287 -6162
Partials 393 393 |
leeandher
approved these changes
Nov 29, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Component: Issues
Product Area: Issues
Scope: Backend
Automatically applied to PRs that change backend components
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The developer may be viewing multiple projects, however, they may merge issues belonging to the same project.
If all groups belong to the same project, support merging them.
Fixes #81433