-
Notifications
You must be signed in to change notification settings - Fork 319
Address review comments from #1037 #1045
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
Address review comments from #1037 #1045
Conversation
@swift-ci Please test |
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.
Tests 🥳!
// MARK: - Entry point | ||
|
||
extension RequestInfo { | ||
func reduceCommandLineArguments(using executor: SourceKitRequestExecutor) async throws -> RequestInfo { |
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.
Occurs to me this could also be on the executor now. Up to you which you prefer.
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.
Let’s keep it on RequestInfo
to match reduceInputFile
// We have found a reproducer. Stop. Looking further probably won't help because other crashes are likely the same cause. | ||
return | ||
reproducerBundle = try await reduce(requestInfo: requestInfo, sourcekitd: sourcekitd) | ||
// If reduce didn't thorw, we have found a reproducer. Stop. |
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.
// If reduce didn't thorw, we have found a reproducer. Stop. | |
// If reduce didn't throw, we have found a reproducer. Stop. |
e90f900
to
4b4942f
Compare
@swift-ci Please test macOS |
4b4942f
to
1b8cb71
Compare
@swift-ci Please test macOS |
@swift-ci Please test Linux |
@swift-ci Please test Windows |
@swift-ci Please test Windows |
1b8cb71
to
2654c83
Compare
@swift-ci Please test |
@swift-ci Please test Windows |
1 similar comment
@swift-ci Please test Windows |
Hopefully this help us figure out why the diagnose tests are failing in CI.
2654c83
to
98b0b23
Compare
@swift-ci Please test |
@swift-ci Please test Windows |
Essentially
SourceReducer
by returning descriptive enums instead of optionals