Skip to content

ci: satisfy legacy required test checks - #6960

Closed
AntoineRichard wants to merge 13 commits into
isaac-sim:developfrom
AntoineRichard:antoiner/ci-required-check-compat
Closed

AntoineRichard wants to merge 13 commits into
isaac-sim:developfrom
AntoineRichard:antoiner/ci-required-check-compat

Conversation

@AntoineRichard

@AntoineRichard AntoineRichard commented Aug 7, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • publish the exact legacy required-check names for standalone demos and kit-less rendering
  • allow docs-only changes to pass those compatibility checks without launching expensive tests
  • mirror the underlying matrix job result when relevant tests are required
  • add focused regression coverage for the workflow contract

Testing

  • uv run --no-project --with pytest python -m pytest .github/workflows/test_required_check_compat.py -q
  • ./isaaclab.sh -f (via PYTHONPATH for the user-installed pre-commit tool)

This avoids changing branch protection settings and does not duplicate test execution.

@greptile-apps

greptile-apps Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

The PR adds three stable compatibility jobs for legacy branch-protection contexts and a focused test describing their workflow contract.

  • Compatibility jobs pass intentional docs-only skips and otherwise propagate underlying test-job outcomes.
  • Two standalone contexts currently consume one aggregate matrix result.
  • The regression test is not connected to an automated CI test invocation.

Confidence Score: 4/5

The PR appears safe to merge, with non-blocking issues around per-variant status accuracy and automated execution of the new regression test.

The compatibility jobs correctly handle intentional skips, but the standalone contexts cannot distinguish matrix variants and the added contract test currently provides no automated CI protection.

Files Needing Attention: .github/workflows/build.yaml, .github/workflows/test_required_check_compat.py

Important Files Changed

Filename Overview
.github/workflows/build.yaml Adds stable legacy status jobs, but both standalone statuses mirror the same aggregate matrix result.
.github/workflows/test_required_check_compat.py Adds useful textual workflow-contract tests, but the file is not discovered or explicitly run by CI.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    C[changes job] --> S{should_run?}
    S -->|false| G[Compatibility checks pass]
    S -->|true| M[test-standalone-demos matrix]
    M --> K[Kit variant]
    M --> N[non-Kit variant]
    M --> A[Aggregate matrix result]
    A --> CK[Kit legacy check]
    A --> CN[non-Kit legacy check]
    S -->|true| R[test-rendering-correctness-kitless]
    R --> CR[Rendering legacy check]
Loading

Reviews (1): Last reviewed commit: "Revert "docs: specify CI required-check ..." | Re-trigger Greptile

- name: Check standalone demo result
env:
CHANGES_RESULT: ${{ needs.changes.result }}
SHOULD_RUN: ${{ needs.changes.outputs.should_run }}

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.

P2 Standalone checks share aggregate result

When one standalone-demo matrix variant passes and the other fails, both legacy checks read the same aggregate needs.test-standalone-demos.result and report failure, so the passing Kit or non-Kit variant receives an inaccurate compatibility status.



def test_required_compatibility_jobs_publish_stable_contexts() -> None:
"""Each legacy required check has a static job name and matching dependency."""

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.

P2 Regression test is not automated

No existing CI pytest invocation discovers tests under .github/workflows, and no workflow explicitly invokes this file, so later compatibility-job regressions will not make CI fail despite the added coverage.

@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

Reviewed the three PR-only compatibility jobs and their regression coverage. The jobs publish the intended legacy status names, pass intentionally skipped docs-only runs, and otherwise propagate failures from change detection or the corresponding test job.

  • Design and architecture: The compatibility-shim design avoids changing branch protection or duplicating expensive test execution. Both standalone legacy contexts intentionally mirror the aggregate test-standalone-demos result, so they do not independently represent Kit and non-Kit outcomes.
  • API: The externally visible CI surface was checked: the three static status-check names, their needs dependencies, and PR-only gating. No public Python API or package compatibility surface is changed.
  • Implementation: The guard ordering correctly fails unsuccessful change detection, accepts intentional skips, and requires successful underlying tests when tests are selected. The regression tests verify the static names, dependencies, gating, and skip/result checks. A non-blocking residual risk is that a missing or empty should_run output is treated like an intentional skip.

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.

@AntoineRichard
AntoineRichard requested a review from hujc7 as a code owner August 11, 2026 07:37
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]>
Bring the pull request up to date with upstream/develop, retaining the static required check jobs that superseded the compatibility wrappers. Add a headless GPU job that exercises scripts/tutorials through the existing standalone-script harness across its declared runtimes.
@kellyguo11 kellyguo11 changed the title ci: satisfy legacy required test checks ci: test standalone tutorial scripts Aug 12, 2026
Restore the pull request branch to its state before the upstream merge and standalone tutorial CI job were added.
@kellyguo11 kellyguo11 changed the title ci: test standalone tutorial scripts ci: satisfy legacy required test checks Aug 12, 2026
@github-actions github-actions Bot added documentation Improvements or additions to documentation isaac-lab Related to Isaac Lab team labels Aug 12, 2026
@kellyguo11

Copy link
Copy Markdown
Contributor

closing for #7015

@kellyguo11 kellyguo11 closed this Aug 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation infrastructure isaac-lab Related to Isaac Lab team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants