Repository navigation
Conversation
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
| # Apply the layers' whiteouts instead of keeping them. | ||
| "--ovlfs-strip=1", |
There was a problem hiding this comment.
Blocking: mkfs.erofs --oci in erofs-utils 1.9.4 silently ignores multi-layer whiteouts and clobbers UsrMerge directory symlinks (returncode == 0, no fallback)
Testing multi-layer images end-to-end with erofs-utils 1.9.4 (--enable-oci) + runsc uncovered two upstream erofs-utils bugs where _build_erofs_image_from_registry succeeds (True) and caches a broken or leaky rootfs.erofs:
-
.wh.<name>and.wh..wh..opqwhiteouts are ignored (--ovlfs-strip=1is a no-op under--oci):
With--tar=f,mkfs/main.csetserofstar.aufs = true, which gates.wh.*and.wh..wh..opqparsing inerofs_rebuild_get_dentry(lib/rebuild.c:112,if (aufs && !slash)), and--ovlfs-strip=1then strips the resulting overlayfs whiteout inodes at pack time. However,ocierofs_process_tar_stream(lib/remotes/oci.c:856) initializes a localstruct erofs_tarfile tarfile = {};without settingtarfile.aufs = true. As a result, every.wh.*/.wh..wh..opqmarker in upper OCI layers is written as a literal 0-byte file and lower-layer files/directories are never deleted—so build-time secrets or stale package files removed in laterRUN rm ...layers remain readable inside the gVisor sandbox. -
Upper-layer
S_ISDIRentry clobbers lower-layer UsrMerge symlinks (/bin -> usr/bin):
On Debian/Ubuntu UsrMerge base images where/bin -> usr/binis a symlink, an upper layer that shipsbin/hellowithout abin/directory entry fails inmkfs.erofs([Error 20] Not a directory) and falls back cleanly. But if the upper layer includes abin/directory tar header followed bybin/hello(astar cf layer.tar bin/emits),tarerofs_parse_tar(lib/tar.c:1129-1135) unlinks the/bin -> usr/binsymlink and replaces/binwith a directory containing onlyhello(mkfs.erofsand_seed_erofs_imageboth exit0), wiping/bin/shfrom the sandbox whereasextract_tar_layerpreserves/bin -> usr/bin.
Suggestion: Until upstream erofs-utils fixes both (tarfile.aufs = true in oci.c and preserving directory symlinks on S_ISDIR in tar.c) and _mkfs_erofs_supports_oci checks for a fixed version, consider either:
- defaulting
_EROFS_OCI_ENVto"0"(opt-in), or - fetching the manifest/config first (which
_extract_image_layers(..., False)already does) and only invokingmkfs.erofs --ociautomatically whenlen(layer_descs) == 1, where cross-layer whiteouts and cross-layer directory-over-symlink clobbers cannot occur.
| _extract_image_layers( | ||
| image, image_dir, image_dir, timeout_seconds, image_dir, False | ||
| ) | ||
| returncode = proc.wait() |
There was a problem hiding this comment.
timeout_seconds is not enforced on proc.wait()
_extract_image_layers(..., False) applies timeout_seconds only to the manifest and config HTTP requests; proc.wait() then blocks without a deadline (bounded only by erofs-utils's hardcoded CURLOPT_TIMEOUT = 120L per layer in lib/remotes/oci.c:146). In testing against a stalled layer blob (8s delay) with timeout_seconds=1.5, RAY_SANDBOX_EROFS_OCI=0 failed in 1.56s while --oci blocked for 8.50s and succeeded.
Consider tracking deadline = time.monotonic() + timeout_seconds before spawning proc, passing timeout=max(0.0, deadline - time.monotonic()) to proc.wait(...), and on subprocess.TimeoutExpired killing proc and raising SandboxCreationError directly (note TimeoutExpired inherits from SubprocessError, not OSError/RuntimeError, which also avoids kicking off a fallback layer download after the caller's timeout has already expired).
| def _mkfs_erofs_supports_oci(mkfs: str) -> bool: | ||
| """Whether ``mkfs`` can build an image straight from a registry. | ||
|
|
||
| ``--oci`` needs erofs-utils 1.9+ built with ``--enable-oci`` (libcurl and | ||
| json-c), which distribution packages often leave out. | ||
| """ | ||
| try: | ||
| res = subprocess.run( | ||
| [mkfs, "--help"], capture_output=True, text=True, timeout=30 | ||
| ) | ||
| except (OSError, subprocess.TimeoutExpired): | ||
| return False | ||
| return "--oci" in res.stdout + res.stderr |
There was a problem hiding this comment.
Non-amd64 behavior across erofs-utils 1.9.x releases
Following up on the Bugbot comment below with details from the erofs-utils C source:
erofs-utils 1.9.4addedocierofs_get_platform_spec()(lib/remotes/oci.c:1112, 1176), so1.9.4actually defaults to"linux/amd64"onx86_64and"linux/arm64/v8"onaarch64(even thoughmkfs/main.c:230still printsdefault: linux/amd64in--help).- However,
erofs-utils 1.9.0–1.9.3also advertise--ociin--helpwhile hardcoding"linux/amd64", so on anarm64host with1.9.0–1.9.3,_mkfs_erofs_supports_ocireturnsTrueand pullsamd64layers alongside anarm64.image_config.json. - Also on
arm64in1.9.4,oci.c:702-712uses an exactstrcmpagainst"linux/arm64/v8", so multi-arch OCI indexes whosearm64entry omits"variant": "v8"({"os": "linux", "architecture": "arm64"}) fail with-ENOENTand fall back unlessplatform=is specified.
Checking mkfs.erofs -V (>= 1.9.4) when get_platform_arch() != "amd64"—or resolving the manifest index in Python first and passing --oci=f,platform=<matched_platform>—would prevent the 1.9.0–1.9.3 mismatch and avoid unnecessary arm64 fallbacks.
| for name in ("dev", "etc", "proc", "run", "sys", "tmp"): | ||
| if root.get(name, _EROFS_FT_DIR) != _EROFS_FT_DIR: | ||
| raise RuntimeError(f"the image's /{name} isn't a directory") |
There was a problem hiding this comment.
Minor: symlinked /dev/shm or /dev/pts is overwritten into a directory
Checking root catches a symlinked top-level /dev, /etc, or /tmp, but _OCI_SEED_DIRS also unconditionally writes dev/pts and dev/shm (0o755). If an image ships /dev as a directory with /dev/shm -> /run/shm as a symlink, the incremental pass replaces /dev/shm with an empty directory instead of preserving the symlink like _seed_mountpoints does.
runsc mounts over /dev at runtime so this is benign in gVisor, though checking _erofs_listdir(dump, image_path, "/dev") for non-directory pts/shm when "dev" in root would keep exact parity.
| def test_pull_with_a_real_mkfs_oci( | ||
| tmp_path, fake_docker_hub, fake_mkfs_erofs, monkeypatch | ||
| ): | ||
| """With an erofs-utils built with --enable-oci, a pull from the fake | ||
| registry gives an image with the layer's files and Ray's seeds.""" | ||
| mkfs = _real_mkfs(fake_mkfs_erofs, monkeypatch, "--oci") | ||
| image_dir = pull_and_extract_container_image( | ||
| "busybox:latest", images_dir=str(tmp_path / "images") | ||
| ) | ||
| image = os.path.join(image_dir, ROOTFS_IMAGE) | ||
| _assert_seeded(mkfs, image) | ||
| assert _erofs_cat(mkfs, image, "/bin/busybox") == fake_docker_hub | ||
| assert _erofs_stat(mkfs, image, "/bin/busybox")[0] == 0o755 | ||
| assert os.path.exists(os.path.join(image_dir, ".image_config.json")) |
There was a problem hiding this comment.
Suggestion: add a 2-layer image test case for real mkfs.erofs --oci
fake_docker_hub serves a single-layer busybox image, so test_pull_with_a_real_mkfs_oci passes even when mkfs.erofs --oci ignores .wh.<file> / .wh..wh..opq whiteouts or overwrites a lower-layer bin -> usr/bin symlink with an upper-layer bin/ directory entry. Adding a 2-layer fixture to the fake registry covering both cases would catch these regressions directly whenever an OCI-enabled mkfs.erofs is on PATH.
## Description Cache verified container-image layers per node so different images and rebuilds can reuse layers instead of downloading them again. Layers are stored by SHA-256 digest, verified before publication, and protected by cross-process locks to avoid duplicate downloads. Eviction uses the existing image-cache limits. Tested using a **3.34 GB PyTorch/CUDA base** and two **129-byte application layers**: | Scenario | Downloaded before | Downloaded after | |---|---:|---:| | Different application on the same base | 3.34 GB | 129 bytes | | Rebuild an extracted image | 3.34 GB | 0 bytes | Warm rebuilds eliminated approximately **9–10 seconds of downloading**. Median sandbox creation decreased from **111s to 103s (~7%)** across two rebuilds per version. Extraction and EROFS construction remain unchanged and dominate the remaining time #67810 will hopefully solve extraction part --------- Signed-off-by: Pawel Beza <[email protected]> Signed-off-by: Pawel Beza <[email protected]> Co-authored-by: Pawel Beza <[email protected]> Co-authored-by: Copilot <[email protected]> Copilot-Session: 21d0d11b-3c88-40fb-aefb-a2e754c71d16
…ofs --oci mkfs.erofs --oci (erofs-utils 1.9.4) ignores whiteouts, pulls amd64 on older 1.9.x releases whatever the host, and runs outside the pull's timeout, auth and mirror handling. Instead, each layer now downloads straight into its own EROFS image: Ray resolves and fetches it as before, verifies its digest, decompresses it and streams the tar into mkfs.erofs --tar=f --aufs --sort=none. One mkfs.erofs --clean=data --ovlfs-strip=1 pass merges the layer images and applies the whiteouts, and the existing incremental pass seeds the result. The tar headers are read on the way through, and layers whose merge would differ from extraction (a path without its parent's entry, or a directory over a symlink such as UsrMerge's bin) are extracted instead, as are images whose /dev/pts or /dev/shm is a symlink. This needs only erofs-utils 1.8+, not an --enable-oci build. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…box-erofs-oci-pull # Conflicts: # python/ray/experimental/sandbox/_internal/image_utils.py
Rebuild the merged-image path on master's layer cache (#67874): the cache downloads, verifies and keeps each layer, so the PR's own streaming download, digest check and decompression sniffing go away. Each cached layer streams through tarfile (to read its headers) into mkfs.erofs --tar=f --aufs --sort=none, a few at a time; one mkfs.erofs --clean=data --ovlfs-strip=1 pass merges them. Seeding no longer needs dump.erofs: the mount points go in as a layer below the image's, so the image's own entries win as with extraction, and only the root and /tmp go on in an incremental pass (a merge ignores the layers' root attributes). The header check now also catches images that delete a seed or make /etc or /dev a symlink, and a symlinked /dev/shm is kept rather than refused. Co-Authored-By: Claude Opus 5.5 <[email protected]>
| dirs.add(path) | ||
| elif kind in ("sym", "file"): | ||
| (symlinks.add if kind == "sym" else symlinks.discard)(path) | ||
| dirs.discard(path) |
There was a problem hiding this comment.
File at /tmp not rejected
Low Severity
_layer_merge_problem only treats a symlink at tmp as a merge mismatch. When tmp is a regular file, the above seed still writes a directory there, while _seed_tmp leaves the file in place after makedirs fails. A merged image can therefore be cached with a directory at /tmp even though extraction would keep the file.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit 9c88977. Configure here.
| s | ||
| for s in symlinks | ||
| if not s.startswith(prefix) and (kind == "opq" or s != path) | ||
| } |
There was a problem hiding this comment.
Same-layer whiteout order ignored
Medium Severity
_layer_merge_problem never models tar order inside a layer. Extraction applies .wh. and opaque whiteouts as members appear, so a file (or directory contents) followed by its whiteout is deleted. Merge stores both in one overlay layer, where a whiteout only hides lower layers and the same-layer file remains. That mismatch is not flagged, so a merged image can be cached that does not match extraction.
Reviewed by Cursor Bugbot for commit 9c88977. Configure here.
| ".image_config.json", | ||
| ".manifest.json", | ||
| ROOTFS_IMAGE, | ||
| ] |
There was a problem hiding this comment.
Registry merge test always falls back
Low Severity
test_pull_with_a_real_mkfs_merge claims to merge through the fake registry’s token challenge, multi-arch index, and blob redirect, but that fixture’s layer is only bin/busybox with no bin/ directory. _layer_merge_problem treats that as a missing parent and falls back to extraction, so the test can pass without the merge path ever succeeding.
Reviewed by Cursor Bugbot for commit 9c88977. Configure here.
The layer cache hands a layer to the build as soon as its download starts, as a GrowingBlob over the partial file: a read past what has arrived waits for more, and the blob ends only once the download is verified (a failed or mismatched download raises instead). The build of the largest layer no longer waits for its download, which takes a cold pytorch/pytorch:2.5.1-cuda12.4-cudnn9-runtime pull from 111 s to 93 s on a 4 vCPU node. Extraction still reads finished layers. Co-Authored-By: Claude Opus 5.5 <[email protected]>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
There are 4 total unresolved issues (including 3 from previous reviews).
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit a4541b4. Configure here.
| end = self._size if size < 0 else min(self._size, self._pos + size) | ||
| data = os.pread(self._file.fileno(), end - self._pos, self._pos) | ||
| self._pos += len(data) | ||
| return data |
There was a problem hiding this comment.
Download errors incorrectly trigger extraction fallback
Medium Severity
With growing blobs, a layer is yielded as soon as the download starts, so later fetch failures surface from GrowingBlob.read instead of _pull_errors. They are not SandboxCreationError, so _build_erofs_image_from_registry falls back to extraction. A truncated or interrupted layer is pulled twice instead of failing the pull.
Additional Locations (2)
Reviewed by Cursor Bugbot for commit a4541b4. Configure here.
## Description `readonly=True` is the default today, and it buys little. A read-only sandbox boots no faster than a writable one (27 ms both), and it's slower once it does anything: with an explicit `workdir` it needs a kernel overlay and takes 87 ms to create, and Python's stdlib imports take 203 ms instead of 45 ms because nothing can cache `.pyc` files. On a worker that can't mount a kernel overlay, a read-only sandbox with a `workdir` already ran writable, with a warning. The mode also needs special cases across the package, which keep complicating other sandbox PRs. This PR removes the option. Every sandbox writes to a private overlay over its cached image, which is discarded with the sandbox. That deletes: - the host-backed scratch `workdir` and the `/tmp` tmpfs, - the kernel overlay for missing mount points and the writable-root fallback (`needs_rootfs_overlay` is hooks only now), - `_seed_mountpoints` in the image build, since runsc creates mount points in the sandbox's overlay, - the `workdir` branches in `disk` capping (`--overlay2 all:`), checkpoint, and restore. About 600 lines net. Read `image_manager.py` and `backend/gvisor.py` first. Most of the rest is tests and docs. Behavior changes: - The root filesystem is writable by default. A `workdir` is a plain directory in the overlay, and `/tmp` is on the root filesystem. - `readonly=False` passed to `create()`, `restore()`, `Sandbox`, or `SandboxRuntime` is ignored with a `RayDeprecationWarning`, and the HTTP API ignores `readonly: false`, so callers that pass it keep working. `readonly=True` raises a `ValueError`, and the HTTP API answers `422`, because ignoring it would hand the caller a writable sandbox. - `disk` works without a `workdir`, and counts the `workdir` too. - A relative `workdir` raises a `ValueError`, or gets a `422` over HTTP, instead of failing when the container starts. - Restore refuses a checkpoint of a `readonly=True` sandbox, whose saved state depends on the read-only root. Checkpoints of writable sandboxes restore as before. Restore also refuses a different `workdir`, which runsc rejects anyway. - Without `disk`, any sandbox can now fill the node's disk. A node-wide default cap is a follow-up. - `commit()` from #67972 works on every sandbox, so its read-only check is gone. Its new layer leaves out the mount points runsc creates when the base image lacks them, such as an empty `/etc/hosts`. ## Related issues None filed. This comes from review feedback that the read-only mode complicates other sandbox PRs. ## Additional information - Not a duplicate: no open PR removes the option. It overlaps #67810 (its `_seed_erofs_image` pass can go), #67076 (the fallback's warning), and #67077 and #67728 (`readonly` in the warm-pool key). #67972 merged since, and the merge with master drops its read-only check. #66782 and #67010 pass `readonly=False`, which still works. - Numbers: measured on master on November 9 with `python:3.10-slim`, medians of 10 rounds. - Tests: new tests cover the writable default, `disk` with and without a `workdir`, the ignored `readonly=False` and the refused `readonly=True` in Python and over HTTP, the refused read-only checkpoint, and an image with only `/bin` and `/lib`, which boots with host mounts, `/etc/hosts`, and `/etc/resolv.conf`. I also booted that image from a kernel overlay with a hook, and as a non-root user. - Tested in a privileged container with runsc release-20261026.0, as root. `pytest python/ray/experimental/sandbox/tests`: 651 passed, 39 skipped (no GPU, `erofsfuse`, or delegated cgroup there), 3 failed. The 3 are GPU and CDI tests that fail the same way on master in that container, whose Ray core predates `get_cdi_kind`. `pytest python/ray/experimental/sandbox/http/tests`: 185 passed, 10 skipped. The skipped ones are the Modal SDK tests, which passed on the first commit with the SDK installed. pre-commit and the API param coverage lint pass. - I used Claude Code to help write and test this change. --------- Signed-off-by: xyuzh <[email protected]>
|
I found replacing this by python logic (so we can be OCI compliant) slows it down a bunch, and we can do much faster, which I implemented in #68263 |


Description
A cold image pull spends most of its time turning layers into a tree on disk and back into a tar. The layers are extracted into a tree, and the tree is re-tarred into
mkfs.erofs --tar. With this PR, a registry image is built without that tree, when the node'smkfs.erofssupports it:gzipandtarfileintomkfs.erofs --tar=f --aufs --sort=none.tarfileonly reads the headers for the checks described under "Fallback" below. Up to three layers build at a time.mkfs.erofs --clean=data --ovlfs-strip=1copies their data into one self-contained image and applies the whiteouts. gVisor mounts that one image._seed_mountpointsleaves existing entries alone. The root and/tmpgo on top in a small--incrementalpass, because a merge gives the root the building user's owner and mode 0777, whatever the layers say.Ray resolves and fetches the image exactly as for extraction, so mirrors, credential helpers, digests, the host's platform and
timeout_secondsall behave the same. Layer digests are verified by the layer cache.This PR first used
mkfs.erofs --oci, which downloads the image itself. Review found that it ignores whiteouts, can pull the wrong platform on erofs-utils 1.9.0–1.9.3, runs outside the pull timeout, and needs an--enable-ocibuild. This version drops it.Build while downloading
The build of a layer doesn't wait for its download.
layer_cache.fetch_blobcan hand out aGrowingBlobover the partial download as soon as the registry answers. A read past what has arrived waits for more, and the blob ends only once the download is verified. A failed or mismatched download raises instead, so no image is ever built from an unverified layer. Extraction still reads finished layers._download_blobsused to stop outstanding downloads once it had yielded every layer; it now stops them only when abandoned early, since a yielded layer may still be downloading.Fallback
The pull falls back to extraction unchanged in any of these cases:
RAY_SANDBOX_EROFS_MERGE=0is set;mkfs.erofs --helplacks--aufs,--sort=,--clean=,--ovlfs-stripor--incremental=;mkfs.erofsmakes up that parent with mode 0777 and the building user's ownership, over the parent from the layers below.bin/over UsrMerge'sbin -> usr/bin. The merge replaces the symlink, as Docker does, but extraction keeps it and writes through it./etcor/devends up a symlink. Extraction seeds again, or seeds through the symlink....Image builders don't write the first two kinds of layer, so in practice these checks are a guard. Registry and download errors still fail the pull with the same
SandboxCreationErroras before, without a fallback.Same image, faster
I compared the images both pipelines build for
ubuntu:22.04(3,518 entries),python:3.12(33,003) andpytorch/pytorch:2.5.1-cuda12.4-cudnn9-runtime(77,826). I extracted each image as root withfsck.erofs --extract, which keeps owners, and compared the trees. Every entry matches on type, mode (setuid and sticky bits included), uid/gid, size, content, symlink target and device number. runsc boots the merged images; I checked busybox andpython:3.10-slimby running commands in sandboxes withRAY_SANDBOX_IGNORE_CGROUPS=1.Cold pulls, each into an empty cache, from Docker Hub, on two nodes:
ubuntu:22.04python:3.12pytorch/pytorch:2.5.1-cuda12.4-cudnn9-runtimeThe EBS ubuntu time is from the version just before "build while downloading"; that change saves time only on large layers. Timings vary with network speed between runs.
On the EBS node, writing to disk is the limit.
mkfs.erofshardly uses any CPU: built onto tmpfs, the largest PyTorch layer takes 2.7 s instead of about 50 s. There, decompression is not on the critical path, and isal's gzip barely helps (90.7 s instead of 92.6 s for PyTorch).On the NVMe node, decompression is the limit. PyTorch's largest layer (3.3 GB gzipped, 6.1 GB of tar) finishes downloading 13.5 s into the pull, but its image is done only at 39 s. From the cached layer,
mkfs.erofsbuilds that image in 4.1 s from the uncompressed tar. Python'sgzipalone takes 26.2 s to decompress it, andtarfile's stream-mode header parsing with a 1 MiB buffer adds about 7 s more.Experiment: isal decompression (not in this PR)
On the NVMe node I tried a faster decoder for the layer builds. Decompressing PyTorch's largest layer takes:
gzipzlib-ng(python-zlib-ng 1.1.0)isal(python-isal 1.9.1)A patch on top of this PR, with three changes:
_build_layer_imagedecompresses withisal.igzip_threadedwhen isal is installed, and with stdlibgzipotherwise. Decompression then runs in its own thread, overlapping header parsing and the writes tomkfs.erofs.tarfilestream buffer shrinks from 1 MiB to 64 KiB;GrowingBlobgainsreadintoandreadable, which isal's reader needs.With the patch, that layer builds from the cache in 18.3 s instead of 37.5 s. Cold pulls on the NVMe node, medians of three runs, alternating:
ubuntu:22.04python:3.12pytorch/pytorch:2.5.1-cuda12.4-cudnn9-runtimeEvery patched pull merged its layers, without a fallback. For
python:3.12, the patched image matches this PR's entry for entry (extracted as root and compared as above). PyTorch's pull now takes 20 s, and its largest layer's download takes 13.5 s of that.This PR leaves the patch out. It adds an optional dependency, and the test suite hasn't run on it. It can follow in its own PR.
Known limits
-Eforce-inode-extended, a fixed UUID and-T0 --mkfs-timetobuild_erofs_image. The merge and seed passes here would need the same flags; whichever PR lands second should add them.Related issues
Part of the Ray Sandboxing effort (#65352).
Additional information
Requirements
The merged build needs erofs-utils 1.8+ (it uses
--aufs,--sort=none,--clean=data,--ovlfs-stripand--incremental=data). Debian 13's package qualifies; Ubuntu 24.04's (1.7.1) doesn't, and there the pull uses extraction as before. The tests that need a realmkfs.erofsskip without a capable one.Changes
image_utils.py:_build_erofs_image_from_registry,_build_layer_image,_layer_merge_problemand_seed_layer._extract_image_layersinto_resolve_registry_image, so both pipelines share it._download_blobsgained agrowingflag.layer_cache.py:GrowingBlob, and an optionalstartedfuture onfetch_blob; existing callers are unaffected.Tests
New tests in
python/ray/experimental/sandbox/tests/test_image_utils.py. Those that need a realmkfs.erofsskip without one that can merge.test_pull_merges_layer_images: three layers with whiteouts, an opaque directory, replaced files, a hard link, a non-root owner and a symlinked/dev/shm. The merged image equals the extracted one, entry for entry, and is seeded.test_pull_extracts_layers_that_merge_differently: each fallback case (a directory over a symlink, missing parent entries, a deleted seed, a symlinked/etcor/tmp) logs a warning and gives the extracted image.test_layer_merge_problem: unit tests of the header check.test_pull_with_a_real_mkfs_merge: a pull from the in-process fake registry (bearer-token challenge, multi-arch index, blob redirect).test_merged_pull_skipped_when_disabled,test_merged_pull_reports_a_missing_image,test_merged_pull_fails_on_a_bad_layer(cut short or swapped, without a fallback),test_merged_pull_stops_other_layers_when_one_fails.test_growing_layers_are_read_while_they_download: a layer is handed over and readable before its download completes.Commands run on an Anyscale workspace (64 vCPU), with this checkout's
ray.experimentalon top of an installed Ray 3.0.0.dev0 and erofs-utils 1.9.4:blackpasses on the changed files.AI assistance
This change was developed with AI assistance (Claude Code). The submitter has reviewed every changed line and run the tests above.
🤖 Generated with Claude Code