1. A team deploys their agentic workflow backend on GitHub Codespaces for development testing. They want to understand the key limitations of Codespaces as a production deployment target for always-on agent backends. Which statement MOST accurately describes a critical limitation?
- A. Codespaces cannot access GitHub APIs because they run in an isolated network with no outbound internet access
- B. Codespaces automatically suspend after a configurable idle timeout period (defaulting to 30 minutes), making them unsuitable for persistent, always-on background agents without active user interaction✓ Correct
- C. Codespaces do not support custom Docker container images, so the agent's runtime environment cannot be customized
- D. Codespaces bill at the same rate as GitHub-hosted Actions runners, so there is no cost difference between the two deployment options
Explanation
Option B is correct because Codespaces are designed as interactive cloud development environments and implement automatic suspension after an idle timeout (default 30 minutes, configurable up to a maximum). An always-on agent backend requires continuous uptime; a Codespace that suspends when not interactively used would silently stop processing events, making it unreliable for production agentic workloads. Option A is wrong because Codespaces do have full outbound internet access and can call GitHub APIs and external services — network isolation is not a Codespaces limitation. Option C is wrong because Codespaces fully support custom dev container configurations via `devcontainer.json`, including custom Docker images, Dockerfiles, and feature sets. Option D is wrong because Codespaces and GitHub-hosted Actions runners use entirely different billing models: Codespaces bill by core-hours and storage, while Actions bill by minute of job execution; the rates and cost structures are not equivalent.