Repository navigation
cp: docs(environments): fix new-environment.mdx issues from NVBug 6853090 (4175) into r0.7.0 - #4246
Merged
Merged
Conversation
…#4175) ## Summary - **Manifest reference** (point 1): added one sentence after the `experimental` paragraph directing benchmark and named-config contributors to the Field Reference for optional fields (`prompt_source`, `config_path`, `dataset_owner`). Sub-items B and C were already correct in the current file. - **Separated workflows** (point 2): restructured the page so the manifest-backed path (`gym env init --environment`) is the primary journey from scaffold through publish; moved the standalone resources server into its own `## Standalone Resources Server` section. Resolved conflicting guidance around `data/example.jsonl`, required files, validation, and rollout artifacts. - **Executable smoke rollout** (point 3): replaced the single-command rollout example with a two-terminal sequence (`gym env start` in terminal 1, `gym eval run --no-serve` in terminal 2); replaced the placeholder agent name with the generated `my_eval_simple_agent` and explained how to find it. - **End-user journey first** (point 4): reordered sections so workflow content (Onboarding Commands → Contribution Workflow → Detailed Steps → Required Files → Guiding Principles → Recommended Technical Design) precedes reference content (Component Ownership → Environment Manifest → Validation Layers → Verifier Fixture Contract), separated by a `---` rule. - **Navigation links** (point 5): removed the broken "See `Domain`" reference; replaced it with a link to the Field Reference anchor. - **Error handling example** (point 6): replaced the broad `except Exception as e: return ToolResponse(output=str(e))` with a two-tier pattern — catch `ValueError`/`TypeError` for expected argument errors and return them to the model, use a bare `except Exception` fallback that calls `logger.exception` and returns a safe opaque message. - **Polish** (point 7): added frontmatter `description`; labeled `gym env publish` as a "local readiness check" that does not commit or push; replaced the unsupported "tens of thousands of concurrent requests" claim with "scale to high concurrent request volumes during training." ## Validation Docs-only change. Each fix was verified against CLI source (`nemo_gym/cli/env.py`, `nemo_gym/environment/scaffold.py`) and compared against the v0.6.0 page to confirm regressions were not introduced. Points 1B and 1C were confirmed already correct in the current file and required no change. N/A for rollout evidence. Fixes: NVBug 6853090 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Signed-off-by: Marta Stepniewska-Dziubinska <[email protected]> Co-authored-by: Claude Sonnet 4.6 <[email protected]> Signed-off-by: NeMo Bot <[email protected]>
Contributor
Author
|
/ok to test 749d77d |
Contributor
ananthsub
approved these changes
Oct 8, 2026
ananthsub
added a commit
that referenced
this pull request
Oct 12, 2026
## What Updates three pages in the v0.7.0 docs snapshot (`fern/versions/v0.7.0/pages/`) to match `r0.7.0`: - `reference/cli-commands.mdx` - `contribute/environments/new-environment.mdx` - `contribute/environments/index.mdx` Each file is copied verbatim from `fern/versions/latest/pages/` on `r0.7.0`. ## Why The snapshot in #4207 was copied from the release branch before two docs fixes merged to `main` and were cherry-picked into `r0.7.0`: - NVBug 6854088, `cli-commands.mdx`: #4093, cherry-picked in #4219 - NVBug 6853090, `new-environment.mdx` and `environments/index.mdx`: #4175, cherry-picked in #4246 The 0.7.0 release includes both fixes, but the published v0.7.0 docs do not, because the snapshot on `main` was never refreshed. No issue: this corrects a stale copy of already-reviewed content. ## Validation - Each of the three snapshot files on `main` was byte-identical to its `r0.7.0` counterpart from before the fixes, which confirms the snapshot predates them. - After this change, `diff -r` between `r0.7.0`'s `fern/versions/latest/pages` and `fern/versions/v0.7.0/pages` reports no differences. - `python3 tests/unit_tests/test_fern_docs_links.py` passes. - `npm run check` in `fern/` reports no errors. Its one warning says the missing-redirects check was skipped without a Fern token; CI runs it with a token. ## Rollout evidence N/A: docs-only change. ## Impact After merge, the docs publish on `main` updates the v0.7.0 pages on the Fern site. This does not affect the `docs.nvidia.com/nemo/gym` 404, which comes from the custom-domain routing and also affects other Fern-hosted NeMo docs. Signed-off-by: Ananth Subramaniam <[email protected]>
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
beep boop [🤖]: Hi @marta-sd 👋,