Skip to content

Fixed CI errors on x86 (hopefully)#64

Merged
sixtysixx merged 3 commits intoChipaDevTeam:masterfrom
sixtysixx:master
Feb 27, 2026
Merged

Fixed CI errors on x86 (hopefully)#64
sixtysixx merged 3 commits intoChipaDevTeam:masterfrom
sixtysixx:master

Conversation

@sixtysixx
Copy link
Copy Markdown
Collaborator

@sixtysixx sixtysixx commented Feb 27, 2026

Fixed CI errors on x86

Summary by CodeRabbit

  • Chores
    • Updated Python version to 3.13.12 across CI workflows and documentation
    • Updated Linux prebuilt wheel download URL for consistency
    • Updated build toolchain configurations for Android

@sixtysixx sixtysixx merged commit fdb5222 into ChipaDevTeam:master Feb 27, 2026
@gemini-code-assist
Copy link
Copy Markdown
Contributor

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request addresses and aims to resolve continuous integration errors on x86 platforms by standardizing the architecture naming convention across various configuration files and documentation. The changes ensure consistency in how x86-based systems are referenced, particularly in build environments and installation instructions, which should lead to more reliable CI outcomes.

Highlights

  • CI Configuration Update: Updated references from "x86_64" to "x86" in CI documentation to reflect the correct architecture for pytest runs.
  • Dockerfile Adjustments: Modified the PATH environment variable in Android NDK Dockerfiles, changing "linux-x86_64" to "linux-x86" for toolchain paths.
  • Documentation Correction: Corrected the Linux wheel installation command in README.md to use the "x86" architecture suffix instead of "x86_64".

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Changelog
  • AGENTS.md
    • Updated the CI description to reflect "pytest on x86" instead of "x86_64".
  • BinaryOptionsToolsV2/Dockerfile
    • Changed the PATH environment variable for the Android NDK toolchain from "linux-x86_64" to "linux-x86".
  • README.md
    • Updated the pip install command for Linux to reference the "x86.whl" file instead of "x86_64.whl".
  • docker/android/Dockerfile
    • Changed the PATH environment variable for the Android NDK toolchain from "linux-x86_64" to "linux-x86".
Ignored Files
  • Ignored by pattern: .github/workflows/** (1)
    • .github/workflows/CI.yml
Activity
  • No human activity has been recorded for this pull request yet.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Feb 27, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info

Configuration used: defaults

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 5290fe3 and eca8198.

📒 Files selected for processing (5)
  • .github/workflows/CI.yml
  • AGENTS.md
  • BinaryOptionsToolsV2/Dockerfile
  • README.md
  • docker/android/Dockerfile

📝 Walkthrough

Walkthrough

The pull request updates the CI workflow to use Python 3.13.12, changes build architecture targets from x86_64 to x86 across multiple CI and Docker configurations, and updates corresponding documentation and wheel filename references to reflect these changes.

Changes

Cohort / File(s) Summary
CI Workflow & Configuration
.github/workflows/CI.yml, AGENTS.md
Python version bumped to 3.13.12; matrix build target values changed from x86_64/x86 to x86/x86; release notes and summary outputs updated to reflect new version and architecture targeting.
Build Infrastructure
BinaryOptionsToolsV2/Dockerfile, docker/android/Dockerfile
Android NDK toolchain PATH entries updated from linux-x86_64 to linux-x86 prebuilt directory references.
Documentation
README.md
Linux prebuilt wheel download URL filename updated from manylinux_2_34_x86_64.whl to manylinux_2_34_x86.whl to match new architecture targeting.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Poem

🐰 Hops and configs dance with glee,
x86_64 bids farewell, x86 takes the spree,
Python polished to 3.13.12,
Docker paths shift—toolchains at the helm!
A nimble build, prepared with care,
Wheels rolling down architecture's stair. 🛞

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

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.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request aims to fix CI errors on x86 platforms but introduces critical issues that will likely break builds and user installations. The changes in both Dockerfiles point to a non-existent Android NDK toolchain directory, which will cause the Docker builds to fail. Additionally, the README file has been updated with a URL to a Linux wheel with an invalid platform tag, which will prevent users from installing the package. These changes seem to originate from a misunderstanding of the x86 vs x86_64 architecture identifiers and should be reverted or corrected.

ENV ANDROID_SDK_ROOT=/opt/android-sdk
ENV ANDROID_NDK_HOME=$ANDROID_SDK_ROOT/ndk/$ANDROID_NDK_VERSION
ENV PATH="$ANDROID_NDK_HOME/toolchains/llvm/prebuilt/linux-x86_64/bin:$PATH"
ENV PATH="$ANDROID_NDK_HOME/toolchains/llvm/prebuilt/linux-x86/bin:$PATH"
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.

critical

The path to the Android NDK toolchain is incorrect. The Android NDK for Linux is distributed for 64-bit hosts, and the prebuilt toolchain directory is named linux-x86_64. The path .../linux-x86/bin does not exist in the NDK r26d distribution. This will cause the Docker build to fail when it cannot find the toolchain binaries.

ENV PATH="$ANDROID_NDK_HOME/toolchains/llvm/prebuilt/linux-x86_64/bin:$PATH"

Comment thread docker/android/Dockerfile
ENV ANDROID_SDK_ROOT=/opt/android-sdk
ENV ANDROID_NDK_HOME=$ANDROID_SDK_ROOT/ndk/$ANDROID_NDK_VERSION
ENV PATH="$ANDROID_NDK_HOME/toolchains/llvm/prebuilt/linux-x86_64/bin:$PATH"
ENV PATH="$ANDROID_NDK_HOME/toolchains/llvm/prebuilt/linux-x86/bin:$PATH"
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.

critical

The path to the Android NDK toolchain is incorrect. The Android NDK for Linux is distributed for 64-bit hosts, and the prebuilt toolchain directory is named linux-x86_64. The path .../linux-x86/bin does not exist in the NDK r26d distribution. This will cause the Docker build to fail when it cannot find the toolchain binaries.

ENV PATH="$ANDROID_NDK_HOME/toolchains/llvm/prebuilt/linux-x86_64/bin:$PATH"

Comment thread README.md

```bash
pip install "https://github.com/ChipaDevTeam/BinaryOptionsTools-v2/releases/download/BinaryOptionsToolsV2-0.2.8/BinaryOptionsToolsV2-0.2.8-cp38-abi3-manylinux_2_34_x86_64.whl"
pip install "https://github.com/ChipaDevTeam/BinaryOptionsTools-v2/releases/download/BinaryOptionsToolsV2-0.2.8/BinaryOptionsToolsV2-0.2.8-cp38-abi3-manylinux_2_34_x86.whl"
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.

high

The updated wheel filename for Linux uses an invalid platform tag. The tag manylinux_2_34_x86 is not a standard Python wheel tag. For 64-bit Linux, the tag should be manylinux_..._x86_64. This incorrect URL will lead to a 404 error for users trying to install the package on Linux by following the documentation.

Suggested change
pip install "https://github.com/ChipaDevTeam/BinaryOptionsTools-v2/releases/download/BinaryOptionsToolsV2-0.2.8/BinaryOptionsToolsV2-0.2.8-cp38-abi3-manylinux_2_34_x86.whl"
pip install "https://github.com/ChipaDevTeam/BinaryOptionsTools-v2/releases/download/BinaryOptionsToolsV2-0.2.8/BinaryOptionsToolsV2-0.2.8-cp38-abi3-manylinux_2_34_x86_64.whl"

Comment thread AGENTS.md
- Tests often skip without live credentials; use mocking where possible
- Python tests use fixtures from `conftest.py`; module-scoped fixtures for connection reuse
- CI builds wheels for Linux (manylinux, musllinux), Windows, macOS; runs pytest on x86_64
- CI builds wheels for Linux (manylinux, musllinux), Windows, macOS; runs pytest on x86
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.

medium

The term x86 is ambiguous and can lead to confusion. It can refer to 32-bit architecture or the entire family of architectures including 64-bit. For clarity, it's best practice to use specific identifiers like x86_64 for 64-bit systems. Given that other parts of the project target x86_64, this change introduces inconsistency and could mislead developers about the CI environment.

Suggested change
- CI builds wheels for Linux (manylinux, musllinux), Windows, macOS; runs pytest on x86
- CI builds wheels for Linux (manylinux, musllinux), Windows, macOS; runs pytest on x86_64

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