-
-
Notifications
You must be signed in to change notification settings - Fork 754
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
Accounting for IDs of cluster features when the promoteID properties is set #4899
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #4899 +/- ##
==========================================
- Coverage 89.10% 88.93% -0.18%
==========================================
Files 269 269
Lines 38268 38271 +3
Branches 2351 2367 +16
==========================================
- Hits 34100 34037 -63
- Misses 3165 3224 +59
- Partials 1003 1010 +7 ☔ View full report in Codecov by Sentry. |
Please add a test that covers this scenario and a changelog entry. |
Just a quick sanity check... So I'm guessing I'll:
I'm I heading down the right direction. |
I would look into writing a unit test and not an integration test. i.e. Look for other tests for this class and add the relevant scenario you fixed in the test. |
Overall, this looks great, thanks! |
According to the coverage report, it looks like the test is not covering the code that you added. |
Yes.... Looking into that now. One of the three tests is not behaving how I thought. Maybe that's the issue. |
Yeah... Think I was trying to get to fancy with my tests... I've pared it down to only test the three lines. |
Removing my code now causes my test to fail. However I'm not seeing any changes in the report. |
Can you run the coverage locally and see if this is covered? |
And also make sure you push your changes in case you haven't by mistake. |
Good thinking... That's much better then waiting for the pipeline to finish haha. |
How do you run the coverage locally @HarelM . Is it something like |
|
Hmmmm... That worked well. feature_index.ts | 41.22 | 68.75 | 36.36 | 41.22 | 109-172,175-253,258-285,288-295,319-324,326-338,340-342 If I'm not mistaken... the new code I added are on lines 305-307. Does this mean it worked? |
Hey @HarelM . |
You need to increase the build size expected value a bit. |
This is to address the issue of loosing the ID for clusters when the
promoteId
property is set. Talked about here.Launch Checklist
CHANGELOG.md
under the## main
section.