Skip to content

[CI] Report cumulative retry wall time - #7241

Merged
StafaH merged 1 commit into
isaac-sim:developfrom
StafaH:ci/report-retry-wall-time
Aug 21, 2026
Merged

StafaH merged 1 commit into
isaac-sim:developfrom
StafaH:ci/report-retry-wall-time

Conversation

@StafaH

@StafaH StafaH commented Aug 21, 2026

Copy link
Copy Markdown
Collaborator

Description

Include every subprocess attempt in the per-file wall-clock metric. Startup-hang, timeout, and fresh-process retries previously replaced the prior attempt duration, which hid substantial CI time from the final summary.

This changes only test-runner reporting; test selection, execution, and coverage are unchanged.

Type of change

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

Validation

  • uv run python -m pytest source/isaaclab/test/cli/test_test_orchestrator_result_handling.py
  • uv run isaaclab -f

Checklist

  • I have read and understood the contribution guidelines
  • I have run the pre-commit checks
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective
  • I have added a changelog fragment for the touched package
  • My name is already present in CONTRIBUTORS.md

@StafaH
StafaH requested a review from a team August 21, 2026 07:45
@github-actions github-actions Bot added isaac-lab Related to Isaac Lab team infrastructure labels Aug 21, 2026
@greptile-apps

greptile-apps Bot commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

The PR corrects test-orchestrator reporting so per-file wall time includes all startup, timeout, and fresh-process retry attempts.

  • Accumulates durations across startup-hang and timeout attempts.
  • Adds fresh-process retry durations to the existing cumulative time.
  • Adds focused regression assertions for startup and fresh-process retry accounting.

Confidence Score: 5/5

The PR appears safe to merge, with retry durations consistently accumulated once per subprocess attempt.

The updated control flow preserves test execution and result handling while correcting reporting so initial attempts and subsequent retries each contribute exactly once to cumulative wall time.

Important Files Changed

Filename Overview
tools/conftest.py Accumulates each subprocess attempt exactly once before propagating the cumulative wall time into pass results and summary reporting.
source/isaaclab/test/cli/test_test_orchestrator_result_handling.py Adds regression coverage confirming cumulative wall-time reporting for startup-hang and fresh-process retry paths.

Reviews (1): Last reviewed commit: "Report cumulative retry wall time" | 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

The patch correctly changes per-file wall-time reporting to include all subprocess attempts across startup-hang, timeout, and fresh-process retries. Focused regression assertions cover both retry paths, and the package includes a .skip changelog fragment.

  • Design and architecture: Retry-time accumulation remains in the orchestration layer that owns retry control flow. The design preserves the distinction between pytest-reported time_elapsed and subprocess-reported wall_time without changing test selection, execution, or coverage behavior.
  • API: No exported API, CLI option, or tuple shape changes. The intentional compatibility surface is the numeric meaning of the internal per-file wall_time status field, which now reports cumulative retry duration rather than only the final attempt.
  • Implementation: The startup-hang and timeout loop adds each attempt to total_wall_time before any retry continuation, then passes the cumulative value through existing result paths. Fresh-process retries similarly add retry_wall_time before report parsing or early exit. The traced paths show no double counting; the main maintainability tradeoff is that wall_time denotes an individual attempt inside the loop and the cumulative duration after the loop.

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 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

AI comment:

  - Moderate — Preserve the final-attempt duration in shutdown-hang diagnostics. At .worktrees/pr-7241-review/tools/conftest.py:855, wall_time is replaced with the
    cumulative duration. The existing warning at line 932 then reports that cumulative value as when the final subprocess was “killed after.” For example, an 8-second
    startup-hang retry followed by a 2-second shutdown hang is logged as “killed after 10s,” although that subprocess was killed after 2 seconds. The new startup-retry
    test ends normally, while the existing shutdown-hang test has no retry, so neither covers this combination. Keep separate attempt_wall_time and total_wall_time
    values: use the former for attempt-specific diagnostics and the latter in status/summary reporting.

@StafaH
StafaH merged commit 89aa4d2 into isaac-sim:develop Aug 21, 2026
49 of 50 checks passed
ooctipus pushed a commit that referenced this pull request Aug 22, 2026
## Summary

Cherry-picks the following merged PRs from `develop` onto
`release/3.0.0`, preserving each as an individual commit with `-x`
provenance:

- #7244 — Remove the unnecessary AppLauncher from task preset tests
- #7241 — Report cumulative retry wall time in the test orchestrator
- #7114 — Group compatible rendering correctness AOVs

The commits are applied in their chronological `develop` order. All
three cherry-picks completed without conflicts. The release branch
already contains the OVRTX multi-AOV prerequisite from #7286.

## Type of change

- Bug fix (non-breaking CI and test-runtime improvements)

## Validation

- Verified all three backported commits have patch IDs identical to
their source squash commits and retain their `cherry picked from`
footers.
- `git diff --check upstream/release/3.0.0..HEAD`
- Release-base changelog validation passed.
- Test orchestrator result handling: **11 passed**
- Shadow Hand camera presets: **42 passed**
- Rendering parametrization helpers: **16 passed**
- Kitless rendering suites: **166 tests collected successfully**
- `uv run isaaclab -f` passed all formatting, lint, whitespace, RST,
changelog, Git LFS, and repository-hygiene hooks.

GPU rendering execution was not repeated locally; CI remains
authoritative for the renderer integration paths already validated in
#7114.

## Checklist

- [x] I have read and understood the contribution guidelines
- [x] I have run the pre-commit checks
- [x] No documentation changes are required
- [x] My changes generate no new warnings
- [x] Existing and backported tests cover the changed behavior
- [x] Each touched source package has a changelog fragment
- [x] My name already exists in `CONTRIBUTORS.md`

---------

Co-authored-by: Piotr Barejko <[email protected]>
@StafaH
StafaH deleted the ci/report-retry-wall-time branch September 13, 2026 12:08
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