Skip to content

fix(cli): drop QEMU setup and make Windows installer non-fatal in release - #1383

Merged
jablan merged 1 commit into
mainfrom
build/cli-drop-qemu-from-release
Nov 23, 2026
Merged

jablan merged 1 commit into
mainfrom
build/cli-drop-qemu-from-release

Conversation

@jablan

@jablan jablan commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Problem

The CLI release job fails while building the Inno Setup image (build/innosetup/Dockerfile):

sock_init: ERROR in sock_check_pollhup()
wineserver: socket: Function not implemented

Releases 2.72.0, 2.73.0 and 2.74.0 failed this way; 2.71.0 passed. Failing run: https://github.com/phrase/phrase-cli/actions/runs/45130837787

Because release.sh runs with set -e, this one optional step also blocks the Docker image push, upload-artifact, signing/notarizing, the GitHub release and the brew bump.

Changes

  1. Remove docker/setup-qemu-action from the release workflow. The multi-arch image only COPYs prebuilt binaries onto alpine (no RUN steps) and Go cross-compiles, so no emulation is needed.
  2. Make the Windows installer step non-fatal in build/release.sh. It emits a ::warning and the release continues. The plain phrase_windows_*.exe binaries are built by go_build.sh and are unaffected.

Not verified

  • The root cause is unconfirmed. QEMU being the trigger is a hypothesis. The old Dockerfile builds fine locally (Ubuntu 22.04, wine 6.0.3, kernel 7.3.4), so the failure is specific to the runner. The runner moved to ubuntu-26.04 between 2.71.0 and 2.72.0, which is the other suspect.
  • If the next release still fails at this step, change 2 means it no longer blocks the release, but the installers will be missing. Next candidates: pin runs-on: ubuntu-24.04 for the job, or move the Dockerfile to a newer wine base image.
  • With change 2, a failed installer build only shows as a run annotation, so releases may go out without phrase_windows_setup*.exe unnoticed.
  • No Jira ticket is in the title. Add one if there is one.

🤖 Generated with Claude Code

…ease

The release job fails building the Inno Setup image: wine's wineserver
cannot create its socket ("socket: Function not implemented") on the
ubuntu-latest (26.04) runner. Releases 2.72.0-2.74.0 failed this way.

- Remove docker/setup-qemu-action. The multi-arch image only COPYs
  prebuilt binaries onto alpine and Go cross-compiles, so no emulation
  is needed.
- Make the optional Windows installer step non-fatal so a failure no
  longer blocks the image push, signing, GitHub release and brew bump.
  The plain Windows binaries are built separately and still released.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

API changelog (oasdiff)

Doc-only edits (descriptions, examples) do not appear here.

No changes detected

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

@jablan
jablan merged commit 5da8b17 into main Nov 23, 2026
14 of 15 checks passed
@jablan
jablan deleted the build/cli-drop-qemu-from-release branch November 23, 2026 12:18
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.

3 participants