Skip to content

Docs: Network volume path guidance, S3 upload, and test workaround#193

Open
Jmendapara wants to merge 4 commits into
runpod-workers:mainfrom
Jmendapara:main
Open

Docs: Network volume path guidance, S3 upload, and test workaround#193
Jmendapara wants to merge 4 commits into
runpod-workers:mainfrom
Jmendapara:main

Conversation

@Jmendapara
Copy link
Copy Markdown

Motivation

Users configuring network volumes were hitting two problems: (1) putting /runpod-volume in paths on the storage led to runpod-volume/runpod-volume/models/... inside the worker and models not being found, and (2) RunPod’s test environment doesn’t mount the volume, so tests that expect /runpod-volume fail or block deployment. There was also no doc showing how to upload models via RunPod’s S3-compatible API.
This PR updates the network volumes doc to:
Clarify that paths on the storage must be relative to the volume root (e.g. /models/loras), not /runpod-volume.
Document that tests don’t see the volume and that removing .runpod/tests.json is a valid workaround when tests block deployment.
Add a short “Uploading files via the S3-compatible API” section with a generic aws s3 cp example and links to RunPod’s S3 API docs for credentials and endpoints.

…ns and path configuration details

- Added important notes on using relative paths for network storage to avoid model detection issues.
- Included a section on uploading files via the S3-compatible API, with detailed command examples and explanations.
- Clarified the expected directory structure and provided troubleshooting tips for network volume access during testing.
…del structure

- Clarified the usage of relative paths for models on network storage to prevent detection issues.
- Updated the section on uploading models via the S3-compatible API with new command examples and path formats.
- Adjusted the expected directory structure to reflect changes in model naming conventions.
Copy link
Copy Markdown
Contributor

@TimPietruskyRunPod TimPietruskyRunPod left a comment

Choose a reason for hiding this comment

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

Great docs PR — the path-relative-to-volume-root caveat is exactly the trap users keep hitting. Approve direction.

One outdated reference + missing changeset:

Outdated: the test workaround section says "you can work around this by removing .runpod/tests.json". As of c41432e on main the file was renamed to .runpod/tests_.json precisely so it stops blocking deployments by default (see #201). Please update the wording to reflect that — something like:

RunPod's test environment does not have access to the network volume mount. The repository ships with the tests file renamed to .runpod/tests_.json so they don't run by default; if you've re-enabled them and they fail with Value not in list, remove or rename the file again.

Changeset: please add .changeset/docs-network-volume-guidance.md:

---
"worker-comfyui": patch
---

docs: clarify network-volume path semantics (paths relative to volume root), document S3-compatible upload flow, and note the `.runpod/tests_.json` rename for tests that fail without the volume.

Once those two are addressed I'll approve.

Also — the PR is opened from Jmendapara:main to runpod-workers:main, which works but means follow-up commits to your fork's main will land in this PR. Not blocking, just FYI.

Jmendapara and others added 2 commits June 2, 2026 10:45
- Update test workaround to reflect .runpod/tests_.json rename
- Add changeset for the docs change

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants