Description
Problem
When starting a workspace with the new Early Access Devcontainers feature, the workspace view does not automatically update when a devcontainer starts or stops.
Steps to reproduce
Create a workspace using this template: https://dev.coder.com/templates/coder/maf-devcontainers
For ease of reproduction you can use https://github.com/coder/envbuilder-starter-devcontainer as it is relatively quick to build.
Observe that when the workspace finishes building and the workspace build logs show a log line similar to the below, no containers show up in the UI:
{"outcome":"success","containerId":"b0147cc98f61c51a30123481815809dd7bd31421aa614b2718dbe4581dc2443d","remoteUser":"coder","remoteWorkspaceFolder":"/workspaces/coder"}
Upon refreshing the page, the container will show up in the UI.