Skip to content

Bump warp-lang to 1.13.0 dev nightly#2528

Merged
adenzler-nvidia merged 6 commits into
newton-physics:mainfrom
adenzler-nvidia:adenzler/warp-lang-nightly-bump
Apr 23, 2026
Merged

Bump warp-lang to 1.13.0 dev nightly#2528
adenzler-nvidia merged 6 commits into
newton-physics:mainfrom
adenzler-nvidia:adenzler/warp-lang-nightly-bump

Conversation

@adenzler-nvidia

@adenzler-nvidia adenzler-nvidia commented Apr 22, 2026

Copy link
Copy Markdown
Member

Description

Reinstate the warp-lang nightly bump that was reverted in #2448, pointing at the latest nightly build 1.13.0.dev20260422.

Checklist

  • New or existing tests cover these changes
  • The documentation is up to date with these changes
  • CHANGELOG.md has been updated (if user-facing change)

Test plan

Rely on CI to validate the updated nightly against the existing test suite.

Summary by CodeRabbit

  • Chores

    • Updated performance testing environment to use a runtime installer that can fetch pre-release binaries.
    • Pinned the core runtime dependency to a specific development build in project configuration.
  • Documentation

    • Improved API doc generation so constants wrapped by scalar-like types are detected and rendered more reliably.

Reinstate the nightly bump reverted in newton-physics#2448, pointing at the latest
nightly build 1.13.0.dev20260422.
@coderabbitai

coderabbitai Bot commented Apr 22, 2026

Copy link
Copy Markdown
Contributor

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yml

Review profile: CHILL

Plan: Pro

Run ID: fdf1f65c-5f70-40fe-a6ec-62943ef667c6

📥 Commits

Reviewing files that changed from the base of the PR and between 1e6c56c and 3896f24.

⛔ Files ignored due to path filters (1)
  • uv.lock is excluded by !**/*.lock
📒 Files selected for processing (2)
  • asv.conf.json
  • pyproject.toml
✅ Files skipped from review due to trivial changes (2)
  • pyproject.toml
  • asv.conf.json

📝 Walkthrough

Walkthrough

ASV and project dependency pins change to a Warp pre-release (warp-lang==1.13.0.dev20260423 with --pre in ASV), and the docs API generator now detects Warp scalar wrappers via wp.types.is_scalar(value) before unwrapping .value.

Changes

Cohort / File(s) Summary
Benchmark / dependency pins
asv.conf.json, pyproject.toml
ASV install_command updated to use warp-lang==1.13.0.dev20260423 with --pre; pyproject.toml dependency pin changed from >=1.12.0 to ==1.13.0.dev20260423.
Docs API generator
docs/generate_api.py
Constant scalar detection replaced type(value) in wp.types.scalar_types with wp.types.is_scalar(value) prior to accessing .value.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

Suggested reviewers

  • shi-eric
  • gdaviet
  • Kenny-Vilella
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main change: bumping warp-lang dependency to version 1.13.0 dev nightly, which is reflected across all three modified files (asv.conf.json, pyproject.toml, and docs/generate_api.py reference).
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@codecov

codecov Bot commented Apr 22, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

warp-lang 1.13.0 dev removed wp.types.scalar_types. Use the new
wp.types.is_scalar() helper, which has equivalent behaviour.
Nightly dev20260422 introduces a deterministic SIGSEGV / double-free
in the CPU path under graph capture, reproducing across Linux, macOS,
Windows, and the CI GPU runner's CPU leg. The crash occurs during
garbage collection while mujoco_warp is inside a warp.capture_while
region, with stack frames landing in warp._src.context / _src.types.
Only dev20260422 is affected; dev20260421 runs the full suite cleanly.

Suspected upstream regression: omniverse/warp d11116fc "Add graph
capture for APIC serialization and CPU replay [newton-physicsGH-1349]", which is
the only newly-included commit in dev20260422 that touches capture
machinery on the CPU path. Pin exactly to dev20260421 until a fixed
nightly lands; also tighten from >=1.12.0 to the exact nightly to
prevent accidental upgrades to the broken build.

@coderabbitai coderabbitai 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.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@pyproject.toml`:
- Around line 30-32: Replace the exact equality pin for warp-lang in
project.dependencies with a minimum-compatible or ranged constraint (e.g. change
"warp-lang==1.13.0.dev20260421" to a minimum like
"warp-lang>=1.13.0.dev20260421" or a ranged form excluding a broken build such
as "warp-lang>=1.13.0.dev20260421,!=1.13.0.dev20260422") to avoid forcing
downstream installs to a single nightly, and add a user-facing CHANGELOG.md
entry under the [Unreleased] → Changed section in imperative present tense (for
example: “Bump `warp-lang` requirement to `1.13.0.dev20260421`” plus any
migration notes) so the runtime bump is documented.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yml

Review profile: CHILL

Plan: Pro

Run ID: 1754669e-d06c-428d-81ff-16bcc57ee376

📥 Commits

Reviewing files that changed from the base of the PR and between f694697 and 1e6c56c.

⛔ Files ignored due to path filters (1)
  • uv.lock is excluded by !**/*.lock
📒 Files selected for processing (2)
  • asv.conf.json
  • pyproject.toml
🚧 Files skipped from review as they are similar to previous changes (1)
  • asv.conf.json

Comment thread pyproject.toml
Dev20260422 regressed the CPU path under graph capture (see prior
commit). Advance the pin to the latest nightly to pick up fixes
and stay current with upstream warp.
@adenzler-nvidia adenzler-nvidia requested a review from nvtw April 23, 2026 09:08
@adenzler-nvidia adenzler-nvidia added this pull request to the merge queue Apr 23, 2026
Merged via the queue into newton-physics:main with commit 0b9b14a Apr 23, 2026
25 checks passed
@coderabbitai coderabbitai Bot mentioned this pull request Apr 24, 2026
3 tasks
@coderabbitai coderabbitai Bot mentioned this pull request May 5, 2026
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants