Skip to content

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Feb 26, 2025

Otherwise, we return the failed diagnostic report even after sourcekitd has been restored.

Also, make sure that we don't show the semantic editor is disabled error to users.

@ahoppen
Copy link
Member Author

ahoppen commented Feb 26, 2025

@swift-ci Please test

func testPullDiagnosticsAfterCrash() async throws {
try SkipUnless.longTestsEnabled()

// Ensure that we don't cash the diagnostic report from the crashed sourcekitd and don't emit any of the internal
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
// Ensure that we don't cash the diagnostic report from the crashed sourcekitd and don't emit any of the internal
// Ensure that we don't cache the diagnostic report from the crashed sourcekitd and don't emit any of the internal

But I wouldn't restart testing for it 😅

@ahoppen ahoppen force-pushed the dont-cache-failed-diag-reports branch from 2cb58d8 to 87b0a1a Compare February 26, 2025 01:57
@ahoppen
Copy link
Member Author

ahoppen commented Feb 26, 2025

@swift-ci Please test

Otherwise, we return the failed diagnostic report even after sourcekitd has been restored.

Also, make sure that we don't show the `semantic editor is disabled` error to users.
@ahoppen ahoppen force-pushed the dont-cache-failed-diag-reports branch from 87b0a1a to abea29c Compare February 26, 2025 04:29
@ahoppen
Copy link
Member Author

ahoppen commented Feb 26, 2025

@swift-ci Please test

@ahoppen
Copy link
Member Author

ahoppen commented Feb 26, 2025

@swift-ci Please test Windows

1 similar comment
@ahoppen
Copy link
Member Author

ahoppen commented Feb 26, 2025

@swift-ci Please test Windows

@ahoppen ahoppen merged commit 0258d1d into swiftlang:main Feb 27, 2025
3 checks passed
@ahoppen ahoppen deleted the dont-cache-failed-diag-reports branch February 27, 2025 00:05
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.

2 participants