Repository navigation
[CI] Prepare develop as repository and docs default - #7767
Conversation
|
run-ci |
|
|
|
||
| :end | ||
| popd | ||
| exit /b 0 |
There was a problem hiding this comment.
The new unconditional exit /b 0 also runs after current-docs, whose Sphinx invocation uses -W and jumps directly to end without checking its result. A Windows build that fails on a documentation error or warning therefore reports success to its caller. Preserve the Sphinx exit status across directory cleanup instead of forcing success in the shared footer.
| exit /b 1 | ||
| ) | ||
| %SPHINXBUILD% %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O% | ||
| if errorlevel 1 exit /b 1 |
There was a problem hiding this comment.
Failure exits leave directory changed
When a Windows developer runs this batch file directly, or another batch file invokes it with call, the new failure exits bypass popd. A failed multi-version build leaves the caller inside docs with an outstanding directory-stack entry, so subsequent relative paths resolve from the wrong directory. Restore the original directory before returning failure from the build, missing-default, and rendering checks.
There was a problem hiding this comment.
Isaac Lab Review Bot
The docs redirect now consistently defaults to develop across Unix, Windows, and CI, and the obsolete compatibility schedule is removed with related comments updated. One Windows build-script regression remains: make.bat current-docs now masks Sphinx failures by always returning success.
- Design and architecture: Moving redirect rendering into the platform-specific documentation build entry points keeps local and CI multi-version builds aligned. The workflow-level verification matches the generated redirect, and removal of the compatibility workflow is reflected in the remaining schedule documentation.
- API: The
DOCS_DEFAULT_REFbuild contract is coherent: it defaults todevelop, remains overridable, requires the selected version to exist, and produces the redirect format verified by CI. However, the Windowscurrent-docscommand's process exit-status contract is unintentionally weakened. - Implementation: The multi-version paths validate both Sphinx execution and the selected default version. In
docs/make.bat, however,current-docsreaches the shared:endlabel aftersphinx-build -W, where the newly added unconditionalexit /b 0discards the build failure status. Preserve and return the Sphinx exit code instead.
Minor fixes needed. Posted 1 actionable finding inline.
Automated review; human maintainers own approval decisions.
|
|
||
| :end | ||
| popd | ||
| exit /b 0 |
There was a problem hiding this comment.
🟡 Warning · Implementation — make.bat hardcodes success exit for current-docs
current-docs reaches :end via goto end (line 63) and now hits the new unconditional exit /b 0, so a failing sphinx-build -W (warnings-as-errors) reports success to callers and Windows CI; the invalid-target usage path also returns 0. The multi-docs branch gained explicit if errorlevel 1 exit /b 1 guards, but current-docs did not. Capture the build errorlevel before popd and exit with it instead of forcing 0.
… uv docs CLI (#8118, #8105, #8179) (#8210) ## Summary Backports three `develop` PRs to `release/3.0.0`, in merge order: 1. #8118 — towncrier changelog tooling 2. #8105 — camera hot-path cleanup [7B/7] 3. #8179 — uv CLI for Windows docs builds The automatic backport failed for #8118 and #8105. For #8179, this supersedes the bot's draft: - #8209 — bot draft backport of #8179 Once merged, the nightly compiles `release/3.0.0` again: it skips release branches without `tools/changelog/towncrier.toml`. # Description Each PR is cherry-picked with `-x`; every code file matches its source patch. Release-specific changes: 1. #8118 (`ee99db6a820`) - Each `CHANGELOG.rst` conflict resolved as the marker line above the release entries. - `uv.lock` unchanged: release's local package pins already match their `pyproject.toml`. - The bot failed here because `uv.lock` pushed its conflict context past the 1.5M-character inference limit. 2. #8105 (`cd917691992`) - Drops the `.github/workflows/build.yaml` hunk: it edits the `performance-smoke` job, which `release/3.0.0` does not have. The bot's validation rejected this omission. - Splits its 10 old-format fragments into the new format with `cli.py`'s `split_legacy`, keeping all 34 bullets; #8118's check rejects the old format. 3. #8179 (`c1a8bfa50b5`) - Deletes `docs/make.bat`; release held an older copy. - Splits its fragment the same way. - Release's `docs/_redirect/index.html` still hardcodes `./main/` (#7767 is not on this branch), so `isaaclab --docs_multi` writes that redirect unchanged, as release's `make multi-docs` does. ## Type of change - Release backport, carrying #8105's breaking change (`isaaclab` major bump) - New feature, bug fix and documentation update from the source PRs ## Validation 1. `cli.py check release/3.0.0` passes. 2. `tools/changelog` tests: 18 passed. 3. `pre-commit` over the range passes. 4. `cli.py compile` on a scratch copy of this branch: - 9 packages bumped, including `isaaclab` 25.1.0 → 26.0.0 and `isaaclab_tasks_experimental` 0.0.1 → 1.0.0 - every fragment consumed, only its outputs staged - `uv.lock` changed in version lines only 5. Runtime coverage for #8105 and #8179 is left to CI. ## Release backport This PR targets the release branch; no additional backport is needed. ## Checklist - [x] I have read and understood the [contribution guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html) - [x] I have run the [`pre-commit` checks](https://pre-commit.com/) on the changed files - [x] I have made corresponding changes to the documentation (carried from the source PRs) - [ ] My changes generate no new warnings - [x] I have validated the changed behavior with focused coverage (source PRs' tests carried unchanged) - [x] I have added a changelog fragment under `source/<pkg>/changelog.d/` for every touched package (carried from the source PRs; #8105 and #8179 converted to the new format) - [x] I have added my name to the `CONTRIBUTORS.md` or my name already exists there --------- Co-authored-by: Mustafa H <[email protected]>
Summary
developthe multi-version documentation landing-page defaultv3.0.0-EAas an available versioned tag without making it the site defaultdevelopto own the repository's scheduled workflowsdevelopandrelease/3.0.0The GitHub Pages deployment environment already permits
develop, so no environment policy change is required.Cutover order
release/3.0.0and create the exact-casev3.0.0-EAtag from the intended release commit.develop.develop.developand verify the site root redirects to/develop/.The previous release-default preparation PRs (#7768 and #7769) are superseded by this plan.
Type of change
Validation
DOCS_DEFAULT_REF=developdevelopdevelopuv run --isolated --extra test -- make -C docs current-docsanduv run isaaclab -fcannot resolve on macOS arm64 because the project lockfile supports Linux and Windows; Linux PR CI remains the authoritative full buildNo package source changed, so no changelog fragment is required.