Is there an existing issue for this?
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:
- Both agents are show in the build timeline
- 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.
Expected Behavior
- Build timeline should be filtered on the selected resource (left sidebar)
- Agent specific connection and script timings should be shown
Steps to Reproduce
- Create a template with two agents and two
docker_container resources, add one script to one agent to separate them from each other
- Create workspace
- Observe build timeline
Environment
- Coder version: v2.22.0-devel+361ac82f1
Additional Context
The issue occurs consistently