Repository navigation
[Backport] PR #7856 to release/3.0.0 - #8439
Conversation
Isaac Lab's base, cuRobo, and kit-less container images stop shipping Git LFS. That clears the three `golang.org/x/crypto` scanner findings in nvbug 6782864 instead of waiting on an upstream Git LFS release. `git` stays installed. `docker/scripts/install_git_lfs.sh` (added in #7811) installed the upstream Git LFS 3.8.0 binary. That binary embeds a Go module manifest, so scanners read `golang.org/x/crypto v0.54.0` out of it and raise GO-2026-6303 / 6354 / 6355. No Git LFS release carries the fixed `x/crypto v0.56.0` yet. - The installer is deleted, along with its references in all three Dockerfiles, the dependency-hash inputs, and the kit-less workflow path filter. - Each image build now fails if `git-lfs` is on `PATH`. This catches a copy inherited from the Isaac Sim base image, which the deleted installer used to purge. It replaces the old Dockerfile-text test. - The images keep `git`, but CI's checkout is made with `lfs: true` and requires the LFS filter, so any `git` call on that bind-mounted tree would fail. `run_tests.sh` and `multi_gpu_host_launcher.sh` mount a tmpfs over `/workspace/isaaclab/.git`, matching the images, where `.dockerignore` already drops `.git`. The benchmark job does not mount the checkout, so its revision data is unchanged. Git LFS operations inside the containers no longer work. Install Git LFS in a derived image if you need it. This is captured in the changelog fragment. | Check | Result | | --- | --- | | `Dockerfile.kitless` built from this branch | built; `git` 2.43.0 present, `git-lfs` absent | | `Dockerfile.base` built on public `isaac-sim:6.1.0` | `git-lfs` check step passes | | check run in `isaac-lab:latest-develop` and develop's kit-less image | fails, finds `/usr/local/bin/git-lfs` | | check run in plain Ubuntu 24.04 | passes | | `docker/test` | 40 passed, 4 skipped; 2 `test_docker_profiles` cases stop at an interactive X11 prompt on the dev box | `Dockerfile.curobo` was not built locally; CI is its first build with this change. - Breaking change (existing functionality will not work without user modification) - [x] <!-- backport-active-release --> Backport this pull request to the active release branch after it merges into `develop` - [x] I have read and understood the [contribution guidelines](https://isaac-sim.github.io/IsaacLab/develop/source/refs/contributing.html) - [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with `./isaaclab.sh --format` - [x] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [x] I have added tests that prove my fix is effective or that my feature works - [x] I have added a changelog fragment under `source/<pkg>/changelog.d/` for every touched package - [x] I have added my name to the `CONTRIBUTORS.md` or my name already exists there --------- Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]> (cherry picked from commit 367267d)
|
run-ci |
|
| action = REPO_ROOT / ".github/actions/_lib/compute-deps-hash/action.yml" | ||
| self.assertIn("docker/scripts/install_git_lfs.sh", action.read_text(encoding="utf-8")) | ||
|
|
||
| def test_contract_workflows_use_hash_locked_dependencies(self): |
There was a problem hiding this comment.
The Git LFS tests are deleted without checks for the replacement behavior. Add tests that all three Dockerfiles reject git-lfs and that both checkout-mounting launchers hide .git. Without them, a future change can bring back the unwanted binary or the CI failure described in the launcher comments without a focused test catching it.
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
There was a problem hiding this comment.
Isaac Lab Review Bot
Needs attention: Style consistency (1). Other reviewed categories look good.
- PR description: The body explains backport mechanics only; name the Git LFS removal, image guards,
.gitmasking, and validation actually run against this release base. - Design and architecture: Architecture looks good.
- Scope and over-engineering: No over-engineering issues.
- API: API changes look good.
- Compatibility and deprecation: No breaking changes identified.
- Implementation: Implementation looks good.
- Style consistency: Dockerfile.kitless repeats the Git LFS rationale above an unrelated dependency block; delete lines 127-128 and keep the guard-local explanation.
- Test quality: Test quality looks good.
Significant concerns. Posted 1 inline finding.
Automated review; human maintainers own approval decisions.
| # Any ``git`` call then invokes the LFS filter, and without the binary it fails with "the remote | ||
| # end hung up unexpectedly" -- which surfaced as every kit-less case failing before it allocated a | ||
| # single byte of GPU memory. Both images install the same verified Git LFS release below. | ||
| # No image ships Git LFS: scanners flag the Go modules embedded in its upstream binary. Nothing |
There was a problem hiding this comment.
🟡 Warning · Style Consistency — Duplicate rationale heads unrelated RUN block
This paragraph now introduces the ovrtx/GLVND apt block it has nothing to do with, and repeats the rationale already given with the guard at lines 160-161. Delete lines 127-128 and keep the rationale once.
# Description Fixes the two deterministic `isaaclab (core) [1/3]` failures affecting pull requests against `release/3.0.0`. The release branch intentionally pins Torch 2.11.0 and torchvision 0.26.0, but its release-only install test fixtures still used Torch 2.12.0 and torchvision 0.27.0. The installation-CI override file also retained usd-exchange 3.0.0 and usd-optimize 1.3.0 after the release branch moved to 3.0.1 and 1.3.1. This change: - updates both CUDA Torch fixtures to 2.11.0 while preserving the CUDA-tag scenarios they test; - synchronizes the installation-CI override file with the canonical root and published-wheel overrides; and - adds an `isaaclab` `.skip` fragment because only test and CI metadata changes. No runtime dependency or installation behavior changes. ## Type of change - Bug fix (non-breaking change which fixes an issue) - Release-branch CI fix ## Release backport - [x] Not applicable: this PR targets `release/3.0.0` directly and fixes release-only files. ## Screenshots Not applicable. ## Validation - Before the fix, the two focused tests failed with the same assertions reported by #8434 and #8439. - `uv run --no-sync python -m pytest source/isaaclab/test/cli/test_install_commands.py source/isaaclab/test/cli/test_wheel_builder_metadata.py -q` — 46 passed. - Confirmed `source/isaaclab/test/install_ci/uv_pip/uv-overrides.txt` exactly matches `tools/wheel_builder/uv-overrides.txt`. - `ISAACLAB_CHANGELOG_BASE_REF=fix-release-install-validation-base uv run --no-sync isaaclab -f` — passed using a temporary local validation ref at the current `upstream/release/3.0.0` tip; the ref was removed immediately afterward. - `git diff --check` — passed. ## Checklist - [x] I have read and understood the contribution guidelines. - [x] I have run the pre-commit checks. - [x] Documentation changes are not required because no user-facing workflow changed. - [x] My changes generate no new warnings. - [x] I reproduced both failures before the fix and ran the complete adjacent test files after it. - [x] I added an `isaaclab` `.skip` changelog fragment for the test/CI-only package changes. - [x] My name already exists in `CONTRIBUTORS.md`.
## Summary Inference-resolved backport PRs now get Docker and GPU test results without anyone commenting `run-ci` by hand. The backport workflow comments `run-ci` itself right after it opens the draft PR. # Description When a cherry-pick conflicts, `backport-release-3.0.yml` opens a draft PR against the release branch. `build.yaml` runs on PRs only when the `ci:run-docker` label is added, and that label comes from a `run-ci` comment (`run-docker-ci.yml`). The workflow posted no comment, so these PRs got only the lightweight checks. #8439 is an example: Docker + Tests started only after a manual `run-ci`. - The comment is posted with the isaaclab-bot App token that opens the PR, so it triggers workflows (a `GITHUB_TOKEN` comment would not) and passes `run-docker-ci.yml`'s PR-author check. - `nightly-isaacsim-image.yml` already posts `run-ci` the same way. - A failed comment logs a warning instead of failing the job, because the PR is already open. - Clean backports are unchanged: they push straight to the release branch, and that push runs the full CI. - `pull_request_target` reads the workflow from `develop`, so merging to `develop` activates it. ## Type of change - Bug fix (non-breaking change which fixes an issue) ## Release backport - [ ] <!-- backport-active-release --> Backport this pull request to the active release branch after it merges into `develop` ## Checklist - [x] I have read and understood the [contribution guidelines](https://isaac-sim.github.io/IsaacLab/develop/source/refs/contributing.html) - [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with `uv run isaaclab --format` - [ ] Documentation changes are not required because no documented behavior changed - [x] My changes generate no new warnings - [ ] Not validated on a live run yet; the next conflicted backport will exercise it - [ ] A package changelog fragment is not required because no source package changed - [x] My name already exists in `CONTRIBUTORS.md`
Backports #7856 to
release/3.0.0.The original cherry-pick conflicted. An NVIDIA inference model proposed this resolution, and deterministic validation confirmed that it changes no paths outside the original PR. Because conflict resolution cannot be certified as an exact patch replay, this PR is intentionally a draft and requires release-maintainer review.
367267ddb1022aaf21a313768df66ba824543c9821438b7b59b999515394a6fd71c5aa4a7b5e638a2bb83349f6c2962f8ce77e20e04bc6b37f978180