Skip to content

chore: bump sgl-kernel version to 0.3.14.post2#11258

Closed
sglang-bot wants to merge 2 commits intobot_releasefrom
bot/bump-kernel-version-0.3.14.post2-2473
Closed

chore: bump sgl-kernel version to 0.3.14.post2#11258
sglang-bot wants to merge 2 commits intobot_releasefrom
bot/bump-kernel-version-0.3.14.post2-2473

Conversation

@sglang-bot
Copy link
Copy Markdown
Member

Summary

This PR bumps the sgl-kernel version to 0.3.14.post2 across all relevant files.

Files Updated

  • sgl-kernel/pyproject.toml
  • sgl-kernel/pyproject_cpu.toml
  • sgl-kernel/pyproject_rocm.toml
  • sgl-kernel/python/sgl_kernel/version.py

🤖 Generated with GitHub Actions

Kangyan-Zhou and others added 2 commits October 5, 2025 21:06
This commit updates the sgl-kernel version across all relevant files:
          - sgl-kernel/pyproject.toml
          - sgl-kernel/pyproject_cpu.toml
          - sgl-kernel/pyproject_rocm.toml
          - sgl-kernel/python/sgl_kernel/version.py

🤖 Generated with GitHub Actions
@gemini-code-assist
Copy link
Copy Markdown
Contributor

Summary of Changes

Hello @sglang-bot, 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 primarily updates the sgl-kernel package to version 0.3.14.post2. Beyond the version bump itself, it introduces significant improvements to the project's version management infrastructure. This includes a more sophisticated system for validating and comparing version strings, and a new automation script to streamline the process of creating pull requests for future version updates. These changes enhance the reliability and efficiency of release management.

Highlights

  • sgl-kernel Version Bump: The sgl-kernel package version has been updated to 0.3.14.post2 across all relevant configuration and source files.
  • Enhanced Version Management Utilities: The scripts/release/utils.py file has been significantly refactored to include robust functions for parsing, validating, and comparing version strings, supporting rc and post release identifiers according to PEP 440.
  • Automated PR Creation Script: A new bash script, scripts/release/commit_and_pr.sh, has been introduced to automate the process of committing version bump changes and creating a GitHub pull request.
  • Version Script Refinements: The bump_kernel_version.py and bump_sglang_version.py scripts have been updated to leverage the new version utility functions and enforce stricter version comparison rules, ensuring new versions are always greater than current ones.
  • Unit Tests for Version Utilities: A new test file, scripts/release/test_utils.py, has been added to provide comprehensive unit tests for the version parsing and comparison logic.
Ignored Files
  • Ignored by pattern: .github/workflows/** (2)
    • .github/workflows/bot-bump-kernel-version.yml
    • .github/workflows/bot-bump-sglang-version.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.

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 bumps the sgl-kernel version and significantly improves the release automation scripts. The new version handling logic in utils.py is robust, well-documented, and now supports pre-release and post-release version specifiers, complete with comprehensive unit tests. The logic for bumping versions is also safer, preventing accidental version downgrades. I have one suggestion for the new commit_and_pr.sh script to improve its efficiency and robustness.

Comment on lines +24 to +25
FILES_LIST=$(git diff --name-only | sed 's/^/- /')
COMMIT_FILES=$(git diff --name-only | sed 's/^/ - /')
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

To improve efficiency and robustness, you can store the output of git diff --name-only in a variable. This avoids calling the command twice and allows you to add a check to exit gracefully if there are no file changes to commit.

Suggested change
FILES_LIST=$(git diff --name-only | sed 's/^/- /')
COMMIT_FILES=$(git diff --name-only | sed 's/^/ - /')
CHANGED_FILES=$(git diff --name-only)
if [ -z "$CHANGED_FILES" ]; then
echo "No file changes detected. Nothing to commit."
exit 0
fi
FILES_LIST=$(echo "$CHANGED_FILES" | sed 's/^/- /')
COMMIT_FILES=$(echo "$CHANGED_FILES" | sed 's/^/ - /')

@zhyncs zhyncs changed the base branch from main to bot_release October 6, 2025 04:26
@zhyncs zhyncs closed this Oct 6, 2025
@zhyncs zhyncs deleted the bot/bump-kernel-version-0.3.14.post2-2473 branch October 6, 2025 04:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants