Skip to content

feat: add workspace build status to task page #18520

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

Merged
merged 7 commits into from
Jun 24, 2025
Merged

Conversation

code-asher
Copy link
Member

@code-asher code-asher commented Jun 24, 2025

I think this might need to be rebased on the latest changes, (done) but this adds a progress bar and the most recent build stage.

I only did this for workspaces starting up, but we could do it for when the workspace is shutting down as well.

Although I tried adding a story for the build log, the mock web socket keeps closing in Storybook before it gets any logs, so I had to skip it. Not sure what is going on there...

recording.mp4

Closes #18183

@code-asher code-asher force-pushed the asher/task-build-status branch 3 times, most recently from 25c41d7 to cb7a768 Compare June 24, 2025 17:52
@code-asher code-asher marked this pull request as ready for review June 24, 2025 18:30
@code-asher code-asher force-pushed the asher/task-build-status branch from cb7a768 to f9045a9 Compare June 24, 2025 18:57
@code-asher code-asher requested a review from hugodutka June 24, 2025 18:58
Copy link
Contributor

@hugodutka hugodutka left a comment

Choose a reason for hiding this comment

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

Nice! Minor nits:

  1. can we remove the "this should take a few minutes" text? it's redundant now that we have the progress indicator
  2. can we put "Starting workspace..." and "Up to X seconds remaining..." on separate lines?

@code-asher
Copy link
Member Author

can we remove the "this should take a few minutes" text? it's redundant now that we have the progress indicator

Good point! Done.

can we put "Starting workspace..." and "Up to X seconds remaining..." on separate lines?

How is this?
screenshot

@hugodutka
Copy link
Contributor

It'd look a bit better if the text was centered and the progress bar was at the bottom

@code-asher
Copy link
Member Author

Hmm actually the "starting workspace..." part is also redundant, let me remove that instead of stacking the two lines.

@code-asher
Copy link
Member Author

code-asher commented Jun 24, 2025

Here it is at the bottom, wdyt about right vs center when it is at the bottom? I kinda like right but could go either way.

screenshot

screenshot

@code-asher
Copy link
Member Author

Another possibility, I like the remaining time near the progress bar though personally

screenshot

@hugodutka
Copy link
Contributor

458555717-9ce13ae0-5a42-4499-93d9-4159449d30bc
this one looks amazing!

@code-asher code-asher merged commit 288ec77 into main Jun 24, 2025
33 checks passed
@code-asher code-asher deleted the asher/task-build-status branch June 24, 2025 21:17
@github-actions github-actions bot locked and limited conversation to collaborators Jun 24, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

tasks: provide a better progress update when workspace is spinning up
2 participants