-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[HOLD for payment 2024-03-26] [$250] [Reassure] Add measureFunction test for getMemberAccountIDsForWorkspace #38167
Comments
Job added to Upwork: https://www.upwork.com/jobs/~012f1d655a8cb04a5b |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @paultsimura ( |
Triggered auto assignment to @kevinksullivan ( |
Upwork job price has been updated to $250 |
ProposalPlease re-state the problem that we are trying to solve in this issue.Add measureFunction test for getMemberAccountIDsForWorkspace. What is the root cause of that problem?New tests to ensure stability of performance in What changes do you think we should make in order to solve the problem?Mock policy members and personal data. Then, we can have scenarios like:
We can run for all scenarios like this:
|
ProposalPlease re-state the problem that we are trying to solve in this issue.[Reassure] Add measureFunction test for getMemberAccountIDsForWorkspace What is the root cause of that problem?New Feature of writing Tests What changes do you think we should make in order to solve the problem?This is the example test :
The test creates mock policyMember and personalDetails data in different volumes. It times how long the getMemberAccountIDsForWorkspace function takes to process the data. It asserts the performance is within expected thresholds for different data sizes. This allows catching regressions as the data scales up. What alternative solutions did you explore? (Optional)N/A |
The proposal of @ShridharGoel looks good to me. @godofoutcasts94 I appreciate your intention to assert the execution time, but the 🎀👀🎀 C+ reviewed |
Current assignee @mountiny is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new. |
@ShridharGoel Can you please raise a PR? thanks! |
❌ There was an error making the offer to @paultsimura for the Reviewer role. The BZ member will need to manually hire the contributor. |
❌ There was an error making the offer to @ShridharGoel for the Contributor role. The BZ member will need to manually hire the contributor. |
PR: #38271 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.54-4 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2024-03-26. 🎊 For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR adding this new feature has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
|
updated job here https://www.upwork.com/jobs/~018339f69bac8f5267 @ShridharGoel lmk when you accept! |
@kevinksullivan Accepted, thanks. |
@kevinksullivan @ShridharGoel @paultsimura can this be closed? |
From my side - all settled |
Ok thanks! |
@kevinksullivan I think my payment is pending, can you check it? |
@kevinksullivan Can you check this? |
All set |
Problem
The getMemberAccountIDsForWorkspaceis a method that is used often in the App and if its performance degrades, it can have considerable impact on the App performance.
Solution
Let's add a measure function reassure test to cover various cases of this method call similarly as we have created such tests for ReportActionUtils methods for example.
Please refer to other tests in the repository, here is a readme for reassure tests which should help you get familiar with the tool.
All new tests should be written in TS.
Please provide a proposal stating, how you could write such test and scenarios for the method such that we test the slowest execution path as well.
cc @OlimpiaZurek
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @kevinksullivanThe text was updated successfully, but these errors were encountered: