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

fix: handle chat app not found#19947

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
BrunoQuaresma merged 11 commits intomainfrombq/fix-show-error-when-chat-unhelathy
Sep 26, 2025
Merged
Changes from1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
handle unhealthy
  • Loading branch information
@BrunoQuaresma
BrunoQuaresma committedSep 25, 2025
commit735586d1af88e33f37bf93f40eb2849b4dedcc5e
13 changes: 10 additions & 3 deletionssite/src/pages/TaskPage/TaskAppIframe.tsx
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -84,9 +84,7 @@ export const TaskAppIFrame: FC<TaskAppIFrameProps> = ({
</div>
)}

{app.health === "healthy" ||
app.health === "disabled" ||
app.health === "unhealthy" ? (
{app.health === "healthy" || app.health === "disabled" ? (
<iframe
ref={frameRef}
src={link.href}
Expand All@@ -95,6 +93,15 @@ export const TaskAppIFrame: FC<TaskAppIFrameProps> = ({
className={"w-full h-full border-0"}
allow="clipboard-read; clipboard-write"
/>
) : app.health === "unhealthy" ? (
<div className="w-full h-full flex flex-col items-center justify-center">
<h3 className="m-0 font-medium text-content-primary text-base">
App unhealthy
</h3>
<span className="text-content-secondary text-sm">
Check the logs for details
</span>
Copy link
Member

Choose a reason for hiding this comment

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

suggestion: add some more details so it's clear what the relevant app is, e.g.

Suggested change
Appunhealthy
</h3>
<spanclassName="text-content-secondary text-sm">
Checkthelogsfordetails
</span>
App"${app.name}"unhealthy
</h3>
<spanclassName="text-content-secondary text-sm">
Herearesometroubleshootingstepsyoucantake:
<ul>
<li>Try running the following inside your workspce:<code>curl -v "${app.healthcheck.url}"</code></li>
<li>Check<code>/tmp/coder-agent.log</code> inside your workspace "${workspace.name}" for more information.</li>
</ul>
</span>

Copy link
CollaboratorAuthor

Choose a reason for hiding this comment

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

Updated using your suggestion as the base:

Screenshot 2025-09-26 at 11 17 49

johnstcn reacted with heart emoji
</div>
) : app.health === "initializing" ? (
<div className="w-full h-full flex items-center justify-center">
<Spinner loading />
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp