Skip to content

[CI] Fix nightly changelog compilation - #8695

Merged
kellyguo11 merged 1 commit into
isaac-sim:developfrom
kellyguo11:codex/fix-nightly-changelog-release
Oct 17, 2026
Merged

kellyguo11 merged 1 commit into
isaac-sim:developfrom
kellyguo11:codex/fix-nightly-changelog-release

Conversation

@kellyguo11

@kellyguo11 kellyguo11 commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor

Description

Restore nightly changelog compilation on develop. The matching release/3.0.0 fix is in #8696 because automatic release backports are disabled.

The workflow was writing uv.lock with uv 0.12.9 after the lockfile had been generated by uv 0.13.1, so a package version bump reserialized more than local versions and the compiler rejected it. Its rollback then failed for release-managed packages without changelog.d, and could leave staged Towncrier fragment deletions behind.

This change:

  • pins the lockfile-writing nightly job to uv 0.13.1;
  • discovers rollback paths from HEAD, allowing absent fragment directories and restoring staged fragment deletions;
  • extends the existing compiler rollback coverage with both regressions.

Type of change

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

Release branch

Screenshots

Not applicable.

Validation

  • tools/changelog/test/test_cli.py: 18 passed
  • Full repository pre-commit suite: passed
  • Real tools/changelog/cli.py compile with uv 0.13.1 on develop: passed; eight pending package releases compiled
  • Applied the commit to release/3.0.0 without conflicts; focused tests passed and the real compiler produced the expected isaaclab 28.0.0, isaaclab_physx 8.0.0, isaaclab_rl 1.5.1, and isaaclab_tasks 25.2.0 releases

Checklist

  • I have read and understood the contribution guidelines
  • I have run the pre-commit checks
  • Documentation changes are not required
  • My changes generate no new warnings
  • I have validated the changed behavior with focused coverage and applied the test-audit criteria
  • A package changelog fragment is not required because this changes only CI and tooling
  • My name already exists in CONTRIBUTORS.md

@kellyguo11
kellyguo11 requested a review from a team October 17, 2026 00:14
@github-actions github-actions Bot added bug Something isn't working infrastructure labels Oct 17, 2026
@greptile-apps

greptile-apps Bot commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[High impact] The PR appears safe to merge; no actionable defects were found.

Summary

Fixes nightly changelog compilation and rollback.

  • The nightly changelog job uses the uv version that generated uv.lock.
  • Changelog rollbacks restore only package output paths tracked in HEAD.

No actionable issues were found. Tests were not run during this review.

Reviews (1) · Last reviewed commit: "Fix nightly changelog rollback" · Reviewed by Greptile

@kellyguo11

Copy link
Copy Markdown
Contributor Author

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 Oct 17, 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

Needs attention: Scope and over-engineering (1). Other reviewed categories look good.

  • PR description: The title and body match the uv pin, HEAD-based rollback filtering, staged-deletion restoration, and focused validation; no performance claim or material hot-path change needs benchmark evidence.
  • Design and architecture: Architecture looks good.
  • Scope and over-engineering: Minimal implementation: keep the uv pin in .github/workflows/nightly-changelog.yml, rollback handling in tools/changelog/cli.py, and regression coverage in tools/changelog/test/test_cli.py; no source modules were added. Collapse the three per-output ls-tree subprocesses into one call, then retain checkout and cleanup as the essential flow. Scope is cohesive; no split recommended.
  • API: API changes look good.
  • Compatibility and deprecation: No breaking changes identified.
  • Implementation: Implementation looks good.
  • Style consistency: Style consistency looks good.
  • Test quality: Test quality looks good.

Minor fixes needed. Posted 1 inline finding.

Automated review; human maintainers own approval decisions.

Comment thread tools/changelog/cli.py
def restore(pkg: Path) -> None:
"""Roll ``pkg``'s compile outputs back to ``HEAD``."""
run("git", "checkout", "HEAD", "--", *outputs(pkg))
tracked = [path for path in outputs(pkg) if run("git", "ls-tree", "-r", "--name-only", "HEAD", "--", path).strip()]

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.

🟡 Warning · Scope Complexity — Collapse per-path ls-tree calls

git ls-tree -r --name-only HEAD -- accepts every output pathspec and silently ignores unmatched ones, so one call returns the same tracked file list. The comprehension starts three subprocesses per package for no behavior change.

@kellyguo11
kellyguo11 merged commit cf24781 into isaac-sim:develop Oct 17, 2026
60 checks passed
kellyguo11 added a commit that referenced this pull request Oct 17, 2026
# Description

Apply the nightly changelog compilation fix directly to `release/3.0.0`
because automatic release backports are disabled. This is the
release-branch companion to #8695.

The workflow was writing `uv.lock` with uv 0.12.9 after the lockfile had
been generated by uv 0.13.1, so a package version bump reserialized more
than local versions and the compiler rejected it. Its rollback then
failed for release-managed packages without `changelog.d`, and could
leave staged Towncrier fragment deletions behind.

This change:

- pins the lockfile-writing nightly job to uv 0.13.1;
- discovers rollback paths from `HEAD`, allowing absent fragment
directories and restoring staged fragment deletions;
- extends the existing compiler rollback coverage with both regressions.

## Type of change

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

## Release backport

This PR targets `release/3.0.0` directly.

## Screenshots

Not applicable.

## Validation

- `uv lock --check` with uv 0.13.1: passed
- `tools/changelog/test/test_cli.py`: 18 passed
- Full repository pre-commit suite against `release/3.0.0`: passed
- Real `tools/changelog/cli.py compile` on this base and patch: passed,
producing the expected `isaaclab 28.0.0`, `isaaclab_physx 8.0.0`,
`isaaclab_rl 1.5.1`, and `isaaclab_tasks 25.2.0` releases

