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..016dd77 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`**. 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..7454f60 100644 --- a/README.md +++ b/README.md @@ -25,8 +25,13 @@ 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`. 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 +73,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