Skip to content

fix(ci): use available QEMU user package on Ubuntu - #1224

Merged
benvinegar merged 1 commit into
mainfrom
fix/ubuntu-qemu-user
Oct 24, 2026
Merged

benvinegar merged 1 commit into
mainfrom
fix/ubuntu-qemu-user

Conversation

@benvinegar

Copy link
Copy Markdown
Member

Problem

The compiled-binary job on main fails on Ubuntu 26.04 because `qemu-user-static` has no installation candidate:
https://github.com/modem-dev/hunk/actions/runs/39614551398/job/119272080247

Change

Install `qemu-user` and invoke `qemu-x86_64` in both CI and the prebuilt release workflow. Keep the existing Nehalem CPU check intact. This is workflow-only maintenance; no application behavior changes.

Validation

  • `bun run build:bin`
  • Installed `qemu-user` in a clean `ubuntu:26.04` Docker container and ran `qemu-x86_64 -cpu Nehalem /work/hunk --version` against the compiled binary: passed, printing `0.24.0`.
  • `bunx oxfmt --check .github/workflows/ci.yml .github/workflows/release-prebuilt-npm.yml .changeset/ubuntu-qemu-user.md`
  • `git diff --check`

Tested on Linux with Ubuntu 26.04 in Docker. Full application suites were not run because only workflow package installation and invocation changed.

This PR description was generated by Pi using GPT-6.1 Sol

@vercel

vercel Bot commented Oct 24, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
hunk-web Ignored Ignored Oct 24, 2026 1:15pm UTC

Request Review

@greptile-apps

greptile-apps Bot commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge.

Summary

Replaces qemu-user-static with qemu-user in CI and the prebuilt release workflow.

  • Both binary workflows use Ubuntu's available QEMU package.

Reviews (1) · Last reviewed commit: "fix(ci): use available QEMU user package..." · Reviewed by Greptile

@benvinegar
benvinegar merged commit c3af44f into main Oct 24, 2026
17 checks passed
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