Repository navigation
Revert Docker hacks and pin IsaacSim nightly to Apr 8 digest - #5290
Conversation
Greptile SummaryThis PR reverts the pinocchio/nvidia.srl Dockerfile hacks introduced in #5241 and the symlink removal from #5266, and pins Confidence Score: 5/5Safe to merge — this is a targeted revert+pin with no P0/P1 findings; remaining concerns are pre-existing P2 style issues. All findings are P2 (SHA pinning is a pre-existing policy gap not introduced here; CUDA arch hardcoding is a portability edge case unlikely to affect the GPU-only cuRobo builds). The core change — reverting the pinocchio/nvidia.srl hacks and pinning to the known-good Apr 8 digest — is correct and well-documented. docker/Dockerfile.curobo (CUDA x86_64 hardcoding); .github/workflows/build.yaml (actions SHA pinning) Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[PR triggers build.yaml] --> B[detect-changes]
B --> C[build Dockerfile.base]
B --> D[build-curobo Dockerfile.curobo]
C --> E[Pull pinned Apr 8 nightly latest-develop at sha256 f085...]
D --> E
E --> F[test-isaaclab-core x3]
E --> G[test-isaaclab-tasks x3]
E --> H[test-isaaclab-rl / mimic / etc]
D --> I[test-curobo]
D --> J[test-skillgen]
|
There was a problem hiding this comment.
🤖 Isaac Lab Review Bot
Summary
This PR reverts the Docker/CI hacks from #5241 and #5266 (pinocchio/nvidia.srl workarounds), and pins ISAACSIM_BASE_VERSION to the April 8 latest-develop digest — the last nightly where CI was green. It also tightens the Kit startup performance threshold from 15s to 12s, removes the _isaac_sim symlink hack in the test runner, and cleans up CI cosmetic changes (region markers, AWS instance info step). This is a sensible emergency fix to unblock CI while the upstream nightly is repaired.
Design Assessment
Design is sound. Pinning to a known-good digest while reverting workarounds that targeted broken nightlies is the right approach. The digest pin ensures reproducibility and avoids the rolling-target problem that caused the CI failures. The TODO(AntoineRichard) comment provides clear breadcrumbs for future cleanup. The revert scope is well-scoped — only undoing the two PRs (#5241, #5266) that are unnecessary against the pinned image.
Findings
🟡 Warning: image:tag@digest format in Docker image pinning may cause issues — .github/actions/run-package-tests/action.yml:140, .github/actions/ecr-build-push-pull/action.yml:261-262
The ISAACSIM_BASE_VERSION is set to 'latest-develop@sha256:f085fb5b...', and multiple places construct the full image reference as ${IMAGE}:${VERSION}, yielding nvcr.io/nvidian/isaac-sim:latest-develop@sha256:f085fb5b.... While Docker does support the image:tag@digest format (the digest takes precedence over the tag), this is an uncommon pattern that could cause confusion. Specifically:
- The
docker createcall in the cleanup step (run-package-tests) uses this combined reference — if the image was pulled by digest only during build, the tag portion may not resolve locally. docker buildx imagetools inspectin the ECR action may behave differently with the combined format.
This is flagged as a warning rather than critical because BuildKit's FROM image:tag@digest is well-defined behavior and the test plan explicitly calls out verifying this. If CI passes, this is confirmed working.
🟡 Warning: Kit startup performance threshold tightened without stated rationale — source/isaaclab/test/performance/test_kit_startup_performance.py:23
The assertion threshold was changed from 15.0s to 12.0s. The existing comment says "we are doing some more imports on the automate side" which originally justified the higher 15s bound. The tighter bound is good for catching regressions, but it's bundled into a revert PR without explanation of why 12s is now the right threshold. If the pinned Apr 8 image happens to be faster, this could become flaky if/when latest-develop is restored and startup time drifts back toward 15s.
Suggestion: Add a brief comment explaining why 12s is the correct bound for the pinned image, or consider keeping this change in a separate commit so it's easy to revert independently.
🔵 Suggestion: Commented-out quarantined test block moved but still disabled — .github/workflows/build.yaml:741-762
The commented-out test-quarantined job was moved from outside the jobs: block (invalid YAML position) to inside it (proper indentation under jobs:). This is an improvement in YAML correctness, but the block is still fully commented out. Consider either enabling it with the if: vars.RUN_QUARANTINED_TESTS == 'true' guard (it was designed to be opt-in), or removing it entirely and tracking it in an issue. Long-lived commented-out code tends to rot.
🔵 Suggestion: Extra blank lines added between jobs — .github/workflows/build.yaml (multiple locations)
Several extra blank lines were added between job definitions (e.g., double blank lines between build and build-curobo, triple blank lines before the test jobs comment). This is cosmetic and doesn't affect functionality, but the rest of the file uses single blank line separation. Consider keeping the spacing consistent — this is a revert PR, and the fewer unrelated formatting changes, the cleaner the git history.
Test Coverage
- Revert PR: No new tests needed. The reverted code (Dockerfile hacks, CI action changes) is infrastructure-only and is validated by CI itself passing with the pinned image.
- Performance threshold change: Covered by the existing
test_kit_start_up_timetest — the threshold is the test. - Overall: Test plan is appropriate. CI pass/fail on this PR is the definitive test for all changes here.
CI Status
Build jobs are still pending at time of review. Pre-commit, labeler, detect-changes, and broken-links checks have passed. The build and test results will be the key validation — if they pass, the digest pin and reverted hacks are confirmed working.
Verdict
Minor fixes needed
The core approach is correct — pin to a known-good image, strip the workarounds that targeted broken nightlies, and leave clear breadcrumbs for future cleanup. The two warnings above (image reference format and the performance threshold change) are worth the author's attention but are not blocking. If CI passes green, this should be good to merge.
Reverts 4356a67 ("Fixes missing pinocchio, nvidia.srl imports in CI + minor CI improvements (#5241)") and dade3f9 ("Remove stale nvidia.srl symlink hack from Dockerfiles (#5266)"). All CI runs since Apr 13 are failing. The pinocchio/nvidia.srl hacks added to the Dockerfiles are not needed by the Apr 8 nightly, and the latest-develop image pushed after that date appears broken. Pin the base image to the Apr 8 digest (sha256:f085fb5b6899511bb19abdf18121bfc469901334aefb029d0def56d4fef79c58) until the nightly is fixed.
Revert non-Docker changes (CI cosmetics, test runner, perf threshold) to keep this PR focused on the Dockerfile hack reverts and the nightly digest pin, per review feedback from myurasov-nv.
21de021 to
f305e71
Compare
There was a problem hiding this comment.
We need that, it takes 13.28s on our CI machines
| @@ -148,23 +148,11 @@ RUN rm -rf ${ISAACSIM_ROOT_PATH}/kit/python/lib/python3.12/site-packages/pip* && | |||
| # installing Isaac Lab dependencies | |||
| # use pip caching to avoid reinstalling large packages | |||
| RUN --mount=type=cache,target=${DOCKER_USER_HOME}/.cache/pip \ | |||
| DEBUG=1 ${ISAACLAB_PATH}/isaaclab.sh --install | |||
There was a problem hiding this comment.
Please leave that in, it's useful for me to debug issues with our CI
| echo 'Starting pytest with path: $test_path' | ||
| ./isaaclab.sh -p -m pytest --ignore=tools/conftest.py --ignore=source/isaaclab/test/install_ci $test_path $pytest_options -v --junitxml=tests/$result_file |
There was a problem hiding this comment.
I think it is important that we launch it with ./isaacsim.sh -p, although effect is the same as /isaac-sim/python.sh but that may change.
| - name: AWS Instance Info | ||
| shell: bash | ||
| run: | | ||
| # get instance ID for debugging purposes (if running on EC2) |
There was a problem hiding this comment.
Please leave this in, it is very useful for me. Using this i can quickly ssh into running container if needed.
| ISAACSIM_BASE_VERSION: 'latest-develop' # ${{ vars.ISAACSIM_BASE_VERSION || '6.0.0' }} | ||
| # Pinned to the Apr 8 nightly digest that last passed CI, while latest-develop is broken. | ||
| # TODO(AntoineRichard): Revert to 'latest-develop' once the nightly is fixed. | ||
| ISAACSIM_BASE_VERSION: 'latest-develop@sha256:f085fb5b6899511bb19abdf18121bfc469901334aefb029d0def56d4fef79c58' # ${{ vars.ISAACSIM_BASE_VERSION || '6.0.0' }} |
There was a problem hiding this comment.
Please do the same in post-merge-ci.yaml too and its GTG!
Pin mujoco==3.5.0 and mujoco-warp==3.5.0.2 to prevent newer incompatible releases from breaking Newton tests.
Summary
ISAACSIM_BASE_VERSIONin CI to the Apr 8latest-developdigest (sha256:f085fb5b6899511bb19abdf18121bfc469901334aefb029d0def56d4fef79c58) — the last nightly where CI was green.What to revert later
Once the
latest-developnightly is fixed upstream:@sha256:...digest pin frombuild.yaml(restore'latest-develop').Test plan
latest-develop@sha256:...format is resolved correctly by Docker BuildKit