Skip to content

Stabilize kitless rendering CI - #6767

Merged
nvsekkin merged 7 commits into
isaac-sim:developfrom
nvsekkin:esekkin/kitless-xfail-stabilization
Jul 29, 2026
Merged

nvsekkin merged 7 commits into
isaac-sim:developfrom
nvsekkin:esekkin/kitless-xfail-stabilization

Conversation

@nvsekkin

@nvsekkin nvsekkin commented Jul 28, 2026 •

Copy link
Copy Markdown
Collaborator

Description

Separate legacy and OVStage lanes, preserve known failures as granular outcomes, and reject empty postmerge selections so rendering regressions remain visible without destabilizing CI. Surface expected failures as unreliable in Omni test results.

  • Split kitless rendering CI into parallel legacy and OVStage lanes, removing redundant Newton-Warp runs.
  • Report known image regressions as ticketed XFAIL/unreliable outcomes while retaining crash-prone cases as skips.
  • Prevent stale node IDs from producing false-green zero-test runs while preserving intentional filtering and module skips.
  • Show XFAILs separately in GitHub and Omnitests reporting.

Type of change

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

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 (do not edit CHANGELOG.rst or bump extension.toml — CI handles that)
  • I have added my name to the CONTRIBUTORS.md or my name already exists there

Separate legacy and OVStage lanes, preserve known failures as granular
outcomes, and reject empty postmerge selections so rendering regressions
remain visible without destabilizing CI. Surface expected failures as
unreliable in Omni test results.
@nvsekkin
nvsekkin requested a review from a team July 28, 2026 16:48
@github-actions github-actions Bot added isaac-lab Related to Isaac Lab team infrastructure labels Jul 28, 2026
@greptile-apps

greptile-apps Bot commented Jul 28, 2026 •

Copy link
Copy Markdown
Contributor

Greptile Summary

Stabilizes kitless rendering CI and makes expected failures visible without failing the pipeline.

  • Splits kitless rendering into legacy and OVStage matrix lanes with lane-specific postmerge selections.
  • Expands rendering parametrization across applicable stage variants and applies granular XFAIL or skip policies to known regressions.
  • Distinguishes pytest XFAIL results from ordinary skips in GitHub and Omni test reporting.
  • Rejects stale exact node selections while preserving intentional empty filters and module-level skips.

Confidence Score: 5/5

The PR appears safe to merge.

No blocking failure remains.

Important Files Changed

Filename Overview
tools/conftest.py Adds explicit handling for stale exact selections, intentional empty selections, module skips, and nonzero pytest exits while preserving existing JUnit cases.
source/isaaclab_tasks/test/rendering_test_utils.py Adds stage-variant expansion and centralized XFAIL or skip policies for known kitless rendering outcomes.
.github/workflows/build.yaml Splits kitless rendering into independent legacy and OVStage matrix lanes with corresponding filters and report identities.
.github/test-subsets/postmerge-rendering.toml Replaces the combined kitless subset with lane-specific exact node selections matching the new parametrized IDs.
.github/actions/run-tests/junit_summary.py Separates pytest expected failures from ordinary skipped tests in the GitHub summary.
.github/actions/upload-omni-github-test-results/junit_to_omni_github_results.py Maps pytest XFAIL records to Omni's unreliable outcome rather than skipped.
source/isaaclab_tasks/test/conftest.py Changes the OVStage fixture to consume indirect parametrization supplied by each rendering suite.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    W[Kitless rendering workflow] --> M{Matrix variant}
    M --> L[Legacy lane]
    M --> O[OVStage lane]
    L --> S1[Load legacy postmerge node IDs]
    O --> S2[Load OVStage postmerge node IDs]
    S1 --> F1[Apply legacy pytest filter]
    S2 --> F2[Apply ovstage pytest filter]
    F1 --> T[Run per-file rendering tests]
    F2 --> T
    T --> R{Test outcome}
    R --> P[Passed]
    R --> X[XFAIL reported as unreliable]
    R --> K[Known crash case skipped]
    R --> E[Unexpected failure or empty exact selection fails]
Loading

Reviews (4): Last reviewed commit: "Merge branch 'develop' into esekkin/kitl..." | 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 splits the kitless rendering CI job into legacy/ovstage matrix lanes, moves per-variant selection into the parametrization layer (make_kitless_rendering_params), converts several runtime pytest.skip guards into parameter-level xfail/skip marks, reports xfails as unreliable in the omni-github artifact, and hardens the per-file orchestrator against empty node-ID selections and silent nonzero pytest exits. The direction is sound and the converter/orchestrator changes are well-scoped. However, two of the skip-to-xfail conversions are narrower than the guards they replace: the removed helper-level skips in rendering_test_franka_cloth/rendering_test_franka_soft were renderer-scoped, while the replacement expected-failure maps additionally require physics_backend == "newton", so the ovphysx + Newton Warp (and ovphysx + OVRTX motion-vector) combinations lose their protection and will run unmarked in the post-merge lane where the job is not continue-on-error. The two new unit-test files also land in locations that no CI job collects, so the new helper and orchestrator logic ships without executable coverage.

Architecture impact

CI/test-infrastructure only; no library API surface is touched. Moving variant selection from a parametrized fixture into an explicit make_kitless_rendering_params expansion (with indirect=["ovstage_variant"]) is a clean improvement: it makes node IDs stable and lets the postmerge TOML select exact per-variant node IDs. Expressing known failures as parameter-level marks instead of runtime pytest.skip is also the right call, since it keeps the outcome visible in the JUnit/omni-github artifact rather than collapsing it into a generic skip. The main structural risk is that the expected-failure maps now duplicate knowledge that previously lived once inside the shared helpers, so each caller (including the non-kitless rendering modules) must be kept in sync manually.

Test coverage

New unit tests cover the JUnit-to-omni converter xfail path, the parameter helpers, and the two orchestrator guards — good intent. In practice, source/isaaclab_tasks/test/test_rendering_parametrization.py is filtered out by the exclude-pattern: "test_rendering_" used by the isaaclab_tasks jobs and is not listed in any rendering job's include-files, and tools/test/test_orchestrator_result_handling.py sits under a conftest that ignores all collection and hijacks the session, while the collector only walks scripts/ and source/. Both files therefore never execute in CI. The parametrization assertions also only check mark names, not the reason/strictness that the reporting path depends on, and the zero-selection orchestrator test returns exit code 4, so it would still pass through the separate nonzero-exit branch if the empty-selection guard were removed.

Implementation verdict

Significant concerns. Posted 6 actionable findings inline.

The PR exceeded the automated context budget, so some file content was truncated.

Automated comment-only review; human maintainers own approval decisions.

Comment thread tools/conftest.py Resolved
nvsekkin added 2 commits July 28, 2026 12:02
Move helper tests into CI-collected paths and isolate zero-selection
coverage. Preserve existing JUnit rows when appending synthetic
subprocess errors.
Separate pytest expected failures from ordinary skips in GitHub job
summaries so ticketed unreliable results are visible in both reporting
surfaces.
@nvsekkin
nvsekkin requested a review from pbarejko as a code owner July 28, 2026 19:17
@nvsekkin

Copy link
Copy Markdown
Collaborator Author

@greptile review

Treat no-tests-collected as successful when global filters intentionally
exclude a file, while preserving strict failures for stale exact node IDs.
Keep existing JUnit skip counts and replace obsolete xfail marks.
@nvsekkin

Copy link
Copy Markdown
Collaborator Author

@greptile review

Comment thread tools/conftest.py Resolved
nvsekkin and others added 3 commits July 29, 2026 07:30
Treat pytest exit code 5 as non-failing when collection was intentionally
skipped, while retaining strict handling for stale node IDs and truly
empty unfiltered test files.
Share Dexsuite crash skips and Franka expected-failure mappings so the
paired suites cannot drift. Update the optional-module comment now that
module-level collection skips are supported by the orchestrator.
@nvsekkin

Copy link
Copy Markdown
Collaborator Author

@greptile review

@nvsekkin
nvsekkin merged commit 71023a8 into isaac-sim:develop Jul 29, 2026
98 of 101 checks passed
@nvsekkin nvsekkin mentioned this pull request Jul 30, 2026
6 of 7 tasks
nvsekkin added a commit that referenced this pull request Jul 31, 2026
# Description

- Follow-up to #6767: reports image-comparison XFAILs as `UNRELIABLE`
and XPASSes as `XPASS (REVIEW XFAIL)` with ticketed reasons in the HTML
artifact.
- Skipped or crashed tests that never reach image comparison remain out
of scope.

## Type of change

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

## Checklist

- [x] I have read and understood the [contribution
guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html)
- [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with
`./isaaclab.sh --format`
- [ ] 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 (do **not** edit
`CHANGELOG.rst` or bump `extension.toml` — CI handles that)
- [x] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there
matthewtrepte pushed a commit to matthewtrepte/IsaacLab that referenced this pull request Aug 4, 2026
# Description

Separate legacy and OVStage lanes, preserve known failures as granular
outcomes, and reject empty postmerge selections so rendering regressions
remain visible without destabilizing CI. Surface expected failures as
unreliable in Omni test results.

- Split kitless rendering CI into parallel legacy and OVStage lanes,
removing redundant Newton-Warp runs.
- Report known image regressions as ticketed XFAIL/unreliable outcomes
while retaining crash-prone cases as skips.
- Prevent stale node IDs from producing false-green zero-test runs while
preserving intentional filtering and module skips.
- Show XFAILs separately in GitHub and Omnitests reporting.

## Type of change

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

## Checklist

- [x] I have read and understood the [contribution
guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html)
- [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with
`./isaaclab.sh --format`
- [ ] 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 (do **not** edit
`CHANGELOG.rst` or bump `extension.toml` — CI handles that)
- [x] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there
matthewtrepte pushed a commit to matthewtrepte/IsaacLab that referenced this pull request Aug 4, 2026
# Description

- Follow-up to isaac-sim#6767: reports image-comparison XFAILs as `UNRELIABLE`
and XPASSes as `XPASS (REVIEW XFAIL)` with ticketed reasons in the HTML
artifact.
- Skipped or crashed tests that never reach image comparison remain out
of scope.

## Type of change

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

## Checklist

- [x] I have read and understood the [contribution
guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html)
- [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with
`./isaaclab.sh --format`
- [ ] 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 (do **not** edit
`CHANGELOG.rst` or bump `extension.toml` — CI handles that)
- [x] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there
AntoineRichard added a commit that referenced this pull request Aug 11, 2026
…7015)

## Summary

Two independent CI defects, both blocking pull requests that have
nothing wrong with them.

## 1. The license check floats onto a prerelease

`pip-licenses 6.0.0a1` was published 2026-08-10. `[tool.uv.pip]
prerelease = "allow"` lets the
unpinned install in `license-check.yaml` float onto it, so the
dependency license check has been
red on every PR opened since.

6.0.0a1 dropped 5.x's blanket `pkg_info[field] = value or
LICENSE_UNKNOWN` fallback, so the
`License` column is empty rather than `UNKNOWN` for packages shipping no
license metadata.
`license-exceptions.json` keys 44 entries on the literal `"UNKNOWN"`, so
six packages with
reviewed exceptions were flagged: `cmeel-qhull`, `egl_probe`, `osqp`,
`pyglet`, `rl_games`,
`robomimic`. It also joins the license set unsorted, so multi-license
strings reorder run to run.

**Change:** `pip-licenses` → `"pip-licenses<6.0"`, which resolves to
5.5.5 even under
`--prerelease=allow` since PEP 440 excludes prereleases of the capped
version.

## 2. Required check names are never published on docs-only PRs

Branch protection matches a required status check by its literal name,
and GitHub only expands a
matrix when it *schedules* the job. A skipped matrix job therefore
publishes its check run with
the expression unexpanded:

    skipped   standalone demos (headless, ${{ matrix.runtime-label }})

So on a docs-only PR the required contexts `standalone demos (headless,
Kit)`,
`standalone demos (headless, non-Kit)` and
`rendering-correctness-kitless (legacy)` are never
published at all — they stay in `Expected` and the PR cannot merge. The
other 20 required
contexts publish as `skipped`, which satisfies the rule. The two
matrices arrived with #6704
and #6767.

**Change:** both matrix jobs are written out per variant, so each name
is static and is published
whether the job runs or is skipped. Job bodies are otherwise unchanged —
Kit drops the non-Kit
OVPhysX pin step, and the kitless variants replace the synthetic
`event_name` axis and its
`exclude` entry with a plain `if:` on the post-merge-only ovstage job.
No branch protection change
is needed.

Supersedes #6960 — diagnosis by @AntoineRichard, folded in here at his
request.

## Validation

| Check | Result |
|---|---|
| license gate replayed on the 6.0.0a1 report from the failing run | 6
flagged, exit 1 — reproduces CI |
| license gate replayed on the 5.5.5 report from the last passing run |
`All packages were checked`, exit 0 |
| published check names vs develop | 2 unexpandable templates → 4
literal names, 25 unchanged |
| `build.yaml` job graph | 29 jobs parse, every `needs:` resolves, no
matrix jobs remain |
| `uv run isaaclab -f` | all hooks pass |

---------

Co-authored-by: Mustafa H <[email protected]>
Co-authored-by: AntoineRichard <[email protected]>
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.

4 participants