Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/scripts/report_nightly_failures.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)."
),
]
Expand Down
9 changes: 7 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down Expand Up @@ -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
Expand Down