-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
fix --bug-report=rr
#51750
fix --bug-report=rr
#51750
Conversation
This option is currently broken on nightly due to world age errors
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 assume this test might need to be x86+linux only though?)
Ah, true! |
CI failed |
@@ -246,7 +246,7 @@ function exec_options(opts) | |||
# If we're doing a bug report, don't load anything else. We will | |||
# spawn a child in which to execute these options. | |||
let InteractiveUtils = load_InteractiveUtils() | |||
InteractiveUtils.report_bug(arg) | |||
invokelatest(InteractiveUtils.report_bug, arg) |
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.
@invokelatest
is a bit cleaner
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 tried to copy the style that was used in the Distributed
case just below. I don't feel like this makes a huge difference in terms of readability in the single-arg case
@Keno Any ideas why this would fail on our CI environment? It worked for me locally even without the selinux shenanigans. Can you think of a better way to do a simple rr smokescreen test? |
I skipped the test for now so we can at least merge this fix |
follow-up PR to #51750 to figure out how to properly test this
follow-up PR to #51750 since BugReporting was broken at the time
This option is currently broken on nightly due to world age errors