Skip to content

TAN-1032: build standup-bot arm64 natively instead of QEMU-emulated multi-platform - #986

Closed
tahminator wants to merge 1 commit into
mainfrom
TAN-1032-arm64-native-runner
Closed

tahminator wants to merge 1 commit into
mainfrom
TAN-1032-arm64-native-runner

Conversation

@tahminator

Copy link
Copy Markdown
Member

Follow-up to #985.

#985 added linux/arm64 to the shared multi-platform buildx call for both codebloom (web) and codebloom-standup-bot. The web app is fine, but standup-bot's Cargo.lock has 274 crates (serenity, tokio, hyper, reqwest) — compiling that under QEMU emulation for arm64 in the same job took over an hour on a cold cache and is now stuck doing the same on the main production build.

This replaces the in-job emulated multi-platform build for standup-bot with a native-runner matrix: amd64 on ubuntu-latest, arm64 on ubuntu-24.04-arm, each building a single platform with zero emulation. The arm64 leg pushes to a separate codebloom-standup-bot-arm repository rather than merging into one multi-arch manifest, since the actually-deployed instance stays on amd64 until the planned arm64 node migration — at which point this becomes a straight single-arch build.

codebloom (web) is untouched: still one multi-platform buildx job, unaffected by this change.

https://codebloom.notion.site/Move-all-services-to-build-arm64-Docker-images-ontop-of-amd64-3eb7c85563aa80818eead2b05279d5ac?source=copy_link

…stead of QEMU-emulated multi-platform

standup-bot's Cargo.lock has 274 crates (serenity, tokio, hyper, reqwest).
Building linux/arm64 via QEMU emulation in the same job as amd64 took over
an hour on a cold cache. Split into a native-runner matrix instead: amd64
on ubuntu-latest, arm64 on ubuntu-24.04-arm, each building+pushing a single
platform with no emulation. arm64 pushes to a separate codebloom-standup-bot-arm
repository rather than merging into one multi-arch tag, since the deployed
instance stays on amd64 until the planned arm64 node migration.

codebloom (web) is unaffected: still one multi-platform buildx job.
@tahminator
tahminator requested a review from a team October 3, 2026 01:21
@pat-agent

pat-agent Bot commented Oct 3, 2026

Copy link
Copy Markdown

Available PR Commands

  • /migrate - Applies this PR's database migrations to the staging DB (can only be run by someone on @Patina-Network/codebloom)
  • /copy - Triggers copy from production to staging db (can only be run by tahminator or angelayu0530)

@tahminator

Copy link
Copy Markdown
Member Author

Superseded by #987 — same fix, that branch already has it plus the web-image arm64 split on top.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant