Cian Johnston and Mathias Fredriksson
304007b5ea
feat(agent/agentcontainers): add ContainerEnvInfoer ( #16623 )
...
This PR adds an alternative implementation of EnvInfo
(https://github.com/coder/coder/pull/16603 ) that reads information from
a running container.
---------
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
2025-02-24 15:05:15 +00:00
Cian Johnston
35901028d2
feat(agent): add CODER_AGENT_DEVCONTAINERS_ENABLE option ( #16525 )
2025-02-11 15:29:59 +00:00
Cian Johnston
140f2a9013
chore(agent/agentcontainers): skip TestDockerCLIContainerLister by default ( #16502 )
...
Addresses a test flake seen here:
https://github.com/coder/coder/actions/runs/13239819615/job/36952521742
Also addresses the case where we would try to run `docker inspect` with
no container IDs, which is a silly thing to do.
2025-02-10 12:12:32 +00:00
Cian Johnston
31b1ff7d3b
feat(agent): add container list handler ( #16346 )
...
Fixes https://github.com/coder/coder/issues/16268
- Adds `/api/v2/workspaceagents/:id/containers` coderd endpoint that allows listing containers
visible to the agent. Optional filtering by labels is supported.
- Adds go tools to the `coder-dylib` CI step so we can generate mocks if needed
2025-02-10 11:29:30 +00:00