-
Notifications
You must be signed in to change notification settings - Fork 536
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
improvement(fluid-build): Add a spinner with additional info for incremental task checks #23282
improvement(fluid-build): Add a spinner with additional info for incremental task checks #23282
Conversation
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.
Copilot reviewed 3 out of 4 changed files in this pull request and generated no suggestions.
Files not reviewed (1)
- build-tools/packages/build-tools/package.json: Language not supported
@@ -532,11 +533,14 @@ export class BuildGraph { | |||
return succeeded; | |||
} | |||
|
|||
public async build(timer?: Timer): Promise<BuildResult> { | |||
public async build(timer?: Timer, spinner?: Spinner): Promise<BuildResult> { |
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.
Does it need to be passed as a parameter? In this case the caller starts and finishes its use of it so it seems like it wouldn't cause issues, but in general it feels like this would be better off being its own instance so it doesn't potentially interfere with the one passed in (if that one was still in progress, for example)?
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 honestly have no idea why I did it that way... fixed in latest.
Adds a CLI spinner to display a little more feedback when loading the build graph and checking incremental tasks. Currently fluid-build just sits there for awhile and looks like it's hung. There is more that we could do, but this is a step in the right direction.