-
Notifications
You must be signed in to change notification settings - Fork 58
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
Notify build is preparing before progress starts #1323
Merged
plemarquand
merged 7 commits into
swiftlang:main
from
plemarquand:faster-build-progress-notification
Jan 21, 2025
Merged
Notify build is preparing before progress starts #1323
plemarquand
merged 7 commits into
swiftlang:main
from
plemarquand:faster-build-progress-notification
Jan 21, 2025
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The build progress notification would only appear once the progress values were shown in the output, i.e. [12/122]. Until progress values appear, show a "Preparing <task>" notification. This only needs to apply when the `showBuildStatus` value is `notification` or `progress`, since `swiftStatus` already shows a message in the bar immediately. This patch also only sets the `showBuildStatus` setting on a Task if it is coming from a user defined task. Previously it was being set on synthetic tasks which were being cached, so when the user updated the `showBuildStatus` setting it wouldn't take effect until they restarted the extension. Issue: swiftlang#1322
plemarquand
requested review from
adam-fowler,
0xTim and
award999
as code owners
January 21, 2025 15:12
cc @MahdiBM |
MahdiBM
approved these changes
Jan 21, 2025
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.
Thank you. A minor annoyance that will no longer exist!
award999
reviewed
Jan 21, 2025
award999
requested changes
Jan 21, 2025
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.
Some minor things
award999
approved these changes
Jan 21, 2025
plemarquand
added a commit
to plemarquand/vscode-swift
that referenced
this pull request
Jan 23, 2025
Previously we were waiting for output from the build, which could be several seconds. Issue: swiftlang#1323
award999
pushed a commit
that referenced
this pull request
Jan 23, 2025
* Show build preparing status immediately Previously we were waiting for output from the build, which could be several seconds. Issue: #1323 * Fixup test
plemarquand
added a commit
to plemarquand/vscode-swift
that referenced
this pull request
Jan 23, 2025
award999
pushed a commit
that referenced
this pull request
Jan 23, 2025
Verified with fa4d12c |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The build progress notification would only appear once the progress values were shown in the output, i.e. [12/122]. Until progress values appear, show a "Preparing " notification. This only needs to apply when the
showBuildStatus
value isnotification
orprogress
, sinceswiftStatus
already shows a message in the bar immediately.This patch also only sets the
showBuildStatus
setting on a Task if it is coming from a user defined task. Previously it was being set on synthetic tasks which were being cached, so when the user updated theshowBuildStatus
setting it wouldn't take effect until they restarted the extension.Issue: #1322