-
Notifications
You must be signed in to change notification settings - Fork 381
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
update docs for call analysis. #682
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #682 +/- ##
==========================================
+ Coverage 78.88% 78.93% +0.05%
==========================================
Files 84 84
Lines 5935 5935
==========================================
+ Hits 4682 4685 +3
+ Misses 1050 1048 -2
+ Partials 203 202 -1 ☔ View full report in Codecov by Sentry. |
Can you add the experimental tag to the rust call analysis, and change the description to indicate that all the experimental analysis is off by default (rust), while the non experimental languages (go) is turned on by default. |
Co-authored-by: Hayley Denbraver <denbraver@google.com>
Co-authored-by: Hayley Denbraver <denbraver@google.com>
I'm confused. Why do we have both a |
Hi Hayley, it is because we want go call analysis to be enabled by default. So we need to add one more flag to turn it off. More details: #513 |
But if call analysis is the default behavior, we wouldn't need a flag for it right? Or is it because it is not the default for rust? Either way, the behavior is not currently clear in the docs. |
And also because not all languages are enabled by default. Only Go is enabled so far. If someone wants rust, then they need to specify And if we want only rust, you'd do:
@hogo6002 is that right? |
Yeah that's right. With this implementation, we are able to enable/disable call analysis per language. |
Call analysis in Go is enabled by default (don't need to put any flags) as it is stable. But users may still want to disable it, so we added a '--no-call-analysis' flag.
|
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.
I took a closer look at things and I think things are looking alright, especially with the 'experimental' label on the rust section.
Thanks for clarifying about the different flags.
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.
LGTM
Previous PR #665 updated '--experimental-call-analysis' to '--call-analysis' and '--no-call-analysis'.
Updating docs to reflect the changes.