Skip to content

[Backport release/3.0.0] Fix nightly changelog compilation - #8696

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

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

Conversation

@kellyguo11

Copy link
Copy Markdown
Contributor

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

  • 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:19
@github-actions github-actions Bot added bug Something isn't working infrastructure labels Oct 17, 2026
@kellyguo11 kellyguo11 mentioned this pull request Oct 17, 2026
7 tasks done
@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
@greptile-apps

greptile-apps Bot commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge; no actionable issues were found.

Summary

Fixes nightly changelog compilation and rollback on the release branch.

  • Nightly changelog compilation uses uv 0.13.1.
  • Failed changelog compiles restore the outputs tracked in HEAD.

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

Reviews (1) · Last reviewed commit: "Fix nightly changelog rollback" · Reviewed by 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

Needs attention: Style consistency (2). Other reviewed categories look good.

  • PR description: The description accurately maps the uv pin, HEAD-based rollback discovery, and rollback coverage to the diff; validation is specific, and no performance evidence is needed.
  • Design and architecture: Architecture looks good.
  • Scope and over-engineering: No over-engineering issues.
  • API: API changes look good.
  • Compatibility and deprecation: No breaking changes identified.
  • Implementation: Implementation looks good.
  • Style consistency: The added HEAD filter lacks the brief constraint rationale needed to explain why direct checkout is unsafe; add one concise comment and correct the misleading test ID.
  • Test quality: Test quality looks good.

Minor fixes needed. Posted 2 inline findings.

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 · Style Consistency — Explain the HEAD-existence filter

Why outputs are filtered is non-obvious: git checkout HEAD -- aborts for paths absent from HEAD, such as release packages without changelog.d. Add a one-line comment stating that constraint, as sync_lock does for UV_FROZEN.

(lock(), lock(header="version = 1\nrevision = 3\n"), False),
(lock() + ROOT.format("0.1.0"), lock(pkg="1.0.1") + ROOT.format("0.2.0"), False), # only versions move
(lock(), lock(pkg="1.0.1"), True),
(lock(), lock(header="version = 1\nrevision = 3\n"), False, True),

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 · Style Consistency — Parametrize ID hides new condition

This row now also covers rollback for a package without changelog.d, but keeps the ID "re-serialized", so a failure reports only the lock condition. Rename the ID to name both conditions.

kellyguo11 added a commit that referenced this pull request Oct 17, 2026
# 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

- Separate `release/3.0.0` PR: #8696

## 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

- [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
kellyguo11 merged commit e7855c2 into isaac-sim:release/3.0.0 Oct 17, 2026
60 of 61 checks passed
kellyguo11 pushed a commit that referenced this pull request Dec 3, 2026
…9344)

## Summary

`release/3.0.0` pins uv 0.12.9 in its Docker images and workflows, but
its `uv.lock` was last written by uv 0.13.1. The nightly changelog
compile re-locks after a version bump and rejects any other lockfile
change, so the next version bump on this branch fails once #9343 pins
the nightly to 0.12.9. This PR re-locks the branch with uv 0.12.9; no
package version changes.

# Description

Part of NVBug 7139341, together with #9343 (`main`).

1. **Cause.** The backport of #8584 (#8592) wrote `uv.lock` with uv
0.13.1, so the lock is at `revision = 5`, while the branch's other uv
pins are 0.12.9, which writes revision 3. The scheduled nightly compiles
`main`, `release/3.1.0` and `release/3.0.0` with one uv from `main`'s
workflow. That uv is now 0.12.9 (#9343), and with it the compile on this
branch rewrites the lock format and refuses the result.
2. **Fix.** Re-lock with uv 0.12.9 (`uv lock --upgrade-package
isaaclab`). Only the lock revision changes, and open3d's dependency list
drops `ipywidgets`, as uv 0.12.9 writes it on `main` and
`release/3.1.0`: a default `uv sync` then installs 191 instead of 207
packages, without `ipywidgets` and its dependencies, which only the
`mimic` extra requires. Open3D's Jupyter web visualizer needs it; Isaac
Lab code does not import it outside `isaaclab_mimic`. Also pin this
branch's own nightly workflow to 0.12.9.
3. **Test.** On this branch plus one changelog fragment, with uv 0.12.9:
`python3 tools/changelog/cli.py compile` fails before this change (`uv
lock changed more than package versions`) and passes after it, with only
version lines moving in `uv.lock`. `uv lock --check` passes.

Merge order: before the next backport that brings a changelog fragment
to `release/3.0.0`; the branch has none pending today.

Suggested reviewer: kellyguo11 (#8592, #8696).

## Type of change

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

## Release backport

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

Not applicable: this PR targets `release/3.0.0`.

## 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 the lockfile and a CI pin
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 nightly compile was run before
and after
- [x] No changelog fragment: no source package changes
- [x] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there
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