coder / coder/internal

bug: cannot view logs when updating template version parameter

Open
#580 0 comments 0 reactions 0 assignees View on GitHub
coder-ui
Dominant language
No language data
Stars
3
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Note: Please close this out if it's a duplicate.

**Problem:**

While Thomas and I were investigating some template issues on the demo environment, we ran into an issue updating a template version parameter. The Terraform plan would fail but we would get no visibility into what the actual error reported by Terraform was.

In order to actually find the issue, we had to navigate to `/api/v2/templateversions/{template_verison_id}/logs` to see the actual error and fix it.

https://github.com/user-attachments/assets/0801198a-4b7d-46d1-a587-d7053579d95a

**Suggested solution:**

1) Add a 'logs drawer' to the template parameters view to show the template import job logs when updating a template version parameter

2) Add a dropdown to the template versions list page to allow expanding the logs for any template version. This would allow template administrators to quickly investigate errors with templates.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.