Skip to content

[CI] Restore standalone shader caches for contributed environments - #9309

Merged
kellyguo11 merged 1 commit into
isaac-sim:mainfrom
kellyguo11:codex/fix-contrib-standalone-shader-cache
Nov 30, 2026
Merged

kellyguo11 merged 1 commit into
isaac-sim:mainfrom
kellyguo11:codex/fix-contrib-standalone-shader-cache

Conversation

@kellyguo11

@kellyguo11 kellyguo11 commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Description

After #9145 moved contributed camera tasks to standalone OVRTX, test-contrib-environments continued restoring only the Kit shader cache. Restore both cache trees, and add the existing Trocar and Cartpole Camera Showcase smoke-test nodes to the post-merge shader warmer to capture their task-specific shader variants. PR smoke-test selection and assertions are unchanged.

Investigated while diagnosing slow contrib CI on #9217. Historical successful runs show Trocar increasing from about 50s to 361s and Cartpole Camera Showcase from 1.8s to 270s across the backend migration. The comparison below measures the consumer-side restore correction using the existing compatible cache. The expanded warmer has not yet published its additional task-specific shaders.

Type of change

  • Bug fix (CI configuration)

Release backport

  • Backport this pull request to the active release branch after it merges into main

Validation

  • Full ISAACLAB_CHANGELOG_BASE_REF=upstream/main uv run --no-sync isaaclab --format: passed, including YAML, TOML, and changelog checks.
  • git diff --check: passed.
  • All 14 shader-warmer targets have matching test functions and included files; target IDs are unique.
  • Workflow tooling tests: 3 passed; 1 failed because macOS's Bash 3 does not support the existing ${command,,} expression in the unchanged run-docker-ci.yml workflow.
  • GPU contrib CI passed: 43 Kitless, 3 Kit camera, and 5 Kit physics tests passed, with the same expected skips as the baseline. The log confirms a standalone shader-cache hit.
  • Full Docker + Tests CI passed on attempt 2 at the same commit. The initial HDF5 file-lock failure and H1 standalone demo timeout passed on retry without code changes. All other PR checks are green; normal conditional skips remain.

Observed CI timings

Compare baseline #9217 with this PR. Both use the same standalone OVRTX version and compatible NVIDIA driver/GPU cache collection. These are separate CI runs rather than a controlled A/B benchmark.

Measurement Baseline This PR Reduction
All contrib test execution, excluding image pull and queue 17m 11.91s 13m 19.52s 22.5%
Kitless file wall time 767.86s 547.34s 28.7%
Assemble Trocar case 342.59s 79.41s 76.8%
Cartpole Camera Showcase case 265.38s 176.19s 33.6%

PR test selection and assertions are unchanged. The cache grew by 155 MB beyond the restored snapshot, so additional shader compilation remains; the expanded post-merge warmer is intended to capture those task-specific variants.

Checklist

  • Read the contribution guidelines and applied the test-audit criteria to the warmer selection.
  • Run the full formatting and lint checks.
  • CI-only change; no source-package changelog or rendered documentation changes required.

@kellyguo11
kellyguo11 requested a review from a team November 30, 2026 06:03
@github-actions github-actions Bot added bug Something isn't working infrastructure labels Nov 30, 2026
@kellyguo11

Copy link
Copy Markdown
Contributor Author

run-ci

@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

Needs attention: Style consistency (1). Other reviewed categories look good.

  • PR description: The title and body match the two-file cache and warmer changes, distinguish historical timings from measured improvement, and disclose incomplete GPU validation; no description correction is needed.
  • 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: The added migration aside duplicates manifest rationale while the nearby comment still describes a rendering-only subset; remove the aside and name rendering and contrib nodes in the selection comment.
  • Test quality: Test quality looks good.

Minor fixes needed. Posted 1 inline finding.

Automated review; human maintainers own approval decisions.

# instead of quietly leaving the warmer with nothing to run.
# instead of quietly leaving the warmer with nothing to run. Include
# task-specific shader variants from the contributed camera scenes
# migrated to standalone OVRTX.

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.

🟡 Warning · Style Consistency — Describe the current warmer selection

The added migration prose repeats the TOML rationale, while line 1525 still calls the expanded selection a rendering subset. Update that comment to name rendering and contrib nodes, and remove the historical aside.

@isaaclab-bot isaaclab-bot Bot added ci:run-docker Trigger the on-demand Docker and GPU CI workflow and removed ci:run-docker Trigger the on-demand Docker and GPU CI workflow labels Nov 30, 2026
@greptile-apps

greptile-apps Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Confidence Score: 5/5 · This PR appears safe to merge.RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] This PR appears safe to merge.

Summary

Restores both shader-cache trees for contributed environment tests.

  • Contributed camera tests restore both shader-cache trees.
  • The post-merge warmer runs two contributed camera smoke tests.

Reviews (2) · Last reviewed commit: "Restore standalone shader caches for con..." · Reviewed by Greptile

@kellyguo11
kellyguo11 merged commit d56d381 into isaac-sim:main Nov 30, 2026
96 of 98 checks passed
isaaclab-bot Bot pushed a commit that referenced this pull request Nov 30, 2026
…9309)

# Description

After #9145 moved contributed camera tasks to standalone OVRTX,
`test-contrib-environments` continued restoring only the Kit shader
cache. Restore both cache trees, and add the existing Trocar and
Cartpole Camera Showcase smoke-test nodes to the post-merge shader
warmer to capture their task-specific shader variants. PR smoke-test
selection and assertions are unchanged.

Investigated while diagnosing slow contrib CI on #9217. Historical
successful runs show Trocar increasing from about 50s to 361s and
Cartpole Camera Showcase from 1.8s to 270s across the backend migration.
The comparison below measures the consumer-side restore correction using
the existing compatible cache. The expanded warmer has not yet published
its additional task-specific shaders.

## Type of change

- Bug fix (CI configuration)

## Release backport

- [x] <!-- backport-active-release --> Backport this pull request to the
active release branch after it merges into `main`

## Validation

- Full `ISAACLAB_CHANGELOG_BASE_REF=upstream/main uv run --no-sync
isaaclab --format`: passed, including YAML, TOML, and changelog checks.
- `git diff --check`: passed.
- All 14 shader-warmer targets have matching test functions and included
files; target IDs are unique.
- Workflow tooling tests: 3 passed; 1 failed because macOS's Bash 3 does
not support the existing `${command,,}` expression in the unchanged
`run-docker-ci.yml` workflow.
- GPU contrib CI passed: 43 Kitless, 3 Kit camera, and 5 Kit physics
tests passed, with the same expected skips as the baseline. The log
confirms a standalone shader-cache hit.
- [Full Docker + Tests CI
passed](https://github.com/isaac-sim/IsaacLab/actions/runs/46363860089)
on attempt 2 at the same commit. The initial HDF5 file-lock failure and
H1 standalone demo timeout passed on retry without code changes. All
other PR checks are green; normal conditional skips remain.

## Observed CI timings

Compare [baseline
#9217](https://github.com/isaac-sim/IsaacLab/actions/runs/46358014690/job/141649462880)
with [this
PR](https://github.com/isaac-sim/IsaacLab/actions/runs/46363860089/job/141667427631).
Both use the same standalone OVRTX version and compatible NVIDIA
driver/GPU cache collection. These are separate CI runs rather than a
controlled A/B benchmark.

| Measurement | Baseline | This PR | Reduction |
| --- | ---: | ---: | ---: |
| All contrib test execution, excluding image pull and queue | 17m
11.91s | 13m 19.52s | 22.5% |
| Kitless file wall time | 767.86s | 547.34s | 28.7% |
| Assemble Trocar case | 342.59s | 79.41s | 76.8% |
| Cartpole Camera Showcase case | 265.38s | 176.19s | 33.6% |

PR test selection and assertions are unchanged. The cache grew by 155 MB
beyond the restored snapshot, so additional shader compilation remains;
the expanded post-merge warmer is intended to capture those
task-specific variants.

## Checklist

- [x] Read the contribution guidelines and applied the test-audit
criteria to the warmer selection.
- [x] Run the full formatting and lint checks.
- [x] CI-only change; no source-package changelog or rendered
documentation changes required.

(cherry picked from commit d56d381)
@isaaclab-bot

isaaclab-bot Bot commented Nov 30, 2026

Copy link
Copy Markdown
Contributor

Backported to release/3.1.0 as b87c074.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working infrastructure

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant