Skip to content

ci: install qemu on Ubuntu 26.04 runners; fix the rustdoc link error - #409

Merged
AdaWorldAPI merged 2 commits into
masterfrom
claude/gallant-wright-wqeht0
Nov 5, 2026
Merged

AdaWorldAPI merged 2 commits into
masterfrom
claude/gallant-wright-wqeht0

Conversation

@AdaWorldAPI

Copy link
Copy Markdown
Owner

Two CI failures that no code change caused.

1. qemu jobs: qemu-user-static is gone on the new runner image

ubuntu-latest is now Ubuntu 26.04. There, qemu-user-static is a virtual package with no installation candidate, so apt-get install exits 100 before anything builds. PR #408, which changes one Markdown file, went red on neon-simd/parity-qemu this way. The same step is in four simd-matrix jobs.

  • New scripts/install-qemu-user.sh installs qemu-user-static where it still exists. Otherwise it installs qemu-user and links the qemu-aarch64-static / qemu-x86_64-static names the parity scripts call.
  • All five qemu steps call it.
  • Checked on Ubuntu 24.04:
    • both branches of the script, with QEMU_INSTALL_FORCE_PLAIN=1 taking the 26.04 branch;
    • scripts/neon-parity.sh → NEON SIMD parity: PASS through the linked plain qemu-aarch64.

2. docs/nightly: red on master since at least 29 Oct

table[0] in a doc comment in src/simd_stride.rs was read as an intra-doc link, and rustdoc runs with -D warnings. It is now in backticks. cargo +nightly doc --no-deps --features approx,serde,rayon with RUSTDOCFLAGS=-D warnings builds.

Not fixed here

miri on master is cancelled at the 6-hour job limit on every push. This is why each master CI run takes about 6 hours and ends red. It needs its own look: which tests miri spends the time on, and whether to filter them.

CLAUDE.md's install instruction is corrected in place.


Generated by Claude Code

Two failures in CI that no code change caused.

1. neon-simd/parity-qemu (and the four qemu jobs in simd-matrix): the
   ubuntu-latest image is now Ubuntu 26.04, where `qemu-user-static` is a
   virtual package with no installation candidate, so `apt-get install`
   exits 100 before anything is built (PR #408, a docs-only change, went
   red this way). New scripts/install-qemu-user.sh installs
   `qemu-user-static` where it still exists, else `qemu-user` plus links
   for the `qemu-<arch>-static` names the parity scripts call. Every qemu
   step calls it. Both branches were run on Ubuntu 24.04
   (QEMU_INSTALL_FORCE_PLAIN=1 takes the 26.04 branch), and
   scripts/neon-parity.sh passes through the linked plain qemu-aarch64.

2. docs/nightly has been red on master since at least 2026-10-29:
   `table[0]` in a doc comment in src/simd_stride.rs was read as an
   intra-doc link (rustdoc -D warnings). It is now in backticks;
   `cargo +nightly doc --no-deps --features approx,serde,rayon` with
   RUSTDOCFLAGS=-D warnings builds.

CLAUDE.md's install instruction is corrected in place.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XAqKMQJzQD5KvNm8BtbsWG
@coderabbitai

coderabbitai Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 975eabc1-6777-47eb-9809-40e1041f1db1
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@AdaWorldAPI
AdaWorldAPI marked this pull request as ready for review November 5, 2026 22:42
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 5, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-05T22:46:36.361336Z aa11797 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

The qemu install fix works on the new image (qemu 10.2.1, both -static
names resolve), and it exposed a second effect of the same image change.
realization/avx failed with "Fatal glibc error: CPU does not support
x86-64-v3": ubuntu-latest is now Ubuntu 26.04 amd64v3, whose glibc
requires x86-64-v3, so no host-linked binary starts under
`qemu -cpu SandyBridge` or `-cpu Nehalem`. Those two arms exist to run on
exactly such CPUs. They are pinned to ubuntu-24.04 with the reason
inline; moving them back needs a static (musl) build of the parity binary
and the lib test binary. Every other job stays on ubuntu-latest; the
cpu-guard job emulates Haswell (x86-64-v3) and is unaffected.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XAqKMQJzQD5KvNm8BtbsWG

Copy link
Copy Markdown
Owner Author

realization/avx × x86_64 failed on 1d6fc87 with Fatal glibc error: CPU does not support x86-64-v3 (exit 127), after the build had succeeded.

The new qemu install worked: the log shows qemu 10.2.1 with both -static names resolving. The failure is the same runner-image change seen from another side. ubuntu-latest is now Ubuntu 26.04 amd64v3, and its glibc requires x86-64-v3, so no host-linked binary can start under qemu -cpu SandyBridge or -cpu Nehalem. Running on exactly those CPUs is the point of the AVX and v2 arms.

The next commit pins those two jobs to ubuntu-24.04 and gives the reason inline. Moving them back would need a static (musl) build of the parity binary and the lib test binary. The other jobs stay on ubuntu-latest.


Generated by Claude Code

Copy link
Copy Markdown
Owner Author

@codex review


Generated by Claude Code

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Can't wait for the next one!

Reviewed commit: aa11797c2b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@AdaWorldAPI
AdaWorldAPI merged commit fb829ba into master Nov 5, 2026
30 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.

2 participants