Skip to content

[autoscaler] Add Oracle Cloud Infrastructure (OCI) node provider - #66289

Open
fede-kamel wants to merge 7 commits into
ray-project:masterfrom
fede-kamel:feat-oci-node-provider
Open

fede-kamel wants to merge 7 commits into
ray-project:masterfrom
fede-kamel:feat-oci-node-provider

Conversation

@fede-kamel

Copy link
Copy Markdown

Description

Adds a community-maintained node provider for Oracle Cloud Infrastructure (OCI) Compute, so ray up and the autoscaler can launch and scale Ray clusters on OCI the way they already can on AWS, GCP, Azure, Aliyun and vSphere. provider.type: oci needs only region and compartment_id.

  • Package ray.autoscaler._private._oci (underscore-prefixed like _azure, so it can never shadow the oci SDK), registered as type: oci; the SDK is imported lazily with a pip install oci hint.
  • Auth: an OCI config-file profile on the workstation (API key, or an oci session authenticate session-token profile, detected via security_token_file), instance principals on the head node. bootstrap_config idempotently creates the dynamic group and compartment policy the head needs, the OCI analogue of the AWS provider's IAM role, with create_iam_resources: false and use_instance_principal: false as escape hatches.
  • Network: honours subnet_id (per provider or per node type); otherwise idempotently creates ray-autoscaler-vcn (10.77.0.0/16, overridable), a public subnet, internet gateway, default route and security-list rules (SSH from anywhere, all traffic within the VCN), all tagged and reused on re-runs.
  • Images and SSH: newest Canonical Ubuntu 22.04 platform image compatible with each shape; generates and injects an SSH key through instance metadata when auth.ssh_private_key is absent.
  • Lifecycle: Ray tags as OCI free-form tags (with limit validation), per-compartment listing filtered client side, primary-VNIC IPs, update_instance tag merges, terminate_instance(preserve_boot_volume=False), parallel terminate, bounded retry on OCI's 409-while-provisioning, launch failures mapped to NodeLaunchException categories, CPU/GPU resources autodetected from list_shapes. cache_stopped_nodes implemented but off by default because OCI bills stopped GPU and DenseIO shapes.
  • python/ray/autoscaler/oci/{defaults,example-full,example-minimal}.yaml (with a VM.GPU.A10.1 worker type), doc/source/cluster/vms/user-guides/launching-clusters/oci.md plus index, getting-started and configuration-reference entries, and python/ray/tests/test_autoscaler_oci.py (29 tests against an in-memory fake of the SDK, so no new CI dependency).

Related issues

None found; there is no existing OCI issue or PR.

Additional information

Tested end to end on a real OCI tenancy (us-phoenix-1) with released ray[default]==2.58.0 plus these files overlaid, since Ray cannot be built from source in that environment:

  • ray up: head VM.Standard.E5.Flex (2 OCPU / 16 GB) provisioned, setup ran, ray status idle with 4 CPUs. Head autoscaler log: OCINodeProvider: authenticated with OCI using instance_principal.
  • Scale-up to a CPU worker: two num_cpus=4 tasks against a 4-CPU head triggered Launching 1 nodes of type cpu_worker; the worker joined and ray status showed 8 CPUs across two nodes.
  • Scale-up to a GPU worker: a num_gpus=1 task launched VM.GPU.A10.1; ray status showed 1.0/1.0 GPU during the task and the task returned nvidia-smi -L → GPU 0: NVIDIA A10.
  • Idle scale-down of both worker types after idle_timeout_minutes: 2, then ray down: no non-terminated instances and no boot volumes left in the compartment.

Things the e2e forced into the default YAML, each a real failure on OCI's Ubuntu images: opening the host firewall (the VCN security list still limits internet ingress to SSH), non-interactive apt (Ubuntu's needrestart dialog blocks setup), an apt-get update retry (mirrors unreachable for ~30 s after boot), python-is-python3 for ray submit, and installing the NVIDIA server driver via DKMS on the GPU node type because Ubuntu's prebuilt kernel modules lagged the user-space driver (Driver/library version mismatch). No Ubuntu GPU platform image exists in the region tested, hence driver install in worker_setup_commands.

Not exercised live (unit-tested and documented only): cache_stopped_nodes: true, use_internal_ips, use_instance_principal: false with file_mounts, and the out-of-capacity path. Possible follow-ups: worker memory autodetection as AWS does; optional cleanup of the default VCN and IAM resources on ray down.

Lint: ruff (with isort rules), black and pydoclint with Ray's arguments are clean; pre-commit and buildifier not run locally (no Bazel available). Docs build not run locally.

@fede-kamel
fede-kamel requested review from a team, edoakes and richardliaw as code owners September 18, 2026 19:06

@gemini-code-assist gemini-code-assist Bot left a comment

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.

Code Review

This pull request adds support for Oracle Cloud Infrastructure (OCI) as a cloud provider for Ray clusters, including the node provider implementation, configuration templates, documentation, and unit tests. The review identified two critical improvements: avoiding blocking the autoscaler thread when reusing nodes in the STOPPING state and implementing a more robust tenancy resolution mechanism to handle environments with restricted compartment permissions.

Comment on lines +371 to +392
def _reuse_stopped_nodes(self, tags: Dict[str, str], count: int) -> Dict[str, Any]:
filters = {k: tags[k] for k in _REUSE_TAGS if k in tags}
candidates = [
inst
for inst in self._get_filtered_nodes(filters, include_stopped=True).values()
if inst.lifecycle_state in STOPPED_STATES
][:count]
reused = {}
for inst in candidates:
if inst.lifecycle_state == STOPPING:
self._wait_for_state(inst.id, STOPPED)
cli_logger.print("Restarting stopped instance ...{}", short_id(inst.id))
started = self._retry_on_conflict(
self.client.compute.instance_action, inst.id, "START"
).data
with self.lock:
self.cached_nodes[inst.id] = started
# The ephemeral public IP may change across stop/start.
self.ip_cache.pop(inst.id, None)
self.set_node_tags(inst.id, tags)
reused[inst.id] = started
return reused

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.

high

Reusing a node that is currently in the STOPPING state by synchronously waiting for it to transition to STOPPED can block the main autoscaler thread for up to 5 minutes (STOP_WAIT_TIMEOUT_S). This blocks all other autoscaling decisions and makes the autoscaler unresponsive. Instead of waiting, we should filter out STOPPING nodes and only attempt to reuse nodes that are already fully STOPPED.

    def _reuse_stopped_nodes(self, tags: Dict[str, str], count: int) -> Dict[str, Any]:
        filters = {k: tags[k] for k in _REUSE_TAGS if k in tags}
        candidates = [
            inst
            for inst in self._get_filtered_nodes(filters, include_stopped=True).values()
            if inst.lifecycle_state == STOPPED
        ][:count]
        reused = {}
        for inst in candidates:
            cli_logger.print("Restarting stopped instance ...{}", short_id(inst.id))
            started = self._retry_on_conflict(
                self.client.compute.instance_action, inst.id, "START"
            ).data
            with self.lock:
                self.cached_nodes[inst.id] = started
                # The ephemeral public IP may change across stop/start.
                self.ip_cache.pop(inst.id, None)
            self.set_node_tags(inst.id, tags)
            reused[inst.id] = started
        return reused

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Addressed in aa4df14: the provider no longer waits on STOPPING instances. _claim_stopped_nodes only claims instances that are already STOPPED; a STOPPING one is skipped for this round and becomes eligible once it reaches STOPPED, so create_node never blocks the autoscaler thread on a stop transition. This is intentionally stricter than the AWS provider, which reuses stopping instances and calls wait_until_stopped() under its reuse lock. Covered by test_cache_stopped_nodes_skips_stopping_instances.

Comment on lines +283 to +292
def tenancy_of_compartment(self, compartment_id: str) -> str:
"""Walk up the compartment tree to find the owning tenancy OCID."""
current = compartment_id
for _ in range(32):
if current.startswith("ocid1.tenancy."):
return current
current = self.identity().get_compartment(current).data.compartment_id
raise RuntimeError(
f"Could not resolve the tenancy of compartment ...{short_id(compartment_id)}"
)

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.

high

Walking up the compartment tree using get_compartment requires read/manage permissions on all parent compartments up to the tenancy. In enterprise environments, users are often restricted to a specific sub-compartment and lack permissions on parent compartments, which will cause get_compartment to fail with a 404/403 error and block the autoscaler. We should wrap this in a try...except block and fall back to self.caller_tenancy_id (which is already retrieved from the config or signer) if the walk fails.

    def tenancy_of_compartment(self, compartment_id: str) -> str:
        """Walk up the compartment tree to find the owning tenancy OCID."""
        current = compartment_id
        try:
            for _ in range(32):
                if current.startswith("ocid1.tenancy."):
                    return current
                current = self.identity().get_compartment(current).data.compartment_id
        except Exception as e:
            logger.warning(
                "Could not walk up compartment tree for ...%s (%s); "
                "falling back to caller tenancy.",
                short_id(compartment_id),
                e,
            )
            caller_tenancy = self.caller_tenancy_id
            if caller_tenancy:
                return caller_tenancy
            raise RuntimeError(
                f"Could not resolve the tenancy of compartment ...{short_id(compartment_id)}"
            ) from e
        raise RuntimeError(
            f"Could not resolve the tenancy of compartment ...{short_id(compartment_id)}"
        )

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

This is already the behaviour on aa4df14: tenancy_of_compartment wraps the walk in try/except and, on any failure (including a 404 NotAuthorizedOrNotFound from get_compartment on a parent), logs a warning and returns the caller's tenancy taken from the config file or the instance-principal signer, so bootstrap continues. It only raises when the credentials name no tenancy at all, with a message pointing at inspect compartments permissions or create_iam_resources: false. test_tenancy_of_compartment_falls_back_to_caller_tenancy and test_bootstrap_iam_works_without_compartment_read_access exercise the permission-denied path for both auth modes.

@cursor cursor Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Stale Bugbot comment from a previous run.

@fede-kamel

Copy link
Copy Markdown
Author

Thanks to the automated reviews for the catches. All four are addressed in aa4df14 (second commit, so the delta is easy to see), each with a regression test:

  1. AD visibility (Bugbot): _list_instances now lists the compartment without an availability_domain filter, since the Ray tags identify the cluster's nodes, so a node type that overrides the AD stays visible and is no longer relaunched. fillout_available_node_types_resources resolves shapes per node type: the node type's AD if set, else the provider AD, else the union over every AD in the region (cached per AD), so single-AD GPU shapes are found.
  2. Blocking wait on STOPPING (Gemini): _reuse_stopped_nodes only reuses instances already STOPPED; STOPPING ones are skipped and picked up on a later tick. The synchronous wait loop and its constants are gone, so the autoscaler thread never blocks on a stop transition.
  3. Unserialized reuse (Bugbot): candidate selection moved into _claim_stopped_nodes, which runs under the provider lock and records claimed ids, so concurrent create_node calls get disjoint instances; the START call and tag update happen outside the lock and the claim is released in a finally. Covered by a two-thread test where the first START is blocked on an event and the second create_node must not block.
  4. Compartment walk permissions (Gemini): tenancy_of_compartment falls back to the caller's tenancy (config tenancy or the signer's tenancy) with a warning when the parent walk is denied, and only raises, with a pointer to inspect compartments or create_iam_resources: false, when no tenancy is known at all.

Tests: 29 → 37, all passing; the new tests fail against the previous commit as intended. ruff, black and pydoclint clean.

@cursor cursor Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Stale Bugbot comment from a previous run.

@ray-gardener ray-gardener Bot added docs An issue or change related to documentation core Issues that should be addressed in Ray Core community-contribution Contributed by the community labels Sep 19, 2026
@fede-kamel
fede-kamel force-pushed the feat-oci-node-provider branch from a6d3ebb to 0b09495 Compare September 28, 2026 19:42
@fede-kamel
fede-kamel requested a review from a team as a code owner September 28, 2026 19:42

@cursor cursor Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Stale Bugbot comment from a previous run.

@rueian rueian added the go add ONLY when ready to merge, run all tests label Sep 28, 2026
dstrodtman added a commit that referenced this pull request Oct 5, 2026
…6681)

## Summary

Converts nine more `doc/source/cluster/` pages from reStructuredText to
MyST Markdown, as part of the ongoing RST-to-MyST migration of
`doc/source/`:

- `cluster/`: `cli`, `faq`, `package-overview`, and `usage-stats`.
- `cluster/vms/`: `getting-started`, `references/ray-cluster-cli`,
`user-guides/configuring-autoscaling`,
`user-guides/large-cluster-best-practices`, and
`user-guides/launching-clusters/index`.

This is a format-only change, apart from the two link fixes noted below.
The rendered pages should otherwise match `/en/master`.

The PR has three commits:

1. The conversion, which keeps the source line wrapping so it reads line
by line against the `.rst`.
2. A whitespace-only soft-wrap pass, verified by `ray-soft-wrap`'s
`verify.py`.
3. A review fix that turns the Ray-on-VCF reference into a link.

## Conversion notes

- **Dead link fixed.** `vms/getting-started` linked
`aliyun/example-full.yaml` twice with a root-relative target,
`/ray/python/ray/autoscaler/aliyun/example-full.yaml`. That URL returns
404 on docs.ray.io, and in MyST the same target fails the build as an
unresolved cross-reference. Both links now point at the file on GitHub.
- **Ray-on-VCF link fixed.** The vSphere tab in `vms/getting-started`
wrote the Ray-on-VCF docs link with single backticks and no trailing
underscore, so `/en/master` renders it as interpreted text, not a link.
It's now a Markdown link.
- `cli`'s `click::` directives are wrapped in `{eval-rst}`, with each
`ray-*-doc` label inside its block so it still targets the generated
command section. This follows `serve/api/cli.md`.
- The `parsed-literal` block in `vms/getting-started` stays in
`{eval-rst}`. MyST parses a native `{parsed-literal}` body as inline
Markdown, which strips the leading indentation on its lines.
- `faq` has two headings with an apostrophe and no label. MyST slugs
those differently from docutils, so each heading gets a target with its
old id, and existing `#what-s-...` anchors keep working.
- `faq`'s two indented error messages render as block quotes on
`/en/master`, and they stay block quotes here.
- Two list items in `large-cluster-best-practices` have continuation
lines that start with `>`. Those are escaped so CommonMark doesn't read
them as block quotes.
- RST named hyperlink targets in `faq` and `package-overview` are
inlined as Markdown links. `#.` auto-numbered lists in `usage-stats`
become `1.`.

Every label is preserved. Every external reference to these pages is a
label or an extensionless path, so no caller needed an edit. None of the
pages has doctest blocks, and `doc/BUILD.bazel` doesn't name them.

## Overlapping open PRs

#66289 edits `vms/getting-started.rst` (22 lines) and
`vms/user-guides/launching-clusters/index.rst` (7 lines). After this
merges, those changes move to the `.md` files.

## Duplicate check

No other open PR converts these files. I checked every open PR's file
list.

## Testing

- Static checks on each new `.md`: frontmatter parses, fences balance,
no residual RST outside fences, no `.html#` or `.rst` link targets,
every label present.
- `python3 doc/.claude/skills/ray-soft-wrap/scripts/verify.py`: passed.
- RtD preview build: green under `fail_on_warning` before the review
fix. The rebuild for the latest commit is pending.
- `render_diff.py` against `/en/master`, run before the review fix: 7 of
9 pages render identically. The two diffs are the intended ones. On
`faq`, the two apostrophe headings take MyST slugs, and the old
`what-s-...` ids stay as anchors. On `vms/getting-started`, the two
Aliyun links now point at GitHub. The review fix also makes the
Ray-on-VCF reference on that page a link.

AI assistance (Claude Code) was used for this conversion. I review every
changed line before requesting review.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Signed-off-by: Douglas Strodtman <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
dstrodtman added a commit that referenced this pull request Oct 5, 2026
## Summary

Converts
`doc/source/cluster/vms/references/ray-cluster-configuration.rst`, the
cluster launcher YAML reference, from reStructuredText to MyST Markdown,
as part of the ongoing RST-to-MyST migration of `doc/source/`. It's the
longest page in the `cluster/` tree, with 2,028 lines, 37 tab sets, and
129 tab items, so it gets its own PR. This is a format-only change,
apart from the typo fixes noted below. The rendered page should
otherwise match `/en/master`.

The PR has four commits:

1. The conversion, which keeps the source line wrapping so it reads line
by line against the `.rst`.
2. A whitespace-only soft-wrap pass, verified by `ray-soft-wrap`'s
`verify.py`.
3. Keeping the block quote around the list-item code blocks.
4. Review fixes for field-path typos.

## Conversion notes

- The tab sets are native sphinx-design colon fences. The source's 37
tab sets, 129 tab items, 88 labels, and 23 code blocks or
literalincludes all appear in the `.md`.
- The 22 `parsed-literal` syntax blocks stay in `{eval-rst}`. Their
bodies are indented YAML-shaped text full of `:ref:` roles, and MyST
parses a native `{parsed-literal}` body as inline Markdown, which would
strip the indentation.
- The field headings, such as `` `docker.head_image` ``, all carry
explicit labels, so `{ref}` callers are unaffected. Their implicit
heading ids follow MyST's slug rules, so a raw
`#docker-head-image`-style anchor might change. No link in the repo uses
one against the current docs. The only hits are a code comment in the
vSphere provider and a link pinned to `releases-2.48.0`.
- Five code blocks under list items are indented past the item's content
column in the RST, so `/en/master` renders them in a block quote.
They're kept in a block quote with a `> ` prefix.
- A word-level comparison of the `.rst` against the `.md`, after
stripping markup, shows no dropped or changed text other than the typo
fixes below.
- **Typos fixed.** These predate this PR. The node types intro said
`available_nodes_types` instead of `available_node_types`. Nine field
headings had an extra `.node_type.` segment, such as
`available_node_types.<node_type_name>.node_type.resources`. The paths
now match the keys in `python/ray/autoscaler/ray-schema.json`. The
`object-store-memory` heading is now `object_store_memory`, matching the
field list. One `Importance: low` is now `Low`, like the other 40. Every
renamed heading has an explicit label, so `{ref}` callers are
unaffected.

## Overlapping open PRs

#66289 (OCI node provider) adds about 99 lines to this file. After this
merges, that change moves to `ray-cluster-configuration.md`.

## Duplicate check

No other open PR converts this file. I checked every open PR's file
list.

## Testing

- Static checks: frontmatter parses, fences balance, no residual RST
outside fences, every label present.
- `python3 doc/.claude/skills/ray-soft-wrap/scripts/verify.py`: passed.
- RtD preview build: green under `fail_on_warning` before the review
fixes. The rebuild for the latest commit is pending.
- `render_diff.py` against `/en/master`, run before the review fixes:
the page renders identically. The typo fixes intentionally change the
affected headings and text.

AI assistance (Claude Code) was used for this conversion. I review every
changed line before requesting review.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Signed-off-by: Douglas Strodtman <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
nadongjun pushed a commit to nadongjun/ray that referenced this pull request Oct 6, 2026
…y-project#66681)

## Summary

Converts nine more `doc/source/cluster/` pages from reStructuredText to
MyST Markdown, as part of the ongoing RST-to-MyST migration of
`doc/source/`:

- `cluster/`: `cli`, `faq`, `package-overview`, and `usage-stats`.
- `cluster/vms/`: `getting-started`, `references/ray-cluster-cli`,
`user-guides/configuring-autoscaling`,
`user-guides/large-cluster-best-practices`, and
`user-guides/launching-clusters/index`.

This is a format-only change, apart from the two link fixes noted below.
The rendered pages should otherwise match `/en/master`.

The PR has three commits:

1. The conversion, which keeps the source line wrapping so it reads line
by line against the `.rst`.
2. A whitespace-only soft-wrap pass, verified by `ray-soft-wrap`'s
`verify.py`.
3. A review fix that turns the Ray-on-VCF reference into a link.

## Conversion notes

- **Dead link fixed.** `vms/getting-started` linked
`aliyun/example-full.yaml` twice with a root-relative target,
`/ray/python/ray/autoscaler/aliyun/example-full.yaml`. That URL returns
404 on docs.ray.io, and in MyST the same target fails the build as an
unresolved cross-reference. Both links now point at the file on GitHub.
- **Ray-on-VCF link fixed.** The vSphere tab in `vms/getting-started`
wrote the Ray-on-VCF docs link with single backticks and no trailing
underscore, so `/en/master` renders it as interpreted text, not a link.
It's now a Markdown link.
- `cli`'s `click::` directives are wrapped in `{eval-rst}`, with each
`ray-*-doc` label inside its block so it still targets the generated
command section. This follows `serve/api/cli.md`.
- The `parsed-literal` block in `vms/getting-started` stays in
`{eval-rst}`. MyST parses a native `{parsed-literal}` body as inline
Markdown, which strips the leading indentation on its lines.
- `faq` has two headings with an apostrophe and no label. MyST slugs
those differently from docutils, so each heading gets a target with its
old id, and existing `#what-s-...` anchors keep working.
- `faq`'s two indented error messages render as block quotes on
`/en/master`, and they stay block quotes here.
- Two list items in `large-cluster-best-practices` have continuation
lines that start with `>`. Those are escaped so CommonMark doesn't read
them as block quotes.
- RST named hyperlink targets in `faq` and `package-overview` are
inlined as Markdown links. `#.` auto-numbered lists in `usage-stats`
become `1.`.

Every label is preserved. Every external reference to these pages is a
label or an extensionless path, so no caller needed an edit. None of the
pages has doctest blocks, and `doc/BUILD.bazel` doesn't name them.

## Overlapping open PRs

ray-project#66289 edits `vms/getting-started.rst` (22 lines) and
`vms/user-guides/launching-clusters/index.rst` (7 lines). After this
merges, those changes move to the `.md` files.

## Duplicate check

No other open PR converts these files. I checked every open PR's file
list.

## Testing

- Static checks on each new `.md`: frontmatter parses, fences balance,
no residual RST outside fences, no `.html#` or `.rst` link targets,
every label present.
- `python3 doc/.claude/skills/ray-soft-wrap/scripts/verify.py`: passed.
- RtD preview build: green under `fail_on_warning` before the review
fix. The rebuild for the latest commit is pending.
- `render_diff.py` against `/en/master`, run before the review fix: 7 of
9 pages render identically. The two diffs are the intended ones. On
`faq`, the two apostrophe headings take MyST slugs, and the old
`what-s-...` ids stay as anchors. On `vms/getting-started`, the two
Aliyun links now point at GitHub. The review fix also makes the
Ray-on-VCF reference on that page a link.

AI assistance (Claude Code) was used for this conversion. I review every
changed line before requesting review.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Signed-off-by: Douglas Strodtman <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
nadongjun pushed a commit to nadongjun/ray that referenced this pull request Oct 6, 2026
…roject#66682)

## Summary

Converts
`doc/source/cluster/vms/references/ray-cluster-configuration.rst`, the
cluster launcher YAML reference, from reStructuredText to MyST Markdown,
as part of the ongoing RST-to-MyST migration of `doc/source/`. It's the
longest page in the `cluster/` tree, with 2,028 lines, 37 tab sets, and
129 tab items, so it gets its own PR. This is a format-only change,
apart from the typo fixes noted below. The rendered page should
otherwise match `/en/master`.

The PR has four commits:

1. The conversion, which keeps the source line wrapping so it reads line
by line against the `.rst`.
2. A whitespace-only soft-wrap pass, verified by `ray-soft-wrap`'s
`verify.py`.
3. Keeping the block quote around the list-item code blocks.
4. Review fixes for field-path typos.

## Conversion notes

- The tab sets are native sphinx-design colon fences. The source's 37
tab sets, 129 tab items, 88 labels, and 23 code blocks or
literalincludes all appear in the `.md`.
- The 22 `parsed-literal` syntax blocks stay in `{eval-rst}`. Their
bodies are indented YAML-shaped text full of `:ref:` roles, and MyST
parses a native `{parsed-literal}` body as inline Markdown, which would
strip the indentation.
- The field headings, such as `` `docker.head_image` ``, all carry
explicit labels, so `{ref}` callers are unaffected. Their implicit
heading ids follow MyST's slug rules, so a raw
`#docker-head-image`-style anchor might change. No link in the repo uses
one against the current docs. The only hits are a code comment in the
vSphere provider and a link pinned to `releases-2.48.0`.
- Five code blocks under list items are indented past the item's content
column in the RST, so `/en/master` renders them in a block quote.
They're kept in a block quote with a `> ` prefix.
- A word-level comparison of the `.rst` against the `.md`, after
stripping markup, shows no dropped or changed text other than the typo
fixes below.
- **Typos fixed.** These predate this PR. The node types intro said
`available_nodes_types` instead of `available_node_types`. Nine field
headings had an extra `.node_type.` segment, such as
`available_node_types.<node_type_name>.node_type.resources`. The paths
now match the keys in `python/ray/autoscaler/ray-schema.json`. The
`object-store-memory` heading is now `object_store_memory`, matching the
field list. One `Importance: low` is now `Low`, like the other 40. Every
renamed heading has an explicit label, so `{ref}` callers are
unaffected.

## Overlapping open PRs

ray-project#66289 (OCI node provider) adds about 99 lines to this file. After this
merges, that change moves to `ray-cluster-configuration.md`.

## Duplicate check

No other open PR converts this file. I checked every open PR's file
list.

## Testing

- Static checks: frontmatter parses, fences balance, no residual RST
outside fences, every label present.
- `python3 doc/.claude/skills/ray-soft-wrap/scripts/verify.py`: passed.
- RtD preview build: green under `fail_on_warning` before the review
fixes. The rebuild for the latest commit is pending.
- `render_diff.py` against `/en/master`, run before the review fixes:
the page renders identically. The typo fixes intentionally change the
affected headings and text.

AI assistance (Claude Code) was used for this conversion. I review every
changed line before requesting review.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Signed-off-by: Douglas Strodtman <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
fede-kamel and others added 5 commits October 6, 2026 09:01
Add a community-maintained node provider for OCI Compute so that the Ray
cluster launcher and autoscaler can run on Oracle Cloud:

- provider package ray.autoscaler._private._oci (config, node_provider,
  utils) registered as provider type "oci"
- authentication via an OCI config-file profile (API key or session
  token from `oci session authenticate`) with fallback to instance
  principals on the head node
- bootstrap_config fills in the availability domain, an idempotent
  ray-autoscaler VCN/subnet/internet gateway/security list, the dynamic
  group and policy that let the head node autoscale with instance
  principals, an SSH key pair injected through instance metadata, and
  the newest Ubuntu 22.04 platform image compatible with each shape
- CPU/GPU resources autodetected from the shape
- Ray node tags stored as OCI free-form tags; instances listed per
  compartment and filtered client side; IPs from the primary VNIC;
  optional cache_stopped_nodes; launch errors surfaced as
  NodeLaunchException categories
- defaults.yaml, example-minimal.yaml and example-full.yaml (with a
  VM.GPU.A10.1 worker type), unit tests with an in-memory fake of the
  OCI SDK, and a docs page plus index/reference entries

Signed-off-by: Federico Kamelhar <[email protected]>
… in the OCI provider

Address review findings on the OCI node provider:

- List instances compartment-wide instead of filtering by the provider's
  availability domain, so nodes whose node type overrides
  availability_domain stay visible to non_terminated_nodes and are not
  relaunched forever. Resource autodetection now resolves shapes in the
  node type's AD (else the provider AD, else every AD of the region), so
  GPU shapes offered in a single AD are found.
- Only reuse instances that are already STOPPED; a STOPPING instance is
  skipped instead of being waited on from the autoscaler thread.
- Claim stopped instances under the provider lock (tracked in a set) so
  concurrent create_node calls cannot restart the same instance; the
  START call itself runs outside the lock.
- tenancy_of_compartment falls back to the caller's tenancy with a
  warning when the parent-compartment walk is not permitted, and raises
  a clear error only if no tenancy is known at all.

Tests cover each case: nodes in a second AD, per-AD shape lookup,
STOPPING skipped, exclusive claims and a concurrent create_node pair,
and the tenancy fallback/error paths.

Signed-off-by: Federico Kamelhar <[email protected]>
_reuse_stopped_nodes() claimed a whole batch of STOPPED instances up
front but released each claim only in that iteration's finally block.
When START or the tag update raised for one instance, the instances not
yet reached stayed in _claimed_for_reuse for the life of the process:
later create_node() calls skipped them and launched new nodes while the
stopped ones kept being billed. Release the whole batch in an outer
try/finally instead.

Tests:
- START or update_instance failing on the first of two claimed instances
  leaves no claim behind, and the untouched instance is reused by the
  next create_node() call.
- Two node types launched in different availability domains are both
  visible to non_terminated_nodes().

Signed-off-by: Federico Kamelhar <[email protected]>
test_tenancy_of_compartment_falls_back_to_caller_tenancy asserted on
caplog.text, which stays empty in CI: `import ray` sets propagate=False
on the "ray" logger, so records from ray.autoscaler._private._oci never
reach the root-logger handler that caplog installs under the pinned
pytest 7.4.4. Patch the module logger's warning() and assert on its
calls instead.

Signed-off-by: fede-kamel <[email protected]>
…erve post-launch tags

- set_node_tags() was @synchronized and retried update_instance on 409
  Conflict for up to CONFLICT_RETRY_TIMEOUT_S. New or restarted instances
  commonly answer 409 while PROVISIONING/STARTING, so the provider lock
  could be held for minutes, stalling non_terminated_nodes() and
  create_node(). Serialise tag updates per node with a dedicated lock
  instead and take the provider lock only to update the cache.
- The launch-time free-form tag check counted only the tags present at
  launch, but the updater later adds ray-runtime-config and
  ray-file-mounts-contents. A node with too many user tags launched and
  then failed setup in set_node_tags(). validate_freeform_tags() now
  takes reserved_keys, and launch reserves room for those two tags.

Tests: a tag update blocked in update_instance no longer blocks
non_terminated_nodes(); create_node() accepts two user tags (which then
fit alongside the post-launch tags) and rejects a third before launching.

Signed-off-by: fede-kamel <[email protected]>
@fede-kamel
fede-kamel force-pushed the feat-oci-node-provider branch from 0b09495 to b04055c Compare October 6, 2026 13:06

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

Reviewed by Cursor Bugbot for commit b04055c. Configure here.

…details

When `source_details` was set without an image, bootstrap resolved the
image into the top-level `image_id`, but _build_launch_details() used
`source_details` as-is and discarded the top-level `image_id` (and the
boot volume size/VPU shorthands), so the launch failed with
"`node_config.image_id` is not set" even after `ray up` had filled it.
The top-level shorthands now fill in whatever `source_details` leaves
unset, the same way `subnet_id` feeds `create_vnic_details`; a value
set inside `source_details` still wins.

Test: a bootstrapped head node with `source_details` but no image
launches with the resolved image and its boot volume size, and an image
set in `source_details` is kept.

Signed-off-by: fede-kamel <[email protected]>
dstrodtman added a commit that referenced this pull request Oct 14, 2026
## Description

A rolling batch of small, independent docs fixes. Ray's `AGENTS.md` asks
that trivial edits be bundled rather than opened as one-off PRs, so they
collect here. Each item is its own commit or commit pair, so a reviewer
can drop any one without touching the rest.

### Items

1. **RLlib dev install: use `setup-dev.py --allow` instead of
prompt-order instructions** (`doc/source/rllib/dev.md`). The example
said to answer `Y` only at "the first question on linking RLlib."
`setup-dev.py` now prompts for `llm`, `serve/llm`, and `data/llm.py`
before `rllib`, so following the comment as written links `llm` and
declines RLlib. The example now uses `--allow rllib`, with `--allow
rllib tune train` as the opt-in for Tune and Train, which doesn't depend
on prompt order. Found while checking that READMEs and contributor docs
no longer reference the pre-#66096 `rllib/` symlink layout. No such
references remain.
2. **Convert the KubeRay GPU guide to MyST**
(`doc/source/kuberay/user-guides/gpu.rst` to `.md`). It's the last prose
`.rst` page under `doc/source/` outside the API-reference trees. It was
held back from the cluster conversion until #66674 moved it to
`kuberay/`. Two commits: a faithful conversion, then a whitespace-only
soft-wrap verified by `ray-soft-wrap`'s `verify.py`. Both labels
(`kuberay-gpu`, `kuberay-gpu-override`) are preserved, the named
hyperlink targets are inlined, and the heading levels match the live
page (H1 to H4).
3. **Fix the raw RST at the top of the contributor guide**
(`doc/source/ray-contribute/getting-involved.md`). The page includes
`_includes/_latest_contribution_doc.rst` with `{include}` and `:parser:
rst`, which MyST doesn't parse as RST. Since the page converted to
Markdown, docs.ray.io has shown the literal text "… admonition:: Check
your version!" at the top of the page. The page was the partial's only
consumer, so the admonition is now inline as `:::{admonition}` and the
partial is deleted.
4. **Replace an unreachable vSphere link in the VM getting-started
guide** (`doc/source/cluster/vms/getting-started.md`). The vSphere tab
linked to `github-vcf.devops.broadcom.net/vcf/vmray`, an internal
Broadcom host that isn't reachable from the public internet, so the
nightly link check flags it as broken on `master`. The link now points
to the supervisor service section of the in-tree vSphere launch guide,
which covers the same setup step.

## Not a duplicate

- Item 1: no open PR touches `doc/source/rllib/dev.md`, and searches for
`setup-dev rllib`, `rllib dev.md`, and the page title return no open
PRs.
- Items 2 and 3: no open PR touches any of the changed paths. I checked
the file lists of the 400 most recent open PRs, and searched for `MyST`,
`gpu.rst`, and `getting-involved`.
- Item 4: of the 400 most recent open PRs, only #66289 also touches
`doc/source/cluster/vms/getting-started.md`. It adds an OCI tab next to
the vSphere tab and leaves the vSphere link unchanged.

The README and design-note conversions outside `doc/` that were item 4
moved to #66811. Those paths pull in library code-owner approvals, which
this PR shouldn't wait on.

## Testing

- Item 1: installed the `ray==2.59.0` wheel into a clean Python 3.11
venv, then ran both documented commands from this branch:
- `python python/ray/setup-dev.py --allow rllib`: linked only
`site-packages/ray/rllib` to the checkout's `python/ray/rllib` and
skipped every other package.
- `python python/ray/setup-dev.py --allow rllib tune train`: linked
`tune` and `train`, reported `rllib` as already linked, and skipped the
other 20 packages.
- Item 2: static checks on the new `.md` passed. They confirm the
frontmatter parses, the fences balance, and no RST constructs or
scheme-less links are left. The page has no `testcode` or doctest
blocks, and `doc/BUILD.bazel` doesn't name it. Heading levels were
checked against the live `/en/master` page. The Read the Docs preview
build and a render diff against `/en/master` are pending.
- Item 3: the render diff against `/en/master` is expected to differ at
the top of the page. `/en/master` currently shows the broken literal
text, and this PR shows the admonition.
- Item 4: the target heading exists in `vsphere.md`, and
`myst_heading_anchors = 4` in `conf.py` generates its anchor.
- `pre-commit` ran on every commit. The master-branch link check is the
only hook that applies, and it passed.

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: Claude Opus 5.5 <[email protected]>
@rueian

rueian commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor

Thanks @fede-kamel!

Approved, since the OCI provider will be community-maintained, and the rest fits the current node provider model and has no impact on others who don't use OCI.

@rueian

rueian commented Oct 17, 2026

Copy link
Copy Markdown
Contributor

ping @dstrodtman for doc reviews.

@rueian
rueian enabled auto-merge (squash) October 17, 2026 00:16

@ronny-anyscale ronny-anyscale left a comment

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.

Docs-side style pass from the Anyscale docs team, run by Ronny Roland. I used Claude Code to work through Ray's writing style guide against the changed pages, and I've read every comment below and stand behind each one.

Scope: style, grammar, and docs conventions only, against doc/source/ray-contribute/writing-style.md. I haven't evaluated the OCI provider itself, the IAM model, the networking defaults, or the test coverage. Those belong to the autoscaler maintainers, and @rueian has already approved. Nothing below changes a technical claim, so none of it should need re-verification.

Only the five files under doc/ are in scope. Every existing review thread on this PR is on the Python files, so nothing here reopens one.

What I deliberately didn't flag

Three things in oci.md look like style-guide deviations but are established across the whole launcher page set, and changing them on the new page alone would make the set inconsistent:

  • The title-case H1. aws.md, gcp.md, azure.md, and vsphere.md all use "Launching Ray Clusters on X", against the guide's sentence-case rule.
  • The "Install Ray cluster launcher" paragraph, which is byte-identical to all four siblings, including "start, stop and attach" and "ray up, ray down and ray attach" without serial commas.
  • The "Congrats, you have started..." sign-off, and the $ prefix on the new getting-started.md tab, which matches the 11 other $-prefixed commands already on that page.

Each is a real deviation, but it's a six-page sweep rather than a change request on this PR. Happy to open that separately if it'd be useful.

Worth knowing

Vale doesn't run on this path. The hook in .pre-commit-config.yaml is scoped to doc/source/data/, and Google.Headings is disabled besides, so no CI check reads the prose on these pages. I ran Vale by hand and treated it as advisory; the findings below come from the style guide, not from Vale.

The suggestions are click-acceptable and independent of each other, so take whichever you agree with. The one I'd most want is the GPU-driver paragraph on oci.md L96.

@ronny-anyscale ronny-anyscale left a comment

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.

Approving to unblock but address the comments before merging, por favor.

@github-actions
github-actions Bot disabled auto-merge October 20, 2026 21:42
@rueian
rueian enabled auto-merge (squash) October 20, 2026 21:42
dstrodtman added a commit that referenced this pull request Oct 26, 2026
## Description

A batch of 15 small docs fixes. Most close an open docs issue, listed
under Related issues. Each fix is its own commit, so a reviewer can drop
any one without touching the rest. Batching follows the "No low-value
busywork PRs" rule in `AGENTS.md`, which allows mechanical fixes when
they're bundled.

The changes are prose and one notebook install cell, all under `doc/`.
Each fix was checked against the current source on master.

| Area | Change | Source checked |
|---|---|---|
| Core | The memory-aware scheduling examples said 2.5 GiB and 1 GiB but
computed 2500 MiB and 1000 MiB. The examples now use exact binary
multiples, and the text says `memory` is in bytes. | `ray.remote`
docstring in `_private/worker.py` (memory request in bytes) |
| Cluster | Link the cluster application guide to the Ray Serve
development and deployment guides. | Existing `serve-dev-workflow`,
`serve-in-production-deploying`, and `serve-in-production-kubernetes`
labels |
| Train | Link the Lightning getting-started guide to the PyTorch data
loading comparison. | `train-datasets-pytorch` section |
| Tune | Pin the hidden install cell of `ax-example.ipynb` to
`ax-platform==1.2.1`, the version in `tune-requirements.txt`, and drop
the cell's stale pip output. #60522 moved `AxSearch` to the Ax 1.0 API.
| `python/requirements/ml/tune-requirements.txt`, `ax_search.py` |
| Train | The fault-tolerance deprecation section called the deprecated
argument `restore_from_checkpoint`. The trainer parameter is
`resume_from_checkpoint`. |
`python/ray/train/v2/api/data_parallel_trainer.py` |
| Tune | The BayesOpt example pinned `bayesian-optimization==1.2.0`,
which uses `np.float` and fails in `tuner.fit()` on current NumPy. Pin
1.4.0, the version in `python/requirements_compiled.txt`. Executing the
notebook with `jupyter nbconvert --execute` on Ray 2.59.0 and NumPy
2.4.6 runs clean with 1.4.0 and reproduces `AttributeError: module
'numpy' has no attribute 'float'` with 1.2.0. |
`python/requirements_compiled.txt` |
| Cluster | Add a manual-configuration tab with SSH port forwarding to
the dashboard access section. | `ray start --dashboard-port`, default
8265 |
| Cluster | Document `RAY_OVERRIDE_DASHBOARD_URL` for reverse proxies. |
`ray_constants.py`, `worker.py` (`get_dashboard_url` and the connect
log) |
| Serve | Note that KubeRay creates `<name>-head-svc` and
`<name>-serve-svc` only after every Serve application is `RUNNING`. |
KubeRay `rayservice_controller.go` (`reconcileServe`,
`getAndCheckServeStatus`) |
| Cluster | Replace the hardcoded Homebrew Grafana path with `$(brew
--prefix)/etc/grafana/grafana.ini`. | The Homebrew `grafana` formula's
service passes `--config etc/grafana/grafana.ini` |
| Cluster | A node type's `worker_setup_commands` replaces both the
general `setup_commands` and `worker_setup_commands`. It doesn't replace
only the latter. | `merge_setup_commands` in
`autoscaler/_private/util.py`, `_get_node_type_specific_fields` in
`autoscaler.py`, `ray-schema.json` |
| Cluster | Add next-steps links to log and metrics persistence on the
VM and KubeRay quickstarts. | Existing persistence guides |
| Cluster | Add a port requirements section to the manual on-premises
setup that links the ports reference. | `core/configure.md` ports
reference |
| Data | Rename the `S3` and `GCS` cloud storage tabs to `Amazon S3` and
`Google Cloud Storage`. In Ray docs, GCS means the Global Control
Service. | `writing-style.md` term table |
| KubeRay | Document where `libtpu` logs appear (`tpu_logs` in the node
log directory and the dashboard Logs view). Link to it from the Logs
view section. | `_private/node.py` (`_init_temp`),
`_private/log_monitor.py`, #47737 |

## Related issues

Closes #42681
Closes #38545
Closes #48024
Closes #54968
Closes #37804
Closes #46794
Closes #50958
Closes #42430
Closes #37831
Closes #37631
Closes #24491
Closes #51102

## Not a duplicate

For each linked issue, `gh pr list --repo ray-project/ray --state open
--search "<issue> in:body"` returned no open PRs. A content search
turned up three open PRs that edit the same pages: #66289 (OCI
provider), #66958 (Grafana annotations), and #66920 (NPU observability).
They touch different hunks and don't overlap these changes. The data tab
rename has no linked issue, and no open PR touches those tabs.

## Testing

- `make -C doc rtd-build` (the RtD-faithful clean build: Python 3.11,
`doc/requirements-doc.lock.txt`, `-W --keep-going`): `build succeeded.`
with exit code 0 and zero Sphinx warnings. The only `WARNING` lines are
two RLlib logger messages printed at import time.
- Vale, run on the changed pages and limited to the added lines: no
findings remain beyond spelling hits on `proxied` (the page already uses
it) and `libtpu`, which is now in backticks.
- Pre-commit hooks passed on every commit.
- Every `{ref}` target added in this PR resolves to exactly one label
under `doc/source/`.
- I didn't execute the Ax notebook. Its only change is the hidden
install cell. CI already tests the Ax integration at
`ax-platform==1.2.1` through `python/ray/tune/examples/ax_example.py`.

## AI assistance

Drafted with AI assistance (Claude Code). Each technical claim was
checked against the source cited in the table.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Signed-off-by: Douglas Strodtman <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
justinyeh1995 pushed a commit to justinyeh1995/ray that referenced this pull request Oct 28, 2026
## Description

A batch of 15 small docs fixes. Most close an open docs issue, listed
under Related issues. Each fix is its own commit, so a reviewer can drop
any one without touching the rest. Batching follows the "No low-value
busywork PRs" rule in `AGENTS.md`, which allows mechanical fixes when
they're bundled.

The changes are prose and one notebook install cell, all under `doc/`.
Each fix was checked against the current source on master.

| Area | Change | Source checked |
|---|---|---|
| Core | The memory-aware scheduling examples said 2.5 GiB and 1 GiB but
computed 2500 MiB and 1000 MiB. The examples now use exact binary
multiples, and the text says `memory` is in bytes. | `ray.remote`
docstring in `_private/worker.py` (memory request in bytes) |
| Cluster | Link the cluster application guide to the Ray Serve
development and deployment guides. | Existing `serve-dev-workflow`,
`serve-in-production-deploying`, and `serve-in-production-kubernetes`
labels |
| Train | Link the Lightning getting-started guide to the PyTorch data
loading comparison. | `train-datasets-pytorch` section |
| Tune | Pin the hidden install cell of `ax-example.ipynb` to
`ax-platform==1.2.1`, the version in `tune-requirements.txt`, and drop
the cell's stale pip output. ray-project#60522 moved `AxSearch` to the Ax 1.0 API.
| `python/requirements/ml/tune-requirements.txt`, `ax_search.py` |
| Train | The fault-tolerance deprecation section called the deprecated
argument `restore_from_checkpoint`. The trainer parameter is
`resume_from_checkpoint`. |
`python/ray/train/v2/api/data_parallel_trainer.py` |
| Tune | The BayesOpt example pinned `bayesian-optimization==1.2.0`,
which uses `np.float` and fails in `tuner.fit()` on current NumPy. Pin
1.4.0, the version in `python/requirements_compiled.txt`. Executing the
notebook with `jupyter nbconvert --execute` on Ray 2.59.0 and NumPy
2.4.6 runs clean with 1.4.0 and reproduces `AttributeError: module
'numpy' has no attribute 'float'` with 1.2.0. |
`python/requirements_compiled.txt` |
| Cluster | Add a manual-configuration tab with SSH port forwarding to
the dashboard access section. | `ray start --dashboard-port`, default
8265 |
| Cluster | Document `RAY_OVERRIDE_DASHBOARD_URL` for reverse proxies. |
`ray_constants.py`, `worker.py` (`get_dashboard_url` and the connect
log) |
| Serve | Note that KubeRay creates `<name>-head-svc` and
`<name>-serve-svc` only after every Serve application is `RUNNING`. |
KubeRay `rayservice_controller.go` (`reconcileServe`,
`getAndCheckServeStatus`) |
| Cluster | Replace the hardcoded Homebrew Grafana path with `$(brew
--prefix)/etc/grafana/grafana.ini`. | The Homebrew `grafana` formula's
service passes `--config etc/grafana/grafana.ini` |
| Cluster | A node type's `worker_setup_commands` replaces both the
general `setup_commands` and `worker_setup_commands`. It doesn't replace
only the latter. | `merge_setup_commands` in
`autoscaler/_private/util.py`, `_get_node_type_specific_fields` in
`autoscaler.py`, `ray-schema.json` |
| Cluster | Add next-steps links to log and metrics persistence on the
VM and KubeRay quickstarts. | Existing persistence guides |
| Cluster | Add a port requirements section to the manual on-premises
setup that links the ports reference. | `core/configure.md` ports
reference |
| Data | Rename the `S3` and `GCS` cloud storage tabs to `Amazon S3` and
`Google Cloud Storage`. In Ray docs, GCS means the Global Control
Service. | `writing-style.md` term table |
| KubeRay | Document where `libtpu` logs appear (`tpu_logs` in the node
log directory and the dashboard Logs view). Link to it from the Logs
view section. | `_private/node.py` (`_init_temp`),
`_private/log_monitor.py`, ray-project#47737 |

## Related issues

Closes ray-project#42681
Closes ray-project#38545
Closes ray-project#48024
Closes ray-project#54968
Closes ray-project#37804
Closes ray-project#46794
Closes ray-project#50958
Closes ray-project#42430
Closes ray-project#37831
Closes ray-project#37631
Closes ray-project#24491
Closes ray-project#51102

## Not a duplicate

For each linked issue, `gh pr list --repo ray-project/ray --state open
--search "<issue> in:body"` returned no open PRs. A content search
turned up three open PRs that edit the same pages: ray-project#66289 (OCI
provider), ray-project#66958 (Grafana annotations), and ray-project#66920 (NPU observability).
They touch different hunks and don't overlap these changes. The data tab
rename has no linked issue, and no open PR touches those tabs.

## Testing

- `make -C doc rtd-build` (the RtD-faithful clean build: Python 3.11,
`doc/requirements-doc.lock.txt`, `-W --keep-going`): `build succeeded.`
with exit code 0 and zero Sphinx warnings. The only `WARNING` lines are
two RLlib logger messages printed at import time.
- Vale, run on the changed pages and limited to the added lines: no
findings remain beyond spelling hits on `proxied` (the page already uses
it) and `libtpu`, which is now in backticks.
- Pre-commit hooks passed on every commit.
- Every `{ref}` target added in this PR resolves to exactly one label
under `doc/source/`.
- I didn't execute the Ax notebook. Its only change is the hidden
install cell. CI already tests the Ax integration at
`ax-platform==1.2.1` through `python/ray/tune/examples/ax_example.py`.

## AI assistance

Drafted with AI assistance (Claude Code). Each technical claim was
checked against the source cited in the table.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Signed-off-by: Douglas Strodtman <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
@rueian

rueian commented Oct 29, 2026

Copy link
Copy Markdown
Contributor

cc @edoakes to merge 🙏

@fede-kamel

Copy link
Copy Markdown
Author

Checking in on the merge: the branch is still mergeable against master and CI is green. Happy to rebase for a fresh run if you prefer, just say the word. Thanks @rueian and @ronny-anyscale for the reviews.

@fede-kamel

Copy link
Copy Markdown
Author

All of @ronny-anyscale's docs suggestions are in (b6a7623), and the two Bugbot items were fixed earlier in b04055c, with regression tests. The OCI tests pass locally (43 passed) and CI is green on the current head. @edoakes, it's ready to merge whenever you have a moment. Thanks!

@fede-kamel

Copy link
Copy Markdown
Author

@edoakes @richardliaw this was approved by @rueian on Oct 17 (community-maintained OCI provider, no impact on other providers), and @ronny-anyscale's docs suggestions are all in. It's still mergeable against master with green CI. Could one of you merge it, or tell me if anything else is needed?

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community-contribution Contributed by the community core Issues that should be addressed in Ray Core docs An issue or change related to documentation go add ONLY when ready to merge, run all tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants