Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix: add link to troubleshooting #16592

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 1 commit into from
Feb 17, 2025
Merged

fix: add link to troubleshooting #16592

merged 1 commit into from
Feb 17, 2025

Conversation

mtojek
Copy link
Member

@mtojek mtojek commented Feb 17, 2025

Fixes: #14933

This PR extends the Unhealthy workspace notification with the troubleshooting link (if defined).

Screenshot 2025-02-17 at 13 21 34

@mtojek mtojek self-assigned this Feb 17, 2025
@mtojek mtojek changed the title fix: link to troubleshooting fix: add link to troubleshooting Feb 17, 2025
@mtojek mtojek marked this pull request as ready for review February 17, 2025 12:32
@mtojek mtojek requested a review from johnstcn February 17, 2025 12:33
Copy link
Member

@johnstcn johnstcn left a comment

Choose a reason for hiding this comment

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

Proabably no harm to get a quick FE review, but LGTM

if (resource.agents) {
for (const agent of resource.agents) {
if (agent.troubleshooting_url) {
return agent.troubleshooting_url;
Copy link
Member

Choose a reason for hiding this comment

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

non-blocking: I can imagine a situation where a multi-agent workspace has a different troubleshooting URL for each agent. We might need some design changes to show multiple troubleshooting URLs though.

Copy link
Member Author

Choose a reason for hiding this comment

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

I thought about this case! I concluded that having different Troubleshooting guides for various agents is an edge case.

@mtojek mtojek merged commit 42f6b71 into main Feb 17, 2025
37 of 38 checks passed
@mtojek mtojek deleted the 14933-troubleshooting branch February 17, 2025 13:00
@github-actions github-actions bot locked and limited conversation to collaborators Feb 17, 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.

Docker template doesn't render a troubleshooting link when agent doesn't connect
2 participants