Skip to content

docs(reference): document NEMOCLAW_OLLAMA_PULL_TIMEOUT env var (#3116)#3122

Merged
ericksoa merged 3 commits into
NVIDIA:mainfrom
latenighthackathon:docs/reference-ollama-pull-timeout-env
May 8, 2026
Merged

docs(reference): document NEMOCLAW_OLLAMA_PULL_TIMEOUT env var (#3116)#3122
ericksoa merged 3 commits into
NVIDIA:mainfrom
latenighthackathon:docs/reference-ollama-pull-timeout-env

Conversation

@latenighthackathon

@latenighthackathon latenighthackathon commented May 6, 2026

Copy link
Copy Markdown
Contributor

Summary

#3116 reports that NEMOCLAW_OLLAMA_PULL_TIMEOUT was added in code by #3037 (PULL_TIMEOUT_ENV constant in src/lib/onboard-ollama-proxy.ts, gate inside getOllamaPullTimeoutMs) but was never added to docs/reference/commands.md. Users hitting the 30-minute default on slow links cannot discover how to raise it; the only mention is the in-flight error hint when the timeout actually fires.

Problem

NEMOCLAW_OLLAMA_PULL_TIMEOUT is read by getOllamaPullTimeoutMs() (defaults to 30 minutes / 1800 seconds, accepts integer or float seconds, validated for finite-positive). It controls the wall-clock cap on ollama pull during onboard. Without docs, users only learn the variable name from the timeout-error hint after the failure.

Changes

  • Add a "Onboard timeouts" subsection to the existing Environment Variables section of docs/reference/commands.md. New table row documents the variable, default (1800 / 30 minutes), accepted format (integer or float seconds), and the partial-download-resume behavior. One-line console example.
  • Mirror the same addition into .agents/skills/nemoclaw-user-reference/references/commands.md so the auto-generated skill stays aligned with the source.

Type of Change

  • Code change with doc updates
  • Doc only (prose changes, no code sample modifications)

Test plan

  • No code change; no behavioral test added.
  • Doc claims (default, format, behavior) match the implementation in src/lib/onboard-ollama-proxy.ts:311-330 and the error-hint text at pullTimeoutErrorHint.
  • Skill mirror addition is identical to the source addition (table row + console example + trailing paragraph).

Closes #3116


Signed-off-by: latenighthackathon latenighthackathon@users.noreply.github.com

Summary by CodeRabbit

  • Documentation
    • Added an "Onboard timeouts" section explaining timeout controls for model pulls during onboarding.
    • Introduced NEMOCLAW_OLLAMA_PULL_TIMEOUT (default: 1800 seconds). Notes: accepts integer or float values, reported in minutes on timeout, preserves already-downloaded layers so retries resume, and includes configuration examples and guidance for increasing the limit.

…A#3116)

The NEMOCLAW_OLLAMA_PULL_TIMEOUT env var was added by NVIDIA#3037 in
src/lib/onboard-ollama-proxy.ts (PULL_TIMEOUT_ENV constant, gate inside
getOllamaPullTimeoutMs) but never documented. Users hitting the
30-minute default on slow links cannot discover how to raise it.

Add a "Onboard timeouts" subsection under the existing Environment
Variables section in docs/reference/commands.md naming the var,
default (1800 seconds / 30 minutes), accepted format (integer or float
seconds), and the partial-download-resume behavior. Mirror the same
addition into the auto-generated skill at
.agents/skills/nemoclaw-user-reference/references/commands.md so the
skill stays aligned with the source.

Closes NVIDIA#3116

Signed-off-by: latenighthackathon <latenighthackathon@users.noreply.github.com>
@copy-pr-bot

copy-pr-bot Bot commented May 6, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@coderabbitai

coderabbitai Bot commented May 6, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack
No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: af0a124f-5d6a-41dd-9edc-838828b3ecca

📥 Commits

Reviewing files that changed from the base of the PR and between 31339f4 and 73d1cf3.

📒 Files selected for processing (2)
  • .agents/skills/nemoclaw-user-reference/references/commands.md
  • docs/reference/commands.md
✅ Files skipped from review due to trivial changes (2)
  • docs/reference/commands.md
  • .agents/skills/nemoclaw-user-reference/references/commands.md

📝 Walkthrough

Walkthrough

Documentation for the NEMOCLAW_OLLAMA_PULL_TIMEOUT environment variable was added to two reference files, including its default timeout of 1800 seconds, purpose during ollama model pulls, accepted value formats, and usage examples.

Environment Variable Documentation

Layer / File(s) Summary
Documentation
.agents/skills/nemoclaw-user-reference/references/commands.md, docs/reference/commands.md
New "Onboard timeouts" section documents NEMOCLAW_OLLAMA_PULL_TIMEOUT with default value (1800 seconds), purpose, accepted formats (integer/float), timeout behavior, and example usage for adjusting and verifying the timeout.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

🐰 A timeout was hiding, alone and unsung,
I hopped through the docs and added a tongue.
"1800 seconds" now rings in the light,
Pulls can resume if the first try took flight.
Re-run onboarding — the layers stay tight.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately and concisely describes the main change: documenting the NEMOCLAW_OLLAMA_PULL_TIMEOUT environment variable in the reference documentation.
Linked Issues check ✅ Passed The PR addresses all coding requirements from issue #3116: the environment variable is documented in docs/reference/commands.md with purpose, default value (1800 seconds), accepted format (integer/float), and resume behavior clearly specified.
Out of Scope Changes check ✅ Passed All changes are directly in scope: documentation of NEMOCLAW_OLLAMA_PULL_TIMEOUT in commands.md and mirroring to the auto-generated skill reference, with no unrelated alterations.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai 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.

🧹 Nitpick comments (1)
docs/reference/commands.md (1)

966-970: ⚡ Quick win

Split multi-sentence lines to one sentence per source line.

Line 966 and Line 970 each contain multiple sentences on a single line; this breaks the docs rule for diff readability.

Suggested edit
-The following environment variables tune onboard-time wall-clock limits. Set them before running `nemoclaw onboard` if a slow connection or large model pull risks tripping the default.
+The following environment variables tune onboard-time wall-clock limits.
+Set them before running `nemoclaw onboard` if a slow connection or large model pull risks tripping the default.
@@
-| `NEMOCLAW_OLLAMA_PULL_TIMEOUT` | `1800` (30 minutes) | Wall-clock timeout for `ollama pull` during onboard, in seconds. Accepts integer or float values. Already-downloaded layers are kept; re-running the pull resumes them. |
+| `NEMOCLAW_OLLAMA_PULL_TIMEOUT` | `1800` (30 minutes) | Wall-clock timeout for `ollama pull` during onboard, in seconds. Accepts integer or float values. Already-downloaded layers are kept; re-running the pull resumes them. |

As per coding guidelines, “One sentence per line in source (makes diffs readable).”

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@docs/reference/commands.md` around lines 966 - 970, The table rows contain
cells with multiple sentences on the same source line (notably the
`NEMOCLAW_OLLAMA_PULL_TIMEOUT` row describing the timeout and resume behavior);
split those multi-sentence cell contents so each sentence is on its own source
line per the "one sentence per line" docs rule—e.g., break the long Purpose cell
into separate lines for "Wall-clock timeout for `ollama pull` during onboard, in
seconds. Accepts integer or float values." and "Already-downloaded layers are
kept; re-running the pull resumes them." to make diffs readable and follow the
guideline.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Nitpick comments:
In `@docs/reference/commands.md`:
- Around line 966-970: The table rows contain cells with multiple sentences on
the same source line (notably the `NEMOCLAW_OLLAMA_PULL_TIMEOUT` row describing
the timeout and resume behavior); split those multi-sentence cell contents so
each sentence is on its own source line per the "one sentence per line" docs
rule—e.g., break the long Purpose cell into separate lines for "Wall-clock
timeout for `ollama pull` during onboard, in seconds. Accepts integer or float
values." and "Already-downloaded layers are kept; re-running the pull resumes
them." to make diffs readable and follow the guideline.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: 59fedf50-0be8-4c18-8aed-9b4b063d20d4

📥 Commits

Reviewing files that changed from the base of the PR and between f5b8144 and 31339f4.

📒 Files selected for processing (2)
  • .agents/skills/nemoclaw-user-reference/references/commands.md
  • docs/reference/commands.md

@wscurran

wscurran commented May 6, 2026

Copy link
Copy Markdown
Contributor

✨ Thanks for submitting this PR that documents the NEMOCLAW_OLLAMA_PULL_TIMEOUT environment variable. This change involves adding a new subsection to the Environment Variables section of the commands reference documentation.


Related open PRs:


Related open issues:

@cjagwani cjagwani 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 — content is accurate, placement under "Environment Variables" with an "Onboard timeouts" subsection is right, and the table covers default + format + resume behavior cleanly.
Closes #3116.

One small heads-up for next time, not a blocker here: .agents/skills/nemoclaw-user-reference/references/commands.md is autogenerated by scripts/docs-to-skills.py and gets regenerated during release prep. Per docs/CONTRIBUTING.md, contributor PRs should only edit the source under docs/. Your hand-edit happens to match what the generator would produce so it's harmless this time, but in future PRs you can drop it and let the dry-run hook validate it. Thanks!

@cjagwani cjagwani self-assigned this May 7, 2026
@cjagwani cjagwani requested a review from cv May 7, 2026 15:20
@ericksoa ericksoa merged commit d0cbe7c into NVIDIA:main May 8, 2026
11 checks passed
@latenighthackathon latenighthackathon deleted the docs/reference-ollama-pull-timeout-env branch May 18, 2026 05:10
@wscurran wscurran added area: docs Documentation, examples, guides, or docs build chore Build, CI, dependency, or tooling maintenance and removed documentation labels Jun 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: docs Documentation, examples, guides, or docs build chore Build, CI, dependency, or tooling maintenance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[All Platforms][Docs] NEMOCLAW_OLLAMA_PULL_TIMEOUT env var not documented in commands-reference

5 participants