Skip to content

Conversation

@theshadow76
Copy link
Contributor

@theshadow76 theshadow76 commented Jan 26, 2026

Summary by CodeRabbit

  • Chores
    • Optimized release workflow and artifact handling processes
    • Enabled automatic release notes generation with improved release metadata and prerelease detection
    • Fixed minor formatting in example files

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

Copilot AI review requested due to automatic review settings January 26, 2026 10:43
@theshadow76 theshadow76 merged commit 36a1822 into master Jan 26, 2026
6 of 19 checks passed
@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @theshadow76, 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 a minor formatting inconsistency by ensuring that a specific JavaScript example file ends with a newline character. This change improves code consistency and aligns with best practices for file termination, despite the generic title "Fix wheels" which doesn't directly reflect the content.

Highlights

  • File Formatting: Added a missing newline character at the end of the examples/javascript/create_raw_iterator.js file. This ensures adherence to common file formatting standards.

🧠 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.

Ignored Files
  • Ignored by pattern: .github/workflows/** (1)
    • .github/workflows/CI.yml
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
Contributor

coderabbitai bot commented Jan 26, 2026

Caution

Review failed

The pull request is closed.

📝 Walkthrough

Walkthrough

CI/CD workflow configuration refined to streamline release automation. Artifact handling paths are adjusted for consistency, release job conditions simplified, and GitHub Release documentation enhanced with detailed installation notes and metadata.

Changes

Cohort / File(s) Summary
CI/Release Workflow Configuration
.github/workflows/CI.yml
Release job trigger simplified (tag/dispatch only); artifact download paths changed from "." to "wheels"; attestation and publish paths updated from "wheels-/" to "wheels/wheels-/"; GitHub Release step renamed and gated to tags; release notes and prerelease metadata added (rc condition included).
JavaScript Examples Formatting
examples/javascript/create_raw_iterator.js
Newline added at end of file; no functional changes.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Poem

🐰✨ Workflows refined with careful hands,
Artifacts march through new lands,
Paths aligned, releases soar,
GitHub whispers release notes once more,
A newline appears with grace! 🎉

✨ Finishing touches
  • 📝 Generate docstrings

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
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 adds a newline to the end of examples/javascript/create_raw_iterator.js, which is a good formatting fix. However, upon reviewing the file, I noticed that it appears to be a non-functional example. It explicitly states that the createRawIterator method is not implemented, which could be confusing for users. I recommend either removing this file or updating it to demonstrate a working feature to improve the quality of the examples.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the CI release workflow to correctly collect and publish built wheel artifacts, and applies a small formatting fix in a JavaScript example.

Changes:

  • Adjusts the release job trigger conditions and changes artifact download location to a dedicated wheels/ directory.
  • Updates attestation and release upload globs to match the new artifact directory structure and adds a richer GitHub Release configuration/body.
  • Fixes a minor formatting/line issue in the JavaScript create_raw_iterator example.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.

File Description
examples/javascript/create_raw_iterator.js Minor formatting/line correction at the script entrypoint invocation.
.github/workflows/CI.yml Fixes wheel artifact collection pathing and updates the release/attestation/upload configuration.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +433 to +439
pip install BinaryOptionsToolsV2-${{ github.ref_name }}-cp38-abi3-win_amd64.whl

# Linux (x86_64)
pip install BinaryOptionsToolsV2-${{ github.ref_name }}-cp38-abi3-manylinux_2_28_x86_64.whl

# macOS (Intel)
pip install BinaryOptionsToolsV2-${{ github.ref_name }}-cp38-abi3-macosx_10_12_x86_64.whl
Copy link

Copilot AI Jan 26, 2026

Choose a reason for hiding this comment

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

The wheel filenames in these install examples likely double-prefix the version. github.ref_name for your tags appears to already be of the form BinaryOptionsToolsV2-0.x.y (see README.md installation URLs), so BinaryOptionsToolsV2-${{ github.ref_name }}-... would become BinaryOptionsToolsV2-BinaryOptionsToolsV2-0.x.y-... and not match the actual asset names. Consider using ${{ github.ref_name }} directly for the filename portion (or derive a separate version variable if your tag naming differs).

Suggested change
pip install BinaryOptionsToolsV2-${{ github.ref_name }}-cp38-abi3-win_amd64.whl
# Linux (x86_64)
pip install BinaryOptionsToolsV2-${{ github.ref_name }}-cp38-abi3-manylinux_2_28_x86_64.whl
# macOS (Intel)
pip install BinaryOptionsToolsV2-${{ github.ref_name }}-cp38-abi3-macosx_10_12_x86_64.whl
pip install ${{ github.ref_name }}-cp38-abi3-win_amd64.whl
# Linux (x86_64)
pip install ${{ github.ref_name }}-cp38-abi3-manylinux_2_28_x86_64.whl
# macOS (Intel)
pip install ${{ github.ref_name }}-cp38-abi3-macosx_10_12_x86_64.whl

Copilot uses AI. Check for mistakes.
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