Skip to content

Commit 8192d93

Browse files
MohsinHashmi-DataInnmohsin-wiserclaude
authored
fix: correct coder agent architecture to arm64 (#413)
* fix: remove unnecessary coder binary move step in deployment workflow * fix: correct coder agent architecture to arm64 This fixes the workspace health issue where the Coder agent fails to start with "Exec format error" because the downloaded binary architecture doesn't match the container's actual architecture. Changes: - Update coder_agent.main.arch from "amd64" to "arm64" - Matches actual container platform running on aarch64 (ARM64) Impact: - Resolves agent connection timeout (210s) - Fixes "Exec format error" when executing coder binary - Enables workspace to reach healthy state Root Cause Analysis: The dev-server runs on ARM64 architecture (aarch64), but the template specified amd64, causing Coder to download an x86_64 binary that cannot execute on ARM64 platform. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> --------- Co-authored-by: Mohsin Hashmi <mhashmi@wiser.com> Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 674d6b7 commit 8192d93

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
@@ -145,7 +145,7 @@ resource "docker_container" "redis" {
145145

146146
# Coder agent (runs inside the main container)
147147
resource "coder_agent" "main" {
148-
arch = "amd64"
148+
arch = "arm64"
149149
os = "linux"
150150
dir = "/workspaces/SimpleAccounts-UAE"
151151

0 commit comments

Comments
 (0)