Enable QEMU for arm64 Docker builds #29

Merged
amoussa1229 merged 1 commit from fix/deploy-enable-qemu into main 2026-05-08 21:48:20 +00:00
amoussa1229 commented 2026-05-08 21:41:45 +00:00 (Migrated from github.com)

Summary

Enable QEMU emulation in the deploy workflow so Docker builds produce arm64 images on the x86_64 GitHub Actions runner. The Fargate task definition requires ARM64, but without QEMU the image was built for x86_64, causing exec format error at container startup.

Same fix already applied to exec-aide.

Validation

  • Confirmed exec format error in CloudWatch logs for the socket-mode container
  • Confirmed runtimePlatform.cpuArchitecture: ARM64 in the CDK task definition
  • Cancelled the stuck CloudFormation rollback so a clean deploy can run after merge

Tests

Deploy will be validated on merge to main — the GitHub Actions workflow triggers automatically.

Notes

The CloudFormation stack is currently rolling back from the failed deploy. Wait for rollback to complete before merging (check with aws cloudformation describe-stacks --stack-name seahaven-slack-bot).

## Summary Enable QEMU emulation in the deploy workflow so Docker builds produce arm64 images on the x86_64 GitHub Actions runner. The Fargate task definition requires ARM64, but without QEMU the image was built for x86_64, causing `exec format error` at container startup. Same fix already applied to exec-aide. ## Validation - Confirmed `exec format error` in CloudWatch logs for the socket-mode container - Confirmed `runtimePlatform.cpuArchitecture: ARM64` in the CDK task definition - Cancelled the stuck CloudFormation rollback so a clean deploy can run after merge ## Tests Deploy will be validated on merge to main — the GitHub Actions workflow triggers automatically. ## Notes The CloudFormation stack is currently rolling back from the failed deploy. Wait for rollback to complete before merging (check with `aws cloudformation describe-stacks --stack-name seahaven-slack-bot`).
cursor[bot] commented 2026-05-08 21:41:50 +00:00 (Migrated from github.com)

PR Summary

Low Risk
Low risk workflow tweak that only changes the deploy pipeline configuration by enabling QEMU; main risk is longer or different Docker build behavior during deploys.

Overview
The deploy GitHub Actions workflow now passes enable-qemu: true into the shared cd-cdk.yaml reusable workflow, enabling QEMU emulation so Docker builds can produce ARM64 images on x86_64 runners.

Reviewed by Cursor Bugbot for commit 07c7cfd5af. Bugbot is set up for automated code reviews on this repo. Configure here.

## PR Summary <!-- CURSOR_SUMMARY --> **Low Risk** Low risk workflow tweak that only changes the deploy pipeline configuration by enabling QEMU; main risk is longer or different Docker build behavior during deploys. **Overview** The deploy GitHub Actions workflow now passes `enable-qemu: true` into the shared `cd-cdk.yaml` reusable workflow, enabling QEMU emulation so Docker builds can produce ARM64 images on x86_64 runners. <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit 07c7cfd5afbde57e14be5586393205bb5b4140f9. Bugbot is set up for automated code reviews on this repo. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup> <!-- /CURSOR_SUMMARY -->
claude[bot] commented 2026-05-08 21:42:37 +00:00 (Migrated from github.com)

LGTM. Targeted two-line fix that enables QEMU so the x86_64 runner produces ARM64 images matching the Fargate task definition's runtimePlatform.cpuArchitecture. Consistent with the same fix applied to exec-aide, and stays within Sea Haven's arm64 Lambda/Fargate convention.

LGTM. Targeted two-line fix that enables QEMU so the x86_64 runner produces ARM64 images matching the Fargate task definition's `runtimePlatform.cpuArchitecture`. Consistent with the same fix applied to exec-aide, and stays within Sea Haven's arm64 Lambda/Fargate convention.
This repo is archived. You cannot comment on pull requests.
No description provided.