Repository navigation
Description
Problem
Changes to scripts/prepare-dgx-station-host.sh can affect clean-host package installation, Docker/CDI handling, reboot or relogin boundaries, and Station Express onboarding. PR #7090 showed that focused tests can remain green while a production-only host-preparation call breaks the physical Station path.
Agent authors and reviewers need one visible, machine-enforced signal that says whether the changed host-preparation script was exercised on real DGX Station hardware.
Proposed Contract
Add a path-sensitive PR check for scripts/prepare-dgx-station-host.sh.
When that file is unchanged, the check reports not applicable and passes. When it changes, the PR must provide exactly one of:
- Real DGX Station evidence containing the Station profile, tested commit, SHA-256 of the tested preparation script, PASS result, and an evidence link. The recorded script hash must match the script at the current PR head.
- A deferral comment from a collaborator with
maintainoradminpermission. The comment must bind the current script hash, state the reason and remaining risk, and link a follow-up issue. Deferral permits merge but is not hardware qualification.
The check validates evidence completeness and freshness; it does not claim to authenticate the physical hardware run. Human or agent review remains responsible for evaluating the linked evidence.
Update the PR template and AGENTS.md so contributor and reviewer agents see the same requirement.
Acceptance Criteria
- PRs that do not change
scripts/prepare-dgx-station-host.shpass without Station metadata. - PRs that change the script fail when evidence is absent, malformed, contradictory, or bound to a stale script hash.
- Complete hardware evidence passes when its script hash matches the current PR head.
- A deferral passes only when a maintain/admin collaborator posts the documented marker for the current script hash with reason, risk, and follow-up issue.
- Hardware PASS and deferral cannot both satisfy the same PR state.
- Fork PR content is never executed in the privileged workflow context.
- Focused tests cover changed-path, unchanged-path, stale evidence, malformed evidence, unauthorized deferral, and valid deferral behavior.
- A maintainer separately adds the resulting status check to the repository ruleset if the contract is accepted.
Non-Goals
- Automatically provisioning or mutating DGX Station hardware from GitHub Actions.
- Treating a checked box as proof of hardware qualification.
- Requiring a full model download for every host-preparation edit; the linked evidence scope remains a reviewer decision.
Activity
wscurran commentedon Jul 20, 2026
✨
Related open PRs:
senthilr-nv commentedon Jul 20, 2026
@cv, could you please take ownership of the product-scope decision for #7191 and #7193? I am both the issue and PR author, so please independently accept, revise, or reject the proposed ownership and lifecycle, advisory-versus-required rollout, metadata-only trust semantics, deferral validity, and merge-result revalidation contract before implementation continues.
cv commentedon Jul 20, 2026
Product-scope decision: accept the hard requirement, revise the mechanism.
A PR that changes
scripts/prepare-dgx-station-host.shmust include reviewable evidence that the change was tested on DGX Station. The evidence should identify the tested commit, Station profile/scenario, result, and a link to logs or equivalent supporting material. Without that evidence, the PR is not ready to approve or merge.This is a shared maintainer review responsibility; we will not create a designated Station owner. The evidence is human-reviewed and must not be represented as authenticated hardware provenance.
The hard gate should be required maintainer approval through the repository's existing review controls. We do not need a Station-specific comment grammar, script-hash protocol, permission lookup, deferral state machine, follow-up-issue validation, comment-triggered workflow, or custom status check for this requirement. If an exceptional merge without evidence is ever necessary, use the repository's existing administrative bypass governance and document the reason on the PR.
Please revise the proposed contract and #7193 around this smaller scope.
ci(station): require hardware evidence for host preparation (NVIDIA#7193