Skip to content

Tasks: Template version not selected when creating task, causing slow loading and wrong template execution #1062

Closed
coder/coder
#20293

Description

@blinkagent

Problem

When creating a new task with a Tasks template, the template version selection UI has two issues:

  1. Slow loading: The send button keeps loading for ~10 seconds while fetching template versions, even for a new template with only 3 versions
  2. Version not selected: The active template version is not pre-selected in the UI, and none of the versions show a checkbox. This causes the prompt to be sent to the first (wrong) template instead of the active version.

Expected Behavior

The active template version (e.g., peaceful_synder7) should be pre-selected with a visible checkbox, and the version fetching should be faster.

Screenshots

See original Slack thread for screenshots:

  • Loading state taking 10 seconds to fetch versions
  • UI showing no version selected (no checkboxes visible)
  • Example with peaceful_synder7 as the active version that should have been selected

Related

Reported in Slack thread: https://codercom.slack.com/archives/C094GRQG7UZ/p1760455571287909

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions