Read the Docs build information Build id: 4768554 Project: anyscale-ray Version: 67703 Commit: 28dca4079c8849d7a8d62497bd7c581a5dc13495 Date: 2026-11-19T20:53:07.108112Z State: cancelled Success: False [rtd-command-info] start-time: 2026-11-19T20:53:09.437613Z, end-time: 2026-11-19T20:53:21.686348Z, duration: 12, exit-code: 0 git clone --depth 1 https://github.com/ray-project/ray.git . Cloning into '.'... Updating files: 27% (2910/10705) Updating files: 28% (2998/10705) Updating files: 29% (3105/10705) Updating files: 30% (3212/10705) Updating files: 31% (3319/10705) Updating files: 32% (3426/10705) Updating files: 33% (3533/10705) Updating files: 34% (3640/10705) Updating files: 35% (3747/10705) Updating files: 36% (3854/10705) Updating files: 37% (3961/10705) Updating files: 38% (4068/10705) Updating files: 39% (4175/10705) Updating files: 40% (4282/10705) Updating files: 41% (4390/10705) Updating files: 42% (4497/10705) Updating files: 43% (4604/10705) Updating files: 44% (4711/10705) Updating files: 45% (4818/10705) Updating files: 46% (4925/10705) Updating files: 47% (5032/10705) Updating files: 48% (5139/10705) Updating files: 49% (5246/10705) Updating files: 50% (5353/10705) Updating files: 51% (5460/10705) Updating files: 52% (5567/10705) Updating files: 53% (5674/10705) Updating files: 54% (5781/10705) Updating files: 55% (5888/10705) Updating files: 56% (5995/10705) Updating files: 57% (6102/10705) Updating files: 58% (6209/10705) Updating files: 59% (6316/10705) Updating files: 60% (6423/10705) Updating files: 61% (6531/10705) Updating files: 62% (6638/10705) Updating files: 63% (6745/10705) Updating files: 64% (6852/10705) Updating files: 65% (6959/10705) Updating files: 66% (7066/10705) Updating files: 67% (7173/10705) Updating files: 68% (7280/10705) Updating files: 69% (7387/10705) Updating files: 70% (7494/10705) Updating files: 71% (7601/10705) Updating files: 72% (7708/10705) Updating files: 73% (7815/10705) Updating files: 74% (7922/10705) Updating files: 75% (8029/10705) Updating files: 76% (8136/10705) Updating files: 77% (8243/10705) Updating files: 78% (8350/10705) Updating files: 79% (8457/10705) Updating files: 80% (8564/10705) Updating files: 81% (8672/10705) Updating files: 82% (8779/10705) Updating files: 83% (8886/10705) Updating files: 84% (8993/10705) Updating files: 85% (9100/10705) Updating files: 86% (9207/10705) Updating files: 87% (9314/10705) Updating files: 88% (9421/10705) Updating files: 89% (9528/10705) Updating files: 90% (9635/10705) Updating files: 91% (9742/10705) Updating files: 92% (9849/10705) Updating files: 93% (9956/10705) Updating files: 94% (10063/10705) Updating files: 95% (10170/10705) Updating files: 96% (10277/10705) Updating files: 97% (10384/10705) Updating files: 98% (10491/10705) Updating files: 99% (10598/10705) Updating files: 100% (10705/10705) Updating files: 100% (10705/10705), done. [rtd-command-info] start-time: 2026-11-19T20:53:21.777995Z, end-time: 2026-11-19T20:53:23.028527Z, duration: 1, exit-code: 0 git fetch origin --force --prune --prune-tags --depth 50 pull/67703/head:external-67703 From https://github.com/ray-project/ray * [new ref] refs/pull/67703/head -> external-67703 [rtd-command-info] start-time: 2026-11-19T20:53:23.790326Z, end-time: 2026-11-19T20:53:24.646482Z, duration: 0, exit-code: 0 git checkout --force 28dca4079c8849d7a8d62497bd7c581a5dc13495 Note: switching to '28dca4079c8849d7a8d62497bd7c581a5dc13495'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at 28dca40 [data][actor-only][7/n] Operator sizer + sizer metrics [rtd-command-info] start-time: 2026-11-19T20:53:24.719586Z, end-time: 2026-11-19T20:53:24.762151Z, duration: 0, exit-code: 0 cat .readthedocs.yaml # .readthedocs.yaml # Read the Docs configuration file # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details # Required version: 2 # Set the version of Python and other tools you might need build: os: ubuntu-24.04 tools: python: "3.11" jobs: # On PR builds, skip the Sphinx build when the PR doesn't touch any # files that affect documentation output. Reduces queue pressure on # the shared RTD build slots when several PRs are open at once. # Tag/branch builds (master, stable, etc.) always run. # The guard matches doc/ but excludes doc/.claude/ (Claude Code skills # and agent files), which never participate in the Sphinx build, so a # PR that changes only those paths skips the build instead of running one. # Code sources (python/ray/) are intentionally not matched, so a # code-only PR skips this PR preview. The RTD PR check is not a required # merge gate, and the post-merge master build and the Buildkite doc_build # still render docstring-driven API-reference changes. This trades a # non-gating premerge preview for less pressure on the shared RTD slots. # A PR that needs the preview anyway, such as one that edits docstrings, # opts in with a line that starts with @rtd-build in any commit message on # the PR. Ray squash-merges with the PR title and body, so the line never # reaches master. # See https://docs.readthedocs.com/platform/stable/guides/build/skip-build.html # # Some constructs are avoided deliberately because RTD's job runner # silently drops scripts that contain them: use echo (not printf # with a backslash-escape format string), avoid backslash escapes # in general, and keep shell comments out of this block so that # backticks/$() inside comments don't confuse the preprocessor. # The runner also strips the surrounding single quotes from arguments, # so use git's :! exclude shorthand rather than :(exclude): unquoted # parentheses reach /bin/sh (dash) and abort the script with a syntax error. post_checkout: - | if [ "${READTHEDOCS_VERSION_TYPE:-}" != "external" ]; then echo "Not a PR build (version type: '${READTHEDOCS_VERSION_TYPE:-unset}'); building docs." exit 0 fi git fetch --depth=500 origin master 2>/dev/null || true if ! git merge-base origin/master HEAD >/dev/null 2>&1; then echo "Could not determine merge-base with origin/master; building docs to be safe." exit 0 fi if git log --format=%B origin/master..HEAD | grep -q '^[[:space:]]*@rtd-build'; then echo "A commit message in this PR requests a build with @rtd-build; building docs." exit 0 fi if git diff --quiet origin/master...HEAD -- doc/ ':!doc/.claude/' .readthedocs.yaml; then echo "No doc-affecting files changed in this PR; skipping Sphinx build." echo "Files changed in PR:" git diff --name-only origin/master...HEAD exit 183 fi echo "Doc-affecting files changed; building docs. Changed doc-relevant paths:" git diff --name-only origin/master...HEAD -- doc/ ':!doc/.claude/' .readthedocs.yaml # Override the html build step so every build runs a full clean Sphinx # build via the doc/Makefile html target, for PR (external) previews and # branch/tag builds alike. # # The incremental-from-master-cache path added in #64277 is disabled for # now. On every PR preview Sphinx discards the restored cache because a # config value differs between the environment that produced the cache and # the RTD build environment, so it rebuilds all documents anyway while # still paying the cache download and extract cost, and it risks a second # clean rebuild when the incremental leg trips a warning. A clean build is # faster and lower-variance in practice today. Re-enable the incremental # path only once cache reuse is confirmed (Sphinx logs "N changed" rather # than "NNNN added") and stale-artifact pruning lands for PRs that rename # or delete sources. The rtd and rtd-fallback Makefile targets and # doc/load_doc_cache.py stay in the tree for that re-enable. # Raise pip's retry budget for the dependency install below. # files.pythonhosted.org has been returning intermittent 502s # (https://github.com/pypi/support/issues/11895), and one failed wheel fetch # fails the whole docs build. pip defaults to 5 retries with exponential # backoff, which gives up in about 8 seconds of sleeping. # # Written as a config file rather than PIP_RETRIES because the install step # is python.install below, run by Read the Docs rather than by us, and each # job command runs in its own shell so an export here would not reach it. # pip reads this path on every invocation in the build, including that one. # # Only the retry count is raised. The observed failures are immediate 502 # responses rather than hangs, so a larger timeout would only lengthen the # worst case without making a fetch more likely to succeed. pre_install: - mkdir -p ~/.config/pip - | echo "[global]" > ~/.config/pip/pip.conf echo "retries = 10" >> ~/.config/pip/pip.conf cat ~/.config/pip/pip.conf # Build with doc/Makefile's default SPHINX_JOBS of auto, one Sphinx write # worker per CPU, the same as local builds and the Buildkite doc build. # # This job used to pin SPHINX_JOBS=2 (#65643). The builder has a # 7,130,316,800 byte cgroup memory ceiling (about 6.64 GiB, the documented # Business limit), each worker holds its own copy of the build environment, # and at -j auto the build peaked within about 600 MB of that ceiling and # was sometimes OOM-killed. When the kernel kills a write worker the parent # Sphinx process reports only a bare EOFError from # multiprocessing/connection.py, naming no document. # # Most of that memory was a leak: MyST {eval-rst} blocks pickled the whole # build environment into each page's doctree, and every worker loaded those # doctrees back. doc/source/_ext/myst_eval_rst_doctree.py fixes it (#66784). # After the fix, a local build with this job's flags, summing RSS across the # Sphinx processes, peaked at 4.74 GB at -j 4 against 2.67 GB at -j 2, and # took 425 seconds against 914. Summed RSS overstates the cgroup figure, # since it counts pages shared between forked workers more than once. # # If EOFError failures come back, memory is the first suspect: set # SPHINX_JOBS=2 on the make command below. # # PYTHONFAULTHANDLER=1 makes Python dump the stack of every thread to # stderr when the process receives a fatal signal such as SIGSEGV. Since # 2026-09-23 some builds have died with a bare "Segmentation fault (core # dumped)" from make about 7 seconds into sphinx-build, right after # autosummary starts, while the same commit and the same installed package # versions pass on a retry. Without the handler the log names no module or # frame, so there is nothing to act on or to hand to Read the Docs support. # The handler costs nothing unless a fatal signal arrives. build: html: - | PYTHONFAULTHANDLER=1 make -C doc html HTMLDIR="$READTHEDOCS_OUTPUT/html" # Build documentation in the docs/ directory with Sphinx sphinx: configuration: doc/source/conf.py fail_on_warning: true # We recommend specifying your dependencies to enable reproducible builds: # https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html python: install: - requirements: doc/requirements-doc.lock.txt [rtd-command-info] start-time: 2026-11-19T20:53:24.840147Z, end-time: 2026-11-19T20:53:29.196513Z, duration: 4, exit-code: 183 if [ "${READTHEDOCS_VERSION_TYPE:-}" != "external" ]; then echo "Not a PR build (version type: '${READTHEDOCS_VERSION_TYPE:-unset}'); building docs." exit 0 fi git fetch --depth=500 origin master 2>/dev/null || true if ! git merge-base origin/master HEAD >/dev/null 2>&1; then echo "Could not determine merge-base with origin/master; building docs to be safe." exit 0 fi if git log --format=%B origin/master..HEAD | grep -q '^[[:space:]]*@rtd-build'; then echo "A commit message in this PR requests a build with @rtd-build; building docs." exit 0 fi if git diff --quiet origin/master...HEAD -- doc/ ':!doc/.claude/' .readthedocs.yaml; then echo "No doc-affecting files changed in this PR; skipping Sphinx build." echo "Files changed in PR:" git diff --name-only origin/master...HEAD exit 183 fi echo "Doc-affecting files changed; building docs. Changed doc-relevant paths:" git diff --name-only origin/master...HEAD -- doc/ ':!doc/.claude/' .readthedocs.yaml No doc-affecting files changed in this PR; skipping Sphinx build. Files changed in PR: python/ray/dashboard/modules/metrics/dashboards/common.py python/ray/dashboard/modules/metrics/dashboards/data_dashboard_panels.py python/ray/dashboard/modules/metrics/dashboards/data_grafana_dashboard_base.json python/ray/dashboard/modules/metrics/grafana_dashboard_factory.py python/ray/data/BUILD.bazel python/ray/data/_internal/actor_autoscaler/autoscaling_actor_pool.py python/ray/data/_internal/actor_autoscaler/backlog_aware_actor_autoscaler.py python/ray/data/_internal/actor_autoscaler/default_actor_autoscaler.py python/ray/data/_internal/cluster_autoscaler/__init__.py python/ray/data/_internal/cluster_autoscaler/fake_autoscaling_coordinator.py python/ray/data/_internal/cluster_autoscaler/rate_based_cluster_autoscaler.py python/ray/data/_internal/cluster_autoscaler/resource_utilization_gauge.py python/ray/data/_internal/compute.py python/ray/data/_internal/execution/bundle_queue/bundler.py python/ray/data/_internal/execution/callbacks/resource_allocator_prometheus_callback.py python/ray/data/_internal/execution/execution_flags.py python/ray/data/_internal/execution/interfaces/common.py python/ray/data/_internal/execution/interfaces/physical_operator.py python/ray/data/_internal/execution/interfaces/ref_bundle.py python/ray/data/_internal/execution/operators/__init__.py python/ray/data/_internal/execution/operators/actor_pool_map_operator.py python/ray/data/_internal/execution/operators/base_physical_operator.py python/ray/data/_internal/execution/operators/limit_operator.py python/ray/data/_internal/execution/operators/map_operator.py python/ray/data/_internal/execution/operators/output_splitter.py python/ray/data/_internal/execution/operators/task_pool_map_operator.py python/ray/data/_internal/execution/resource_manager.py python/ray/data/_internal/execution/streaming_executor.py python/ray/data/_internal/execution/streaming_executor_state.py python/ray/data/_internal/execution/util.py python/ray/data/_internal/experimental/__init__.py python/ray/data/_internal/experimental/execution/__init__.py python/ray/data/_internal/experimental/execution/actor_only_metrics.py python/ray/data/_internal/experimental/execution/actor_only_op_metrics.py python/ray/data/_internal/experimental/execution/actor_only_resource_reporter.py python/ray/data/_internal/experimental/execution/bundle_queue/__init__.py python/ray/data/_internal/experimental/execution/bundle_queue/draining_actor_priority.py python/ray/data/_internal/experimental/execution/operators/__init__.py python/ray/data/_internal/experimental/execution/operators/actor_pool.py python/ray/data/_internal/experimental/execution/operators/actor_pool_map_operator.py python/ray/data/_internal/experimental/execution/operators/actor_pool_models.py python/ray/data/_internal/experimental/execution/operators/placement_constraints.py python/ray/data/_internal/experimental/execution/output_limit_escape_hatch.py python/ray/data/_internal/experimental/execution/sizer/__init__.py python/ray/data/_internal/experimental/execution/sizer/actor_placement_strategy.py python/ray/data/_internal/experimental/execution/sizer/capacity_ledger.py python/ray/data/_internal/experimental/execution/sizer/locality_actor_placement.py python/ray/data/_internal/experimental/execution/sizer/metrics.py python/ray/data/_internal/experimental/execution/sizer/models.py python/ray/data/_internal/experimental/execution/sizer/op_profile.py python/ray/data/_internal/experimental/execution/sizer/operator_ordering.py python/ray/data/_internal/experimental/execution/sizer/operator_sizer.py python/ray/data/_internal/experimental/execution/sizer/optimizer/__init__.py python/ray/data/_internal/experimental/execution/sizer/optimizer/capacity_transfer.py python/ray/data/_internal/experimental/execution/sizer/optimizer/context.py python/ray/data/_internal/experimental/execution/sizer/optimizer/optimizer.py python/ray/data/_internal/experimental/execution/sizer/optimizer/rule.py python/ray/data/_internal/experimental/execution/sizer/optimizer/signal_observer.py python/ray/data/_internal/experimental/execution/sizer/optimizer/silent_bottleneck.py python/ray/data/_internal/experimental/execution/sizer/optimizer/utils.py python/ray/data/_internal/experimental/execution/sizer/pg_bundles.py python/ray/data/_internal/experimental/execution/sizer/placement_view.py python/ray/data/_internal/experimental/execution/sizer/scale_how_many.py python/ray/data/_internal/experimental/execution/sizer/scale_where.py python/ray/data/_internal/experimental/execution/sizer/scaling_guard.py python/ray/data/_internal/experimental/execution/sizer/signals.py python/ray/data/_internal/experimental/execution/sizer/telemetry.py python/ray/data/_internal/experimental/execution/sizer/tick.py python/ray/data/_internal/experimental/execution/streaming_executor.py python/ray/data/_internal/experimental/execution/streaming_executor_state.py python/ray/data/_internal/experimental/execution/topology_validation.py python/ray/data/_internal/issue_detection/issue_detector_manager.py python/ray/data/_internal/planner/plan_download_op.py python/ray/data/_internal/planner/plan_list_files_op.py python/ray/data/_internal/progress/base_progress.py python/ray/data/_internal/progress/logging_progress.py python/ray/data/_internal/progress/rich_progress.py python/ray/data/_internal/progress/tqdm_progress.py python/ray/data/_internal/utils/cached_ray_internals.py python/ray/data/checkpoint/checkpoint_filter.py python/ray/data/context.py python/ray/data/dataset.py python/ray/data/tests/actor_only/conftest.py python/ray/data/tests/actor_only/test_actor_only_e2e.py python/ray/data/tests/actor_only/test_actor_only_metrics.py python/ray/data/tests/actor_only/test_actor_only_resource_reporter.py python/ray/data/tests/actor_only/test_checkpoint_loader.py python/ray/data/tests/actor_only/test_compute_strategy.py python/ray/data/tests/actor_only/test_core_actor_backpressure.py python/ray/data/tests/actor_only/test_experimental_actor_pool.py python/ray/data/tests/actor_only/test_experimental_actor_pool_integration.py python/ray/data/tests/actor_only/test_node_aware_experimental_actor_pool.py python/ray/data/tests/actor_only/test_operator_fusion.py python/ray/data/tests/actor_only/test_operator_sizer.py python/ray/data/tests/actor_only/test_output_limit_escape_hatch.py python/ray/data/tests/actor_only/test_output_splitter.py python/ray/data/tests/actor_only/test_resource_bank.py python/ray/data/tests/actor_only/test_scheduling_loop.py python/ray/data/tests/actor_only/test_sizer_actor_placement.py python/ray/data/tests/actor_only/test_sizer_pipeline_optimizer.py python/ray/data/tests/actor_only/test_topology_validation.py python/ray/data/tests/test_actor_autoscaler.py python/ray/data/tests/test_actor_pool_map_operator.py python/ray/data/tests/test_backlog_aware_actor_autoscaler.py python/ray/data/tests/test_issue_detection_manager.py python/ray/data/tests/test_lineage_reconstruction.py python/ray/data/tests/test_node_aware_actor_pool.py python/ray/data/tests/test_streaming_executor.py python/ray/data/tests/test_top_n_operator.py python/ray/data/tests/unit/test_deduping_schema.py python/ray/data/tests/unit/test_draining_actor_priority_bundle_queue.py python/ray/data/tests/util.py