Repository navigation
ci: satisfy legacy required test checks - #6960
AntoineRichard wants to merge 13 commits into
Conversation
Greptile SummaryThe PR adds three stable compatibility jobs for legacy branch-protection contexts and a focused test describing their workflow contract.
Confidence Score: 4/5The 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
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]
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 }} |
There was a problem hiding this comment.
|
|
||
|
|
||
| def test_required_compatibility_jobs_publish_stable_contexts() -> None: | ||
| """Each legacy required check has a static job name and matching dependency.""" |
There was a problem hiding this comment.
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-demosresult, 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
needsdependencies, 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_runoutput 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.
…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.
Restore the pull request branch to its state before the upstream merge and standalone tutorial CI job were added.
|
closing for #7015 |
Summary
Testing
uv run --no-project --with pytest python -m pytest .github/workflows/test_required_check_compat.py -q./isaaclab.sh -f(viaPYTHONPATHfor the user-installed pre-commit tool)This avoids changing branch protection settings and does not duplicate test execution.