Repository navigation
docs(github): point the PR template's testing checklist at just check - #848
Merged
nihalpasham merged 1 commit intoAug 13, 2026
Merged
Conversation
The template asked contributors to tick `cargo test --workspace`, which is not
the gate this repo runs and quietly covers less than it looks:
* it cannot reach crates/rustc-codegen-cuda. That crate carries its own
[workspace] for the rustc-private dylibs, so it is not a root member --
`cargo metadata` lists 25 packages and the backend is not among them --
and neither `--workspace` nor `-p` from the root crosses that boundary.
CI covers it in a separate job, and the Justfile's `test` recipe says so.
* oxide-artifacts has `default = []`, so the default feature set skips its
eight ELF emit/extract tests: 14 tests pass without `--features object`
and 22 with it. Measured on the current tree.
* on a machine with a toolkit but no driver, the CUDA-linked packages fail to
*load* -- `libcuda.so.1` -- which reads as a broken checkout rather than a
test failure. `just test-cuda` shadows the toolkit's stub under that name,
as unit-tests.yml does.
`just check` handles all three, and CONTRIBUTING.md has pointed at it since
NVIDIA#837, so the template was the odd one out. The `cargo oxide run` line keeps its
place with the scoped smoketest as an alternative, since that is what proves an
example rather than a `cargo check` that never links.
Also updates the stale Discord invite here to the one 1b4f7e7 chose for
README.md. The other five stale references are a separate PR, so the two do not
share a file.
Signed-off-by: Vyncint Ng <[email protected]>
Collaborator
|
Gist: the template asked contributors to run less than CI does; Verified here:
Landing once CI is green. |
nihalpasham
approved these changes
Aug 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The defect
The PR template asks contributors to tick:
That is not the gate this repo runs, and it quietly covers less than it looks:
crates/rustc-codegen-cuda. That crate carries its own[workspace]for the rustc-private dylibs, so it is not a root member —cargo metadatalists 25 packages and the backend is not among them — and neither--workspacenor-pfrom the root crosses that boundary. CI covers it in a separate job, and the Justfile'stestrecipe says so in a comment.oxide-artifactshasdefault = []; measured on the current tree,cargo test -p oxide-artifacts --all-targetsruns 14 tests, and--features objectruns 22 — the ELF emit/extract set.libcuda.so.1, which reads as a broken checkout rather than a test failure.just test-cudashadows the toolkit's stub under that name, asunit-tests.ymldoes.just checkhandles all three, and CONTRIBUTING.md has pointed at it since #837 — so the template was the odd one out.The change
The checklist now names
just check, and keepscargo oxide run <example>with the scoped smoketest as an alternative, since that is what actually proves an example (acargo checknever links, and a plaincargo buildin an example dir dies on the artifact anchor).Also updates the stale Discord invite on the template's last line to the one
1b4f7e7dchose for README.md. The other five stale references are a separate PR, deliberately scoped so the two do not share a file.No GPU needed.