Skip to content

Revert Docker hacks and pin IsaacSim nightly to Apr 8 digest - #5290

Merged
AntoineRichard merged 3 commits into
developfrom
antoiner/rollback-docker-to-apr8
Apr 16, 2026
Merged

AntoineRichard merged 3 commits into
developfrom
antoiner/rollback-docker-to-apr8

Conversation

@AntoineRichard

Copy link
Copy Markdown
Collaborator

Summary

What to revert later

Once the latest-develop nightly is fixed upstream:

  1. Remove the @sha256:... digest pin from build.yaml (restore 'latest-develop').
  2. Re-evaluate whether the pinocchio/nvidia.srl Dockerfile hacks from Fixes missing pinocchio, nvidia.srl imports in CI + minor CI improvements #5241 are still needed with the fixed nightly.

Test plan

  • CI build and tests pass on this PR with the pinned image
  • Verify the latest-develop@sha256:... format is resolved correctly by Docker BuildKit

@greptile-apps

greptile-apps Bot commented Apr 16, 2026 •

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR reverts the pinocchio/nvidia.srl Dockerfile hacks introduced in #5241 and the symlink removal from #5266, and pins ISAACSIM_BASE_VERSION in CI to the Apr 8 latest-develop digest (sha256:f085fb5b...) — the last known-green nightly — while upstream fixes the broken image. The TODO comments and "What to revert later" section clearly document the rollback plan.

Confidence Score: 5/5

Safe 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

Filename Overview
.github/workflows/build.yaml Pins ISAACSIM_BASE_VERSION to Apr 8 digest with a TODO to revert; uses actions/checkout@v6 without SHA pinning throughout, which violates the project's supply-chain security policy
docker/Dockerfile.base Clean revert: nvidia.srl and pinocchio hacks removed; retains only the quadprog uninstall HACK, which is intentional
docker/Dockerfile.curobo Still carries CUDA 12.8 installation block and torch/pip-reinstall HACKs; CUDA download URL hardcodes x86_64 regardless of detected architecture
.github/actions/run-package-tests/action.yml Reverted CI cosmetic changes; image-cleanup logic correctly handles the new tag@digest format for ISAACSIM_IMAGE
.github/actions/run-tests/action.yml Reverted CI cosmetic changes; actions/upload-artifact@v7 is not pinned by SHA digest, violating the project's supply-chain security policy
source/isaaclab/test/performance/test_kit_startup_performance.py Startup threshold kept at 12s with a comment about ongoing numba/warp investigation; no issues

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]
Loading

Comments Outside Diff (2)

  1. .github/workflows/build.yaml, line 127 (link)

    P2 Actions not pinned to SHA digest

    actions/checkout@v6 uses a mutable tag rather than an immutable SHA digest. Per project policy (AGENTS.md), all actions must be pinned with action@<sha> # vX.Y.Z. This pattern appears on every uses: actions/checkout@v6 line throughout build.yaml, and actions/upload-artifact@v7 in run-tests/action.yml has the same issue. A tag can silently be moved to a different commit, which is the exact supply-chain attack this rule guards against.

  2. docker/Dockerfile.curobo, line 71-74 (link)

    P2 CUDA repo URL hardcodes x86_64 despite arch detection

    The case block above dynamically resolves $cuda_repo from the Ubuntu version, but both wget calls (keyring and pin file) hardcode /x86_64/ in the URL. On an aarch64 host the URLs would 404 and the build would fail. Either add an arch variable alongside $cuda_repo, or gate the whole block on $(uname -m) = x86_64 since cuRobo is GPU-only.

Reviews (1): Last reviewed commit: "Revert Docker/CI changes from #5241 and ..." | Re-trigger Greptile

@isaaclab-review-bot isaaclab-review-bot 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.

🤖 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 create call 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 inspect in 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_time test — 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.
@AntoineRichard
AntoineRichard force-pushed the antoiner/rollback-docker-to-apr8 branch from 21de021 to f305e71 Compare April 16, 2026 10:08

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need that, it takes 13.28s on our CI machines

Comment thread docker/Dockerfile.curobo
@@ -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

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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' }}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.
@AntoineRichard
AntoineRichard merged commit 6a374f4 into develop Apr 16, 2026
8 checks passed
@AntoineRichard
AntoineRichard deleted the antoiner/rollback-docker-to-apr8 branch April 16, 2026 11:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

infrastructure isaac-lab Related to Isaac Lab team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants