Skip to content

bug: Web UI does not surface errors in template creation #19704

Closed

Description

@jcjiang

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When an error occurs when a template is created, the information is not surfaced through the Web UI and can only be accessed by using the Coder CLI.

Image

Instead, the process hangs indefinitely, which gives the impression that the issue is around provisioner availability and encourages users to wait around instead of debugging the issue by other means.

Image

Quick fix: On documentation (ex. in the quickstart) guide users towards using the Coder CLI to debug issues.

Engineering fix: Output errors to the Web UI, potentialy in the form of a terminal window.

Relevant Log Output

Expected Behavior

Web UI should detect that an error has occurred and surface appropriate log output to aid debugging.

Steps to Reproduce

  1. Create a Coder Docker template (i.e. follow the quickstart)
  2. Ensure that Docker is not open, which will throw an error
  3. Click Save - this will redirect you to the page where the process hangs indefinitely.

Environment

  • Host OS:
  • Coder version:

Additional Context

No response

Activity

  1. added
    needs-triage
    on Sep 4, 2025
  2. added theissue type on Sep 4, 2025
  3. added
    s1
    on Sep 4, 2025
  4. removed
    needs-triage
    on Sep 4, 2025
  5. added
    must-do
    on Sep 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

must-dos1

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions