From 42e9cec9a70a85891ec54d62c8ebfd5c40b0267e Mon Sep 17 00:00:00 2001 From: Alex Omar Date: Wed, 2 Dec 2026 17:30:57 -0800 Subject: [PATCH 1/2] Clarify nightly Newton main compatibility and contribution policy --- .github/scripts/report_nightly_failures.py | 3 ++- CONTRIBUTING.md | 9 +++++++-- README.md | 12 +++++++++--- 3 files changed, 18 insertions(+), 6 deletions(-) diff --git a/.github/scripts/report_nightly_failures.py b/.github/scripts/report_nightly_failures.py index b8bbf46..4b86e86 100644 --- a/.github/scripts/report_nightly_failures.py +++ b/.github/scripts/report_nightly_failures.py @@ -162,7 +162,8 @@ def report_body(key, tests, repo_url, run_url, revision, users, teams) -> str: lines += [ "", ( - "Newton main is ahead of the latest release, so this may be an upcoming API or behavior change. " + "Examples must build and run against Newton `main`, which is checked nightly. " + "This sample is flagged as broken because it failed its tests against `main`. " f"See the remediation process in [CONTRIBUTING.md]({repo_url}/blob/main/CONTRIBUTING.md#remediation-process)." ), ] diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 38d2e8e..cf1f09e 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,13 +1,18 @@ # Contributing to Newton Samples -Contributions are currently limited to Nvidians only. +This project accepts contributions from NVIDIANs only. ## Contributor Expectations 1. Examples must come with tests to verify their correctness automatically. -2. Examples must run against the **latest minor version** of Newton. +2. Examples must build and run against **Newton `main`**. The latest minor release is not the compatibility target. 3. Examples must be continually updated to resolve any detected vulnerabilities. +The [nightly workflow](.github/workflows/newton-main.yml) checks examples against +the latest Newton `main` every night. An example is flagged as broken if it fails +to build or pass its tests against `main`, and an issue is assigned to its +maintainers as described below. + ## Sample Layout diff --git a/README.md b/README.md index 585bd4c..7400df5 100644 --- a/README.md +++ b/README.md @@ -25,8 +25,14 @@ For the engine's API and user guides, see the - A working graphics display for the interactive OpenGL viewer. - Internet access and Git on `PATH` to download robot assets on first use. -The project depends on `newton[examples]>=1.7.0`. The included lockfile pins the -tested versions of Newton, Warp, MuJoCo, MuJoCo Warp, and the viewer dependencies. +The project declares `newton[examples]>=1.7.0` as its dependency. The included +lockfile pins versions of Newton, Warp, MuJoCo, MuJoCo Warp, and the viewer +dependencies for reproducible setup. Examples must build and run against +**Newton `main`**. We check this nightly and flag an example as broken if it +fails to build or pass its tests against `main`. The latest minor release is +not the compatibility target. See the +[nightly workflow](.github/workflows/newton-main.yml) and +[remediation process](CONTRIBUTING.md#remediation-process). See Newton's [installation guide](https://newton-physics.github.io/newton/stable/guide/installation.html) for detailed platform, GPU, and driver requirements. @@ -68,7 +74,7 @@ Choose a sample below for launch instructions, configuration, and validation. ## Contributing -This project is currently not accepting contributions. See +This project accepts contributions from NVIDIANs only. See [CONTRIBUTING.md](CONTRIBUTING.md). ## License From e2a685a42ec6a51c3f03db8e06796d2f286fc9de Mon Sep 17 00:00:00 2001 From: Alex Omar Date: Wed, 2 Dec 2026 17:33:20 -0800 Subject: [PATCH 2/2] Remove minor-release comparison from compatibility docs --- CONTRIBUTING.md | 2 +- README.md | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index cf1f09e..016dd77 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -5,7 +5,7 @@ This project accepts contributions from NVIDIANs only. ## Contributor Expectations 1. Examples must come with tests to verify their correctness automatically. -2. Examples must build and run against **Newton `main`**. The latest minor release is not the compatibility target. +2. Examples must build and run against **Newton `main`**. 3. Examples must be continually updated to resolve any detected vulnerabilities. The [nightly workflow](.github/workflows/newton-main.yml) checks examples against diff --git a/README.md b/README.md index 7400df5..7454f60 100644 --- a/README.md +++ b/README.md @@ -29,8 +29,7 @@ The project declares `newton[examples]>=1.7.0` as its dependency. The included lockfile pins versions of Newton, Warp, MuJoCo, MuJoCo Warp, and the viewer dependencies for reproducible setup. Examples must build and run against **Newton `main`**. We check this nightly and flag an example as broken if it -fails to build or pass its tests against `main`. The latest minor release is -not the compatibility target. See the +fails to build or pass its tests against `main`. See the [nightly workflow](.github/workflows/newton-main.yml) and [remediation process](CONTRIBUTING.md#remediation-process). See Newton's [installation guide](https://newton-physics.github.io/newton/stable/guide/installation.html)