This is an automated email from the ASF dual-hosted git repository. zaynt4606 pushed a commit to branch branch-0.7 in repository https://gitbox.apache.org/repos/asf/celeborn.git
commit 90d79ff96ed26d3ce9ccac0b0d4f653601d73c23 Author: zhengtao <[email protected]> AuthorDate: Mon Aug 10 18:15:25 2026 +0800 [RELEASE] Bump 0.7.0 AI-Contributed/Feature: 0/88 AI-Contributed/UT: 0/0 --- .codex-review.md | 54 ++++++++++++++++++++++ AGENTS.md | 22 +++++++++ .../celeborn/rest/v1/master/invoker/ApiClient.java | 2 +- .../rest/v1/master/invoker/Configuration.java | 2 +- .../celeborn/rest/v1/worker/invoker/ApiClient.java | 2 +- .../rest/v1/worker/invoker/Configuration.java | 2 +- pom.xml | 2 +- version.sbt | 2 +- 8 files changed, 82 insertions(+), 6 deletions(-) diff --git a/.codex-review.md b/.codex-review.md new file mode 100644 index 0000000000..c940c04c4f --- /dev/null +++ b/.codex-review.md @@ -0,0 +1,54 @@ +# GitHub PR Review Workflow + +## Environment + +- `gh` CLI installed but cannot connect (macOS Go network stack issue), use `curl` with GitHub API instead +- GITHUB_TOKEN configured in `~/.zshrc` +- Token scopes: `repo`, `read:org` + +## Common Commands + +### View PR info +```bash +curl -s "https://api.github.com/repos/apache/celeborn/pulls/{PR_NUMBER}" \ + -H "Authorization: token $GITHUB_TOKEN" | python3 -c "import sys,json; d=json.load(sys.stdin); print(d.get('title',''), d.get('state',''), d.get('head',{}).get('ref',''))" +``` + +### Get PR diff +```bash +curl -s "https://api.github.com/repos/apache/celeborn/pulls/{PR_NUMBER}/files" \ + -H "Authorization: token $GITHUB_TOKEN" | python3 -c "import sys,json; [print(f['filename'], f.get('patch','')[:200]) for f in json.load(sys.stdin)]" +``` + +### Add inline review comment +```bash +curl -s -X POST "https://api.github.com/repos/apache/celeborn/pulls/{PR_NUMBER}/comments" \ + -H "Authorization: token $GITHUB_TOKEN" \ + -H "Content-Type: application/json" \ + -H "Accept: application/vnd.github+json" \ + -d '{ + "body": "comment text", + "path": "file path", + "line": line_number, + "side": "RIGHT", + "commit_id": "PR head SHA" + }' +``` + +### Submit review +```bash +curl -s -X POST "https://api.github.com/repos/apache/celeborn/pulls/{PR_NUMBER}/reviews" \ + -H "Authorization: token $GITHUB_TOKEN" \ + -H "Content-Type: application/json" \ + -d '{ + "body": "overall comment", + "event": "COMMENT" + }' +``` + +## Notes + +- `line` is the new file line number (right side), use `side: "RIGHT"` for additions +- `commit_id` is the PR head commit SHA, obtainable from PR info +- `event` options: `COMMENT`, `APPROVE`, `REQUEST_CHANGES` +- Token is in `~/.zshrc`, do not commit to git diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 0000000000..cd3c447366 --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,22 @@ +## Project Guidelines + +### Merging PRs + +- Use `dev/merge_pr.py` to merge PRs into the Apache Celeborn repository. Do NOT use GitHub's merge button or `git merge` directly. +- After merging, always specify which branch the PR was merged into (e.g. `branch-0.7`, `main`). +- The `dev/merge_pr.py` script is the canonical merge tool for the Celeborn community. +- After merging, leave a comment on the PR thanking the contributor and noting which branch(es) the PR was merged into, including the merge commit hash(es). + +### Release Process + +- Release branch pattern: `branch-{MAJOR}.{MINOR}` (e.g. `branch-0.7`) +- RC tag pattern: `v{VERSION}-rc{RC_NUMBER}` (e.g. `v0.7.0-rc0`) +- Source and binary artifacts are signed with GPG and uploaded to `dist/dev/celeborn/` (SVN staging) +- Maven artifacts are published to Apache Nexus staging repository +- Only PMC members can write to `dist/release/celeborn/` (including KEYS file updates) +- Vote emails are sent to `[email protected]` in plain text format + +### Language + +- Always respond in Simplified Chinese unless explicitly asked otherwise. +- Keep code, commands, technical terms, and file paths in their original form. diff --git a/openapi/openapi-client/src/main/java/org/apache/celeborn/rest/v1/master/invoker/ApiClient.java b/openapi/openapi-client/src/main/java/org/apache/celeborn/rest/v1/master/invoker/ApiClient.java index 64050dab04..4323cf5e78 100644 --- a/openapi/openapi-client/src/main/java/org/apache/celeborn/rest/v1/master/invoker/ApiClient.java +++ b/openapi/openapi-client/src/main/java/org/apache/celeborn/rest/v1/master/invoker/ApiClient.java @@ -131,7 +131,7 @@ public class ApiClient extends JavaTimeFormatter { dateFormat = ApiClient.buildDefaultDateFormat(); // Set default User-Agent. - setUserAgent("OpenAPI-Generator/0.7.1-SNAPSHOT/java"); + setUserAgent("OpenAPI-Generator/0.7.0/java"); // Setup authentications (key: authentication name, value: authentication). authentications = new HashMap<String, Authentication>(); diff --git a/openapi/openapi-client/src/main/java/org/apache/celeborn/rest/v1/master/invoker/Configuration.java b/openapi/openapi-client/src/main/java/org/apache/celeborn/rest/v1/master/invoker/Configuration.java index c7c5e6cf24..233cf0c460 100644 --- a/openapi/openapi-client/src/main/java/org/apache/celeborn/rest/v1/master/invoker/Configuration.java +++ b/openapi/openapi-client/src/main/java/org/apache/celeborn/rest/v1/master/invoker/Configuration.java @@ -20,7 +20,7 @@ package org.apache.celeborn.rest.v1.master.invoker; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0") public class Configuration { - public static final String VERSION = "0.7.1-SNAPSHOT"; + public static final String VERSION = "0.7.0"; private static ApiClient defaultApiClient = new ApiClient(); diff --git a/openapi/openapi-client/src/main/java/org/apache/celeborn/rest/v1/worker/invoker/ApiClient.java b/openapi/openapi-client/src/main/java/org/apache/celeborn/rest/v1/worker/invoker/ApiClient.java index 94e0d120d8..d79ebf328d 100644 --- a/openapi/openapi-client/src/main/java/org/apache/celeborn/rest/v1/worker/invoker/ApiClient.java +++ b/openapi/openapi-client/src/main/java/org/apache/celeborn/rest/v1/worker/invoker/ApiClient.java @@ -131,7 +131,7 @@ public class ApiClient extends JavaTimeFormatter { dateFormat = ApiClient.buildDefaultDateFormat(); // Set default User-Agent. - setUserAgent("OpenAPI-Generator/0.7.1-SNAPSHOT/java"); + setUserAgent("OpenAPI-Generator/0.7.0/java"); // Setup authentications (key: authentication name, value: authentication). authentications = new HashMap<String, Authentication>(); diff --git a/openapi/openapi-client/src/main/java/org/apache/celeborn/rest/v1/worker/invoker/Configuration.java b/openapi/openapi-client/src/main/java/org/apache/celeborn/rest/v1/worker/invoker/Configuration.java index e44f3eeece..0e83477f90 100644 --- a/openapi/openapi-client/src/main/java/org/apache/celeborn/rest/v1/worker/invoker/Configuration.java +++ b/openapi/openapi-client/src/main/java/org/apache/celeborn/rest/v1/worker/invoker/Configuration.java @@ -20,7 +20,7 @@ package org.apache.celeborn.rest.v1.worker.invoker; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0") public class Configuration { - public static final String VERSION = "0.7.1-SNAPSHOT"; + public static final String VERSION = "0.7.0"; private static ApiClient defaultApiClient = new ApiClient(); diff --git a/pom.xml b/pom.xml index 4c422a1806..693b770650 100644 --- a/pom.xml +++ b/pom.xml @@ -56,7 +56,7 @@ </distributionManagement> <properties> - <project.version>0.7.1-SNAPSHOT</project.version> + <project.version>0.7.0</project.version> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> diff --git a/version.sbt b/version.sbt index e138eb1bc4..5a014122fd 100644 --- a/version.sbt +++ b/version.sbt @@ -15,4 +15,4 @@ * limitations under the License. */ -ThisBuild / version := "0.7.1-SNAPSHOT" +ThisBuild / version := "0.7.0"