## Checklist

- [x] I have read and understood the contribution guidelines
- [x] I have run the pre-commit checks
- [x] Documentation changes are not required
- [x] My changes generate no new warnings
- [x] I have validated the changed behavior with focused coverage and
applied the test-audit criteria
- [x] A package changelog fragment is not required because this changes
only CI and tooling
- [x] My name already exists in `CONTRIBUTORS.md`
kellyguo11 pushed a commit that referenced this pull request Dec 3, 2026
… in pre-commit (#9343)

## Summary

The nightly changelog compile has failed every night since 2026-11-20.
It runs uv 0.13.1, while `uv.lock` and every other uv pin in the
repository use uv 0.12.9. This PR pins the nightly to 0.12.9 and adds a
pre-commit check that keeps every uv pin and the lockfile format on one
version.

# Description

Fixes NVBug 7139341

1. **Cause.** After bumping package versions, `tools/changelog/cli.py
compile` runs `uv lock` and rejects any lockfile change other than
version lines. uv 0.13.1 rewrites a lock written by uv 0.12.9: `revision
= 3` becomes `5` and the open3d dependency list changes, so the compile
fails. #8695 pinned the nightly to 0.13.1 while the lock was at revision
5. Since then, contributors on different uv versions have flipped the
lock between revisions 3 and 5 six times, most recently back to 3 in
#9193.
2. **Fix.** Pin the nightly to 0.12.9, the version of the Docker images,
the other workflows and the current `uv.lock`. Add a `check-uv-version`
pre-commit hook (`tools/pre_commit/check_uv_version.py`): every uv image
and `setup-uv` version must name one version, and `uv.lock` must carry
the revision that version writes. `uv lock --check` accepts a lock
written by either version, so it cannot catch this drift.
3. **Test.** With uv 0.12.9, `python3 tools/changelog/cli.py compile`
passes on `main` (6b20eac) and `release/3.1.0` (31b11f2): 16
packages bump and `uv.lock` changes only version lines. The hook passes
on this branch and fails on `main` (two uv versions), on a revision-5
lock, and with one Dockerfile at 0.13.1.

The scheduled nightly also compiles `release/3.0.0`, whose lock is still
at revision 5: #9344 re-locks it with uv 0.12.9 and should merge before
the next changelog fragment reaches that branch.

Suggested reviewer: kellyguo11 (#8695).

## Type of change

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

## Release backport

- [x] <!-- backport-active-release --> Backport this pull request to the
active release branch after it merges into `main`

## Screenshots

Not applicable.

## 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
`uv run isaaclab --format`
- [x] No documentation change is needed: only CI and pre-commit change
- [x] My changes generate no new warnings
- [x] I have validated the changed behavior with focused coverage and
applied the [test-audit
criteria](https://github.com/isaac-sim/IsaacLab/blob/HEAD/skills/developer/test-audit/SKILL.md)
to any test changes: no test changes; the hook was run against passing
and failing pin sets
- [x] No changelog fragment: no source package changes
- [x] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there
isaaclab-bot Bot pushed a commit that referenced this pull request Dec 3, 2026
… in pre-commit (#9343)

## Summary

The nightly changelog compile has failed every night since 2026-11-20.
It runs uv 0.13.1, while `uv.lock` and every other uv pin in the
repository use uv 0.12.9. This PR pins the nightly to 0.12.9 and adds a
pre-commit check that keeps every uv pin and the lockfile format on one
version.

# Description

Fixes NVBug 7139341

1. **Cause.** After bumping package versions, `tools/changelog/cli.py
compile` runs `uv lock` and rejects any lockfile change other than
version lines. uv 0.13.1 rewrites a lock written by uv 0.12.9: `revision
= 3` becomes `5` and the open3d dependency list changes, so the compile
fails. #8695 pinned the nightly to 0.13.1 while the lock was at revision
5. Since then, contributors on different uv versions have flipped the
lock between revisions 3 and 5 six times, most recently back to 3 in
#9193.
2. **Fix.** Pin the nightly to 0.12.9, the version of the Docker images,
the other workflows and the current `uv.lock`. Add a `check-uv-version`
pre-commit hook (`tools/pre_commit/check_uv_version.py`): every uv image
and `setup-uv` version must name one version, and `uv.lock` must carry
the revision that version writes. `uv lock --check` accepts a lock
written by either version, so it cannot catch this drift.
3. **Test.** With uv 0.12.9, `python3 tools/changelog/cli.py compile`
passes on `main` (6b20eac) and `release/3.1.0` (31b11f2): 16
packages bump and `uv.lock` changes only version lines. The hook passes
on this branch and fails on `main` (two uv versions), on a revision-5
lock, and with one Dockerfile at 0.13.1.

The scheduled nightly also compiles `release/3.0.0`, whose lock is still
at revision 5: #9344 re-locks it with uv 0.12.9 and should merge before
the next changelog fragment reaches that branch.

Suggested reviewer: kellyguo11 (#8695).

## Type of change

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

## Release backport

- [x] <!-- backport-active-release --> Backport this pull request to the
active release branch after it merges into `main`

## Screenshots

Not applicable.

## 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
`uv run isaaclab --format`
- [x] No documentation change is needed: only CI and pre-commit change
- [x] My changes generate no new warnings
- [x] I have validated the changed behavior with focused coverage and
applied the [test-audit
criteria](https://github.com/isaac-sim/IsaacLab/blob/HEAD/skills/developer/test-audit/SKILL.md)
to any test changes: no test changes; the hook was run against passing
and failing pin sets
- [x] No changelog fragment: no source package changes
- [x] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there

(cherry picked from commit 87d5f53)
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.

1 participant