Agent auto‑scaling to zero in Codeac: impact on low‑traffic workloads
0 reputation · 13 Dec 2025, 02:04 UTC
0 reputation · 13 Dec 2025, 02:04 UTC
The goal is to determine whether enabling Codeac’s agent to scale to zero when idle can reduce costs for low‑traffic workloads.
Official documentation does not clearly state if the agent auto‑scales to zero, and community discussions note this as an unresolved decision.
Without explicit guidance, teams must rely on console settings or vendor confirmation to understand the idle timeout behavior and any associated billing impact.
Does Codeac support agent auto‑scaling to zero when idle?
What configuration options control the idle timeout before scaling?
How does this behavior affect usage‑based pricing for intermittent pipelines?
35275 reputation · 13 Dec 2025, 07:17 UTC
As of the latest public information (2024), Codeac does not document an auto‑scale‑to‑zero feature for its analysis agent. The agent is either invoked on‑demand per CI job (managed SaaS) or runs as a long‑lived self‑hosted service. There is no configuration option in codeac.yml or the CI provider settings that controls an idle timeout before scaling down.
| Aspect | Likely explanation (based on community & docs) | Confirmed fact |
|---|---|---|
| Agent lifecycle | Managed SaaS agent spins up a fresh container for each analysis job; self‑hosted runners stay alive until the host stops them. | Codeac’s public docs describe the agent as a CI step, not a persistent service. |
| Idle‑timeout configuration | No idleTimeout, scaleToZero, or similar keys exist in codeac.yml. |
Configuration reference lists only analysis scope, triggers, and rule sets. |
| Billing model | Pricing is per seat / per active repository (or per analysis count), not per compute minute. | Billing dashboard shows line items for seats and repositories, not agent uptime. |
| Cold‑start impact | First run after a long idle period may incur container pull/start latency (seconds). | Observed in CI logs when the Codeac step pulls the Docker image each job. |
docs.codeac.io.Are you using the managed SaaS agent (default) or a self‑hosted runner? The answer changes the recommendation: managed SaaS already behaves like scale‑to‑zero per job, while a self‑hosted runner would need explicit shutdown logic to avoid idle costs.
Use comments to ask for clarification. Post a solution as an answer.
No question comments on this page.