Skip to content

Commit f47a2e5

Browse files
MohsinHashmi-DataInnmohsin-wiserclaude
authored
fix: disable cpus resource limit to prevent provider panic (#411)
* fix: remove unnecessary coder binary move step in deployment workflow * fix: add terraform installation step to coder deployment workflow - Add hashicorp/setup-terraform@v3 action to install Terraform CLI - Resolves "terraform: command not found" error in workflow - Install Terraform 1.9.x before running terraform init 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * fix: update sonarqube url to new datainn domain - Change SONAR_HOST_URL from old sslip.io URL to sonarqube.datainn.io - Update CI/CD workflow to use new SonarQube server location 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * fix: update sonarqube configuration to new datainn domain - Update sonar.host.url in pom.xml to https://sonarqube.datainn.io - Update sonar.host.url in sonar-project.properties - Add sonar.ws.timeout=300 for better timeout handling - Add sonar-maven-plugin version 5.5.0.6356 to pom.xml - Add Terraform lock file for Coder template dependencies 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * fix: add --directory flag to coder templates push command - Specify --directory "." to locate Terraform configuration files - Remove --provisioner-tag workaround (no longer needed) - Fixes 'No configuration files' error in GitHub Actions workflow 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * fix: change cpus parameter from string to number in coder template - Change cpus from "2.0" (string) to 2.0 (float) - Fixes Docker provider crash: "interface conversion: interface {} is string, not float32" - The kreuzwerker/docker provider expects numeric type for cpus parameter 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * fix: disable cpus resource limit to prevent provider panic --------- Co-authored-by: Mohsin Hashmi <mhashmi@wiser.com> Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 41781cf commit f47a2e5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.coder/template.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ resource "docker_container" "workspace" {
263263

264264
# Resource limits: 2 CPU, 4GB RAM
265265
memory = 4096 # 4GB
266-
cpus = 2.0 # 2 CPUs
266+
# cpus = 2.0 # DISABLED: Causes provider panic (interface conversion: interface {} is string, not float32) in kreuzwerker/docker v3.6.2
267267

268268
# Environment variables
269269
env = [

0 commit comments

Comments
 (0)