Skip to content

feat(site): warn on provisioner health during builds #15589

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 18 commits into from
Nov 28, 2024
Merged
Changes from 1 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
Prev Previous commit
Next Next commit
fix logic
  • Loading branch information
SasSwart committed Nov 28, 2024
commit 0aed543ce5033a2110fd108de4dfee5f34fe7186
18 changes: 11 additions & 7 deletions site/src/pages/TemplateVersionEditorPage/TemplateVersionEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -595,13 +595,7 @@ export const TemplateVersionEditor: FC<TemplateVersionEditorProps> = ({
tags={templateVersion.job.tags}
/>
</div>
) : gotBuildLogs ? (
<WorkspaceBuildLogs
css={styles.buildLogs}
hideTimestamps
logs={buildLogs}
/>
) : (
) : !gotBuildLogs && (
<>
<ProvisionerStatusAlert
matchingProvisioners={matchingProvisioners}
Expand All @@ -611,6 +605,16 @@ export const TemplateVersionEditor: FC<TemplateVersionEditorProps> = ({
<Loader css={{ height: "100%" }} />
</>
)}

{
gotBuildLogs && (
<WorkspaceBuildLogs
css={styles.buildLogs}
hideTimestamps
logs={buildLogs}
/>
)
}
</div>
)}

Expand Down
Loading