Skip to content

correct arch name for amd64 docker image - #8403

Merged
poshul merged 1 commit into
developfrom
arch_name_fix
Dec 1, 2025
Merged

poshul merged 1 commit into
developfrom
arch_name_fix

Conversation

@poshul

@poshul poshul commented Nov 28, 2025 •

Copy link
Copy Markdown
Collaborator

x86_64 is apparently not the standard designator for that architecture, we should use amd64 instead.

Summary by CodeRabbit

  • Chores
    • Updated development environment configuration to support dynamic architecture detection.
    • Updated Linux build container image reference for improved architecture compatibility.

✏️ Tip: You can customize this high-level summary in your review settings.

@coderabbitai

coderabbitai Bot commented Nov 28, 2025 •

Copy link
Copy Markdown
Contributor

Walkthrough

Two configuration files updated to reflect architecture-specific container image references: the dev container now uses a dynamic architecture suffix variable, and the CI workflow updates the manylinux build image tag from x86_64 to amd64.

Changes

Cohort / File(s) Summary
Container & CI Architecture References
.devcontainer/devcontainer.json, .github/workflows/pyopenms-wheels.yml
Updated container image tags to use architecture-specific references: dev container now appends dynamic ${localArch} suffix; CI workflow manylinux image updated from latest-x86_64 to latest-amd64

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

  • Both changes are straightforward configuration tag updates with no logic alterations
  • Verify that the new architecture references (${localArch} and amd64) point to valid images in the registries
  • Confirm the intended architecture mapping and compatibility with build pipelines

Poem

🐰 A container's arch now dances free,
With dynamic tags matching what we be,
x86 to amd64, a small shift made,
Building wheels on the proper grade! ✨

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: correcting Docker image architecture naming from x86_64 to amd64, which is reflected in both modified files.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch arch_name_fix

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between d9b08e5 and e7b7d3b.

📒 Files selected for processing (2)
  • .devcontainer/devcontainer.json (1 hunks)
  • .github/workflows/pyopenms-wheels.yml (1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (10)
  • GitHub Check: build-win
  • GitHub Check: build-macos-arm
  • GitHub Check: build-and-test (ubuntu-22.04, g++, 11)
  • GitHub Check: build-lnx
  • GitHub Check: build-and-test (windows-2022, cl.exe, 14.36)
  • GitHub Check: build-lnx-arm
  • GitHub Check: build-and-test (ubuntu-22.04-arm, g++, 11)
  • GitHub Check: build-and-test (macos-15-intel, xcode, 16.0.0)
  • GitHub Check: build-and-test (macos-26, xcode, 26.0)
  • GitHub Check: build-and-test (ubuntu-22.04, clang++, 15)
🔇 Additional comments (2)
.devcontainer/devcontainer.json (1)

3-3: Verify that ${localArch} resolves to Docker-standard architecture names.

The image tag now uses ${localArch} to dynamically reference architecture suffixes. However, there's a potential mismatch: the devcontainer ${localArch} variable may return Linux-convention architecture names (e.g., x86_64, aarch64), while Docker image tags follow OCI conventions (amd64, arm64). This could cause image pulls to fail if the tag names don't match what exists in the registry.

Compare with the workflow file (line 505: latest-amd64, line 632: latest-arm64), which uses explicit standard Docker architecture names. Verify that the Docker images are tagged with names matching what ${localArch} produces on all target systems.

To verify, you could:

  1. Check the GHCR repository for actual image tags: ghcr.io/openms/contrib_manylinux_2_34
  2. Confirm what ${localArch} expands to in the devcontainer spec
  3. If there's a mismatch, either use explicit tags or add a mapping layer
.github/workflows/pyopenms-wheels.yml (1)

505-505: Architecture naming is correct.

The change from x86_64 to amd64 is correct and aligns with Docker/OCI standard architecture designators. The explicit image tags (latest-amd64, latest-arm64 on line 632) are appropriate for CI workflows and ensure predictable, consistent builds across different platforms.


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

Comment @coderabbitai help to get the list of available commands and usage tips.

@timosachsenberg

Copy link
Copy Markdown
Contributor

Makes sense.

@poshul
poshul merged commit 7eb2c25 into develop Dec 1, 2025
@poshul
poshul deleted the arch_name_fix branch December 1, 2025 10:21
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