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

Enable Python and Ruby Unwinding by default #2281

Merged
merged 4 commits into from Nov 29, 2023

Conversation

kakkoyun
Copy link
Member

@kakkoyun kakkoyun commented Nov 21, 2023

Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
@kakkoyun kakkoyun force-pushed the enable_ruby_and_python_default branch from a4e5157 to c9a7d7f Compare November 21, 2023 20:21
@kakkoyun kakkoyun marked this pull request as ready for review November 27, 2023 19:56
@kakkoyun kakkoyun requested a review from a team as a code owner November 27, 2023 20:16
@@ -177,6 +174,12 @@ Flags:
object files from disk. It keeps FDs open,
so it should be kept in sync with ulimits.
0 means no limit.
--dwarf-unwinding-disable Do not unwind using .eh_frame information.
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: Perhaps we should make all this "positive", swapping them all to "[whatever]-enable" so it's clear when we want to disable it, rather than having "--thing-disable=false" which might be harder to understand

Copy link
Member Author

Choose a reason for hiding this comment

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

I used "disable" because of our existing flags and since it's enable by default.

Copy link
Contributor

@javierhonduco javierhonduco left a comment

Choose a reason for hiding this comment

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

LGTM

EnablePythonUnwinding bool `default:"false" help:"Enable Python unwinding." hidden:""`
EnableRubyUnwinding bool `default:"false" help:"Enable Ruby unwinding." hidden:""`
EnablePythonUnwinding bool `default:"false" help:"[deprecated] Python unwinder enabled by default. Use --python-unwinding-disable to disable it." hidden:""`
EnableRubyUnwinding bool `default:"false" help:"[deprecated] Ruby unwinder enabled by default. Use --ruby-unwinding-disable to disable it." hidden:""`
Copy link
Contributor

Choose a reason for hiding this comment

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

Happy it you prefer to remove it now and add it to the release notes as a backwards incompatible change, your call!

Copy link
Member Author

Choose a reason for hiding this comment

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

We can add it to the changelog and we can remove it in subsequent releases.

Copy link
Contributor

Choose a reason for hiding this comment

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

Completely up to you!

@kakkoyun kakkoyun merged commit a5b25b4 into main Nov 29, 2023
22 checks passed
@brancz brancz deleted the enable_ruby_and_python_default branch November 29, 2023 17:35
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.

None yet

2 participants