Skip to content

ci: require Station hardware evidence for host-preparation changes #7191

Closed

Description

@senthilr-nv

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:

  1. 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.
  2. A deferral comment from a collaborator with maintain or admin permission. 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.sh pass 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

  1. self-assigned this
    on Jul 19, 2026
  2. added
    area: ci
    platform: dgx-station
    chore
    needs: triage
    on Jul 19, 2026
  3. added theissue type on Jul 20, 2026
  4. removed
    needs: triage
    on Jul 20, 2026
  5. wscurran commented on Jul 20, 2026

    @wscurran
    Contributor
  6. senthilr-nv commented on Jul 20, 2026

    @senthilr-nv
    CollaboratorAuthor

    @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.

  7. cv commented on Jul 20, 2026

    @cv
    Collaborator

    Product-scope decision: accept the hard requirement, revise the mechanism.

    A PR that changes scripts/prepare-dgx-station-host.sh must 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.

  8. added a commit that references this issue on Jul 20, 2026
    888c3d9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area: cichoreplatform: dgx-station

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions