Repository navigation
Improve contributors.rst - #67116
Improve contributors.rst#67116pseudo-rnd-thoughts merged 6 commits into
contributors.rst#67116Conversation
Reviewers come from CODEOWNERS, authors respond via GitHub review state instead of @author-action-required, and committers add `go` (or enable auto-merge) to run full CI. Drops the obsolete test-ok label instructions. CONTRIBUTING.rst now summarises and links to getting-involved.md so the two can't drift. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Mark Towers <[email protected]>
Signed-off-by: Mark Towers <[email protected]>
There was a problem hiding this comment.
Code Review
This pull request updates the contribution guidelines and PR review process documentation in CONTRIBUTING.rst and doc/source/ray-contribute/getting-involved.md to unify the workflow for all contributors. The changes clarify that reviews are automatically requested from CODEOWNERS and explain the use of the go label for running CI. The review feedback suggests minor grammatical and accuracy improvements, specifically recommending the passive voice 'is merged' instead of 'merges' or 'a committer merges it' to better reflect the auto-merge functionality and ensure consistency across the documentation.
| 4. Document the code. Document public functions, and remember to provide a usage example if applicable. See `doc/README.md` for instructions on editing and building public documentation. | ||
| 5. Address comments on your PR. During the review process you may need to address merge conflicts with other changes. To resolve merge conflicts, run `git pull . upstream/master` on your branch. Don't use rebase, because it's less friendly to the GitHub review tool. We squash all commits on merge. | ||
| 6. Reviewers approve and merge the pull request. Be sure to ping them if the pull request is getting stale. | ||
| 6. Reviewers approve the pull request, and a committer merges it once the full CI passes. See [PR review process](#pr-review-process). |
There was a problem hiding this comment.
To maintain consistency with the detailed PR review process described below (where auto-merge can automatically merge the PR), it is more accurate to state that the PR "is merged" rather than "a committer merges it".
| 6. Reviewers approve the pull request, and a committer merges it once the full CI passes. See [PR review process](#pr-review-process). | |
| 6. Reviewers approve the pull request, and it is merged once the full CI passes. See [PR review process](#pr-review-process). |
| - Address their comments, push your changes, and **re-request review** so reviewers know the PR is ready for another look. | ||
| - Repeat until the reviewers approve the PR. | ||
| - Once the PR is approved, a committer adds the `go` label, or enables auto-merge, which adds `go` automatically. The `go` label runs the full CI test suite. | ||
| - If the full CI fails, you're responsible for fixing the failures. The PR merges once CI passes. |
There was a problem hiding this comment.
Use passive voice "is merged" instead of "merges" for grammatical correctness, as a pull request does not merge itself.
| - If the full CI fails, you're responsible for fixing the failures. The PR merges once CI passes. | |
| - If the full CI fails, you're responsible for fixing the failures. The PR is merged once CI passes. |
| re-request review until they approve. A committer then adds the ``go`` label to run the full CI, and the PR merges | ||
| once CI passes. See `PR review process`_ for details, and `AI-assisted contributions`_ if you used an AI coding agent. |
There was a problem hiding this comment.
Use "is merged" instead of "merges" for grammatical correctness and consistency with the main contributor guide.
| re-request review until they approve. A committer then adds the ``go`` label to run the full CI, and the PR merges | |
| once CI passes. See `PR review process`_ for details, and `AI-assisted contributions`_ if you used an AI coding agent. | |
| re-request review until they approve. A committer then adds the ``go`` label to run the full CI, and the PR is merged | |
| once CI passes. See `PR review process`_ for details, and `AI-assisted contributions`_ if you used an AI coding agent. |
Convert the root contributing guide to Markdown, which GitHub renders natively, and update the AGENTS.md and ray-soft-wrap skill references. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Douglas Strodtman <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Douglas Strodtman <[email protected]>
Undo the Markdown conversion, which ray-project#66811 already covers, and keep the style edits in RST. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Douglas Strodtman <[email protected]>
This reverts commit dedc0ea, restoring the Markdown conversion of CONTRIBUTING in this PR. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Douglas Strodtman <[email protected]>
#67116 converts CONTRIBUTING.rst to Markdown alongside its content update, so remove the conversion here. This restores CONTRIBUTING.rst, the AGENTS.md and ray-soft-wrap references to it, and its test.rules.test.txt expectation. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Douglas Strodtman <[email protected]>
…own (#66811) ## Description Converts the repo-root `README.rst` to Markdown. It also converts the remaining `.rst` READMEs and design notes outside `doc/`, which moved here from #66664 so that PR doesn't wait on library code-owner approvals. Unlike those files, `README.rst` is a packaging input. ### Root README - `README.rst` becomes `README.md`. Images and badges become linked Markdown images, named hyperlink targets are inlined, and the "Getting Involved" `list-table` becomes a pipe table. The unused `Workflow` target, which nothing referenced, is dropped. - `python/setup.py` reads `README.md` and sets `long_description_content_type="text/markdown"`, so PyPI renders it as Markdown. - `lint: doc_readme` (`ci/lint/lint.sh`) drops `--restructuredtext` and its `docutils` install, and keeps `setup.py check --strict --metadata`. `--restructuredtext` parses the long description as RST whatever its content type, so it fails on the Markdown file. PyPI doesn't reject a Markdown long description the way it rejects invalid RST, so the remaining check covers the metadata. The step's tag and trigger are unchanged. - `ci/docker/ray-wheel.Dockerfile`, `ci/docker/ray-cpp-wheel.Dockerfile`, and the `srcs` of the three wanda configs that listed `README.rst` (`min.build`, `ray-wheel`, `ray-cpp-wheel`) now name `README.md`. - `.buildkite/always.rules.txt` and `always.rules.test.txt` move the `pypi_readme` trigger from `README.rst` to `README.md`. The comments in those files and in `lint.rayci.yml` now describe the metadata-only check. ### READMEs and design notes outside `doc/` These moved here from #66664. They cover `python/ray/autoscaler/`, `python/ray/dashboard/client/`, `python/ray/rllib/core/models/`, `python/ray/tune/`, `python/ray/tune/examples/`, `release/long_running_tests/`, and `src/ray/design_docs/` (`actor_states`, `task_states`). Two commits: a pure `git mv` so history follows each file, then the markup conversion. The rename commit also updates the two `.buildkite/test.rules.test.txt` expectations that name `tune/README` and `task_states`. Both paths still hit the repo-wide prose skip, which matches `*.md` as well as `*.rst`. Two of the files needed no markup change: `autoscaler/README` was already Markdown inside an `.rst`, and `rllib/core/models/README` is plain text. A follow-up commit fixes typos and formatting carried over from the `.rst` sources, and points the `custom_func_checkpointing` link in the Tune examples README at `custom_func_checkpointing.py` instead of `logging_example.py`. ## Not a duplicate No open PR converts `README.rst`. Searches for `README.rst`, `README.md`, `long_description`, and `readme markdown` return no overlapping work. An earlier version of this PR also converted `CONTRIBUTING.rst`. That conversion now lives in #67116, which also updates the file's content, so this PR leaves `CONTRIBUTING.rst` alone. Among the 400 most recent open PRs, #59038 (adds a badge, last updated 2025-12-18) edits `README.rst` and would need to move its change to `README.md`. Several open PRs touch `python/setup.py`, but on unrelated lines. For the READMEs and design notes, no open PR touches any of the changed paths. ## Testing - Rendered `README.rst` with docutils and `README.md` with a CommonMark parser, then compared the visible text, link targets, and image sources. All three match. - In a Python 3.11 venv, from `python/`: - `python setup.py check --strict --metadata` (the new lint command) exits 0. - `python setup.py check --restructuredtext --strict --metadata` (the old command) exits 1 on the Markdown README with `Line block ends without a blank line`. That confirms the lint step had to change. - Ran `rayci test-rules` (built from `ray-project/rayci` at `ef6403a`) on this branch and it passed. As a negative control, removing `pypi_readme` from the `README.md` expectation made it fail. - READMEs and design notes: rendered each `.rst` with docutils and each `.md` with a CommonMark parser, then compared the visible text and link targets. They match, with two exceptions. The TensorFlow URL in `tune/examples/README` is a bare URL, which GitHub autolinks. `long_running_tests/README`'s "Anyscale UI" link had malformed RST markup with no trailing underscore, so it rendered the raw URL. It's now a working link. - `pre-commit` passed on every commit. - Not run locally: the wheel image builds that copy `README.md`. Premerge builds them. This PR was prepared with AI assistance (Claude Code). I reviewed every changed line. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Signed-off-by: Douglas Strodtman <[email protected]> Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <[email protected]>
Description
Reviewing our labels, claude pointed out that our
CONTRIBUTORS.rstrefers to labels that we not longer use. Therefore, this PR updates that description to more accurately reflect what we wish contributors to actually do, along with a wider review to improve the text