Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: show workspace health error alert above agents in WorkspacePage#19400

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
aqandrew merged 6 commits intomainfromaqandrew/unhealthy-workspace-alert
Aug 22, 2025

Conversation

aqandrew
Copy link
Contributor

closes#19338

image

)}

{!workspace.health.healthy&&(
<Alertseverity="warning">
Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

Alert's background color is--surface-secondary. The buttons turn--surface-secondary on hover, so there's no apparent change when hovering. (This is also the case inWorkspaceNotifications.)

Does it make sense to keep these colors? Or should we do something like giveNotificationActionButton an even lighter background (--surface-tertiary) on hover?

Copy link
Member

Choose a reason for hiding this comment

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

the existing popup has the same problem. it should definitely get fixed eventually but our colors are a bit of a mess right now. probably out of scope for this issue.

aqandrew reacted with thumbs up emoji
Copy link
Member

@aslilacaslilac left a comment

Choose a reason for hiding this comment

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

while you're poking at this, could I get you to update theMockUnhealthyWorkspace entity a little more for me? I think it's a bit more "realistic" if the agent is actually in an error state, as that affects some other styling on the page. I came up with...

exportconstMockUnhealthyWorkspace:TypesGen.Workspace={...MockWorkspace,id:"test-unhealthy-workspace",health:{healthy:false,failing_agents:[MockWorkspaceAgent.id],},latest_build:{...MockWorkspace.latest_build,resources:[{...MockWorkspaceResource,agents:[{...MockWorkspaceAgent,status:"timeout",lifecycle_state:"start_error",health:{healthy:false},},],},],},};

it might even be worth splitting into aMockUnhealthyAgent if you want but I'll leave it up to you

aqandrew reacted with thumbs up emoji
)}

{!workspace.health.healthy&&(
<Alertseverity="warning">
Copy link
Member

Choose a reason for hiding this comment

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

the existing popup has the same problem. it should definitely get fixed eventually but our colors are a bit of a mess right now. probably out of scope for this issue.

aqandrew reacted with thumbs up emoji
@aqandrew
Copy link
ContributorAuthor

update theMockUnhealthyWorkspace entity a little more

Good idea. These stories make a lot more visual sense now that the agent is red instead of blue

image

@aqandrewaqandrew merged commit9a872f9 intomainAug 22, 2025
25 of 28 checks passed
@aqandrewaqandrew deleted the aqandrew/unhealthy-workspace-alert branchAugust 22, 2025 00:22
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsAug 22, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@aslilacaslilacaslilac approved these changes

Assignees

@aqandrewaqandrew

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

workspace health errors are barely visible
2 participants
@aqandrew@aslilac

[8]ページ先頭

©2009-2025 Movatter.jp