8000 [ci] bazelize `get_contributors` script by aslonnie · Pull Request #53743 · ray-project/ray · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[ci] bazelize get_contributors script #53743

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 14, 2025
Merged

Conversation

aslonnie
Copy link
Collaborator

capturing dependencies, and added some fixes too

@Copilot Copilot AI review requested due to automatic review settings June 11, 2025 19:12
@aslonnie aslonnie requested a review from a team as a code owner June 11, 2025 19:12
@aslonnie aslonnie requested review from khluu and dayshah June 11, 2025 19:12
Copy link
Contributor
@Copilot 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

This PR bazelizes the get_contributors script, updates dependency requirements, and applies several fixes.

  • Updated comments and dependency versions in requirements files.
  • Refactored get_contributors.py to use the BUILD_WORKSPACE_DIRECTORY environment variable and reorganized imports.
  • Added a new Bazel build target for the get_contributors binary.

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
release/requirements_buildkite.txt Updated comment formatting for clarity regarding dependency source.
release/requirements_buildkite.in Added tqdm as a dependency for consistency with usage in the script.
ci/ray_ci/automation/get_contributors.py Refactored commit organization logic and fixed git log format.
ci/ray_ci/automation/BUILD.bazel Added a py_binary target for the get_contributors script.
Comments suppressed due to low confidence (2)

ci/ray_ci/automation/get_contributors.py:67

  • The get_category function appears to always yield [NO_CATEGORY] due to the current splitting logic. Consider checking for the existence of the closing ']' or refining the split logic to correctly extract the category from the commit message.
if line[0] == "[":

ci/ray_ci/automation/get_contributors.py:53

  • The removal of quotes in the git log format specifier might impact how commit messages with special characters or spaces are handled. Consider verifying that this change produces the intended output.
--pretty=format:%s

@aslonnie aslonnie requested a review from omatthew98 June 11, 2025 19:12
@aslonnie aslonnie force-pushed the lonnie-250611-contriblst branch from bdc31b2 to 321266a Compare June 11, 2025 19:40
capturing dependencies, and added some fixes too

Signed-off-by: Lonnie Liu <lonnie@anyscale.com>
@aslonnie aslonnie force-pushed the lonnie-250611-contriblst branch from 321266a to b112725 Compare June 11, 2025 22:54
@aslonnie aslonnie added the go add ONLY when ready to merge, run all tests label Jun 14, 2025
@aslonnie aslonnie merged commit 0d98407 into master Jun 14, 2025
6 checks passed
@aslonnie aslonnie deleted the lonnie-250611-contriblst branch June 14, 2025 12:12
elliot-barn pushed a commit that referenced this pull request Jun 18, 2025
capturing dependencies, and added some fixes too

Signed-off-by: Lonnie Liu <lonnie@anyscale.com>
Signed-off-by: elliot-barn <elliot.barnwell@anyscale.com>
rebel-scottlee pushed a commit to rebellions-sw/ray that referenced this pull request Jun 21, 2025
capturing dependencies, and added some fixes too

Signed-off-by: Lonnie Liu <lonnie@anyscale.com>
Signed-off-by: Scott Lee <scott.lee@rebellions.ai>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
go add ONLY when ready to merge, run all tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0