-
Notifications
You must be signed in to change notification settings - Fork 785
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 #4274 Add or delete challenge phase/phase splits #4392
base: master
Are you sure you want to change the base?
Fix #4274 Add or delete challenge phase/phase splits #4392
Conversation
Here is the working:-
Challenge.Phase.Split.mp4 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## master #4392 +/- ##
==========================================
- Coverage 72.93% 69.27% -3.66%
==========================================
Files 83 20 -63
Lines 5368 3574 -1794
==========================================
- Hits 3915 2476 -1439
+ Misses 1453 1098 -355 see 64 files with indirect coverage changes see 64 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
@Harshit28j We should remove (1,2,2) instead of appending. Thoughts? |
Yes, @gautamjajoo I agree. Also, since I removed the for loop that uses Edit: I tested in my local code environment and it's working. Instead of removing missing combinations, I removed combinations that already exist, considering this case:
So I only removed combinations that already exist, and it's working fine. I have tried and tested it by both adding and deleting. |
This PR resolves #4274
I debug each and every functionality and statements to find out the root cause of this problem and I figured out that issue is from the challenge_phase_split_uuids (which actually holds data value from yaml)
I removed the loop that tell us about the combination in which we have error and added a condition to append the combination if it does not exist in current_phase_split_id (which is from host)
This is how the workflow looks like for validate_challenge_phase_splits
Its somewhat similarly for validate_challenge_phase