Skip to content

Better handle status updates for build tasks #1539

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

award999
Copy link
Contributor

@award999 award999 commented May 6, 2025

For tasks in the "build" group like those provided by the extension, we can ignore parsing the build output for completion and instead wait for the fallback of waiting for the task to end.

Issue: #1477

For tasks in the "build" group like those provided by the extension, we
can ignore parsing the build output for completion and instead wait for
the fallback of waiting for the task to end.

Issue: swiftlang#1477
@award999 award999 requested review from adam-fowler and 0xTim as code owners May 6, 2025 17:37
@award999 award999 requested review from plemarquand and removed request for adam-fowler and 0xTim May 6, 2025 17:37
@@ -121,7 +124,8 @@ export class SwiftBuildStatus implements vscode.Disposable {
const lines = sanitizedData.split(/\r\n|\n|\r/gm).reverse();
for (const line of lines) {
if (checkIfBuildComplete(line)) {
return true;
update(name);
return !isBuildTask && true;
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: && true;?

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