Skip to content

Pin ovrtx-cache-warm to exact rendering node IDs - #7683

Merged
kellyguo11 merged 1 commit into
isaac-sim:developfrom
mataylor-nvidia:mataylor/fix-ovrtx-cache-warm-selection
Sep 9, 2026
Merged

kellyguo11 merged 1 commit into
isaac-sim:developfrom
mataylor-nvidia:mataylor/fix-ovrtx-cache-warm-selection

Conversation

@mataylor-nvidia

@mataylor-nvidia mataylor-nvidia commented Sep 9, 2026 •

Copy link
Copy Markdown
Contributor

Description

The ovrtx-cache-warm job selects its tests with test-k-expr: (isaacsim_rtx or ovrtx) and (rgb or depth). That expression matches zero of the 33 collected items, so the job deselects everything and the shader-cache save step runs with nothing to publish:

collected 11 items / 11 deselected / 0 selected   (test_rendering_cartpole.py)
collected 22 items / 22 deselected / 0 selected   (test_rendering_cartpole_kitless.py)

How #7114 made the AOV labels stale

pytest -k matches against parametrize IDs, and #7114 ("[Test] Group rendering correctness AOVs") changed what those IDs are made of.

Before #7114, _make_sensor_data_type_params() emitted one node per data type, and the data type was the last segment of the ID. After #7114, group_rendering_params() merges every AOV that can be captured from a single environment into one node, and the ID's last segment becomes the capture group name (static, temporal) rather than any individual data type:

Before #7114 After #7114
kit physx-isaacsim_rtx-rgb
physx-isaacsim_rtx-depth
physx-isaacsim_rtx-albedo
…
physx-isaacsim_rtx_renderer-static
kitless legacy-ovphysx-ovrtx-rgb
legacy-ovphysx-ovrtx-depth
…
legacy-ovphysx-ovrtx_renderer-static

rgb and depth still run — they are two of the AOVs captured inside the -static node — but they are no longer named in any node ID. So the (rgb or depth) half of the expression, which selected 4 kit + 8 kitless nodes under the old scheme, now selects nothing. The (isaacsim_rtx or ovrtx) half still matches fine; only the AOV half went stale.

The timeline is why this was never caught: #7114 merged 2026-08-21 and the cache-warm job was added in #6905 on 2026-09-03, so the expression was written against an ID scheme that had already been replaced two weeks earlier. The job has deselected everything for its entire life.

Only this one expression was affected — the other test-k-expr values in the workflows (legacy, ovstage, not ovphysx, test_environments and not (Soft or Cloth or Cable)) match on segments #7114 did not touch.

Impact

  • The warmer compiles no PSO blobs, so the kit/ and kitless/ shader-cache trees are never populated and the rendering-correctness jobs that restore them keep compiling shaders cold.
  • Nothing bad is published: the save steps in .github/actions/ovrtx-shader-cache/action.yml are gated on non-zero file counts, so an empty tree is never written back.
  • verify.sh does emit ::error:: for the empty trees, but the job is continue-on-error: true, so the failure never surfaced.

Fix

Pin the warmer to the RTX-renderer subset of the existing post-merge node lists (2 kit + 4 kitless nodes) via the test-node-ids-file/test-node-ids-key mechanism the sibling rendering-correctness-kitless-* jobs already use, and drop test-k-expr.

The mechanism change is deliberate rather than repairing the expression to (isaacsim_rtx or ovrtx) and static. A -k expression that matches nothing is indistinguishable from one that legitimately matches nothing in a given file, so tools/conftest.py treats "0 selected with a k-expr" as a pass by design — which is exactly why this went unnoticed for the life of the job. An unknown node ID is passed to pytest as an explicit target and fails collection outright, so the next parametrize-ID rename cannot silently empty this job again.

Verified by generating the parametrize IDs from rendering_test_utils at both 7b504e34df^ and develop, confirming the before/after IDs above, that the pre-fix 11/22 deselected counts reproduce exactly, and that all six configured node IDs resolve.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Release backport

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

Checklist

  • I have read and understood the contribution guidelines
  • I have run the pre-commit checks with ./isaaclab.sh --format
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • I have added a changelog fragment under source/<pkg>/changelog.d/ for every touched package
  • I have added my name to the CONTRIBUTORS.md or my name already exists there

The shader-cache warmer selected its tests with
``(isaacsim_rtx or ovrtx) and (rgb or depth)``, but grouping the rendering
AOVs (isaac-sim#7114) replaced the per-AOV parametrize IDs with per-capture-group
ones, so no node ID contains ``rgb`` or ``depth`` any more. The expression
matched none of the 33 collected items, and the job has deselected
everything since it was added (isaac-sim#6905):

    collected 11 items / 11 deselected / 0 selected  (test_rendering_cartpole.py)
    collected 22 items / 22 deselected / 0 selected  (test_rendering_cartpole_kitless.py)

The warmer therefore compiled no PSO blobs, and the rendering jobs that
restore kit/ and kitless/ kept compiling them cold. The empty-tree gates in
the ovrtx-shader-cache action held, so nothing bad was published, but the
``::error::`` they raise is swallowed by the job's continue-on-error.

Select the nodes by exact ID from the existing post-merge subset file
instead. A ``-k`` expression that matches nothing is indistinguishable from
one that legitimately matches nothing in a given file, so conftest treats it
as a pass, which is why this went unnoticed; an unknown node ID is passed to
pytest as a target and fails collection outright.
@mataylor-nvidia
mataylor-nvidia requested a review from a team September 9, 2026 15:29
@github-actions github-actions Bot added bug Something isn't working infrastructure labels Sep 9, 2026

@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

The CI-only change replaces the ineffective -k selector for ovrtx-cache-warm with six explicit rendering node IDs using the repository’s existing test-subset mechanism.

  • Design and architecture: Reusing .github/test-subsets/postmerge-rendering.toml aligns the warmer with sibling rendering jobs and ensures stale parameterized IDs fail collection rather than silently selecting zero tests. Duplicating the relevant IDs under a dedicated key is a reasonable, localized tradeoff, though future RTX-node additions must be synchronized manually.
  • API: The workflow switches from test-k-expr to the existing test-node-ids-file and test-node-ids-key action inputs. The six selected IDs match entries already used by the post-merge rendering subsets. No source package or public API is changed.
  • Implementation: The pinned subset includes the two isaacsim_rtx_renderer kit nodes and four ovrtx_renderer kitless nodes while excluding newton_renderer paths that do not populate the target shader-cache trees. The implementation is focused and consistent with the stated cache-warming behavior.

No blocking issues. No inline issue met the actionable-evidence threshold; the assessment above records the review feedback.

Automated review; human maintainers own approval decisions.

@greptile-apps

greptile-apps Bot commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

The PR appears safe to merge; the configured IDs and workflow wiring correctly select the six shader-cache-producing tests.

Summary

  • Adds a dedicated ovrtx-cache-warm subset containing two Kit RTX nodes and four Kitless OVRTX nodes.
  • Connects the warmer job to that subset through the existing node-ID selection mechanism.
  • Ensures future parametrization-ID drift fails collection instead of silently running zero tests.

@kellyguo11

Copy link
Copy Markdown
Contributor

run-ci

@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 Sep 9, 2026
@kellyguo11
kellyguo11 merged commit e80f5df into isaac-sim:develop Sep 9, 2026
54 checks passed
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.

2 participants