Skip to content
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

✨Build presets & map analysis state functions #2152

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

HadasahR
Copy link

@HadasahR HadasahR commented Nov 3, 2024

refactoring code according to comments in issue #2100
these functions are used in the PR there

Copy link

codecov bot commented Nov 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 42.02%. Comparing base (b654645) to head (f628c04).
Report is 244 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2152      +/-   ##
==========================================
+ Coverage   39.20%   42.02%   +2.81%     
==========================================
  Files         146      175      +29     
  Lines        4857     5633     +776     
  Branches     1164     1395     +231     
==========================================
+ Hits         1904     2367     +463     
- Misses       2939     3145     +206     
- Partials       14      121     +107     
Flag Coverage Δ
client 42.02% <100.00%> (+2.81%) ⬆️
server ?

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

Copy link
Collaborator

@rszwajko rszwajko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The commit with refactoring needs to be moved to separate PR. One way to do it is as follows:

// do a backup - rename a branch to "..._v1" and push to GH
// NOTE that I've changed char "&" to word "and" 
// "&" is an operator in bash shell and requires escaping/quoting 
 » git branch -M buildPresets_and_mapAnalysisState_functions_v1  
 » git push origin HEAD
// obtain commit hash
 » git log -1 | cat                                                                                                                    130 ↵
commit c070fa6827ff42de08cf510c792428beed7c3a81
Author: HadasahR <[email protected]>
Date:   Sun Nov 3 14:05:13 2024 +0200

    refactoring code as suggested in #2100
    
    Signed-off-by: HadasahR <[email protected]>
// create a new branch "..._v2"
 » git checkout -b buildPresets_and_mapAnalysisState_functions_v2 origin/main
// copy the commit to new branch
» git cherry-pick c070fa6827ff42de08cf510c792428beed7c3a81
// force push to the PR branch 
» git push origin HEAD:"buildPresets_&_mapAnalysisState_functions" --force

@mguetta1 mguetta1 force-pushed the buildPresets_&_mapAnalysisState_functions branch from 27068ea to f6e5257 Compare November 18, 2024 20:31
Signed-off-by: Maayan Hadasi <[email protected]>
@mguetta1 mguetta1 requested a review from rszwajko November 19, 2024 07:56
@mguetta1 mguetta1 force-pushed the buildPresets_&_mapAnalysisState_functions branch from d25f964 to e23c630 Compare November 19, 2024 08:22
@mguetta1 mguetta1 force-pushed the buildPresets_&_mapAnalysisState_functions branch from e23c630 to 179248d Compare November 19, 2024 08:26
Signed-off-by: Maayan Hadasi <[email protected]>
Copy link
Collaborator

@rszwajko rszwajko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants