Skip to content

bug: Workspace build timeline shows the same data for both agents in a multi-agent workspace #18002

@mafredri

Description

@mafredri

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Given a workspace with two resources (docker_container) and two agents, one for each resource. When viewing the workspace build timeline there are two issues:

  1. Both agents are show in the build timeline
  2. Both agents show the exact same data (connection time, script execution time, etc). This can't be correct since the second agent does not have a single script.
Image

Expected Behavior

  1. Build timeline should be filtered on the selected resource (left sidebar)
  2. Agent specific connection and script timings should be shown

Steps to Reproduce

  1. Create a template with two agents and two docker_container resources, add one script to one agent to separate them from each other
  2. Create workspace
  3. Observe build timeline

Environment

  • Coder version: v2.22.0-devel+361ac82f1

Additional Context

The issue occurs consistently

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions