physical-ai-toolchain

[!NOTE] This guide expands on the Pull Request Process section of the main contributing guide.

This reference architecture uses a deployment-based validation model rather than automated testing. The PR workflow adapts to different contribution types and validation levels.

PR Workflow Steps

  1. Fork and Branch: Create a feature branch from your fork’s main branch
  2. Make Changes: Implement improvements following style guides
  3. Validate Locally: Run appropriate validation level (static/plan/deployment)
  4. Create Draft PR: Open draft PR with validation documentation
  5. Request Review: Mark PR ready when validation complete

Review Process

Reviewer Assignment

Maintainers assign reviewers based on contribution type:

Contribution Type Primary Reviewer
Terraform modules Cloud Infrastructure Engineer
Kubernetes manifests DevOps/SRE Engineer
Training scripts ML Engineer
OSMO workflows Robotics Developer
Documentation Any maintainer
Security changes Security Contributor

Review Cycles

Approval Criteria

Update Process

This reference architecture uses a rolling update model rather than semantic versioning. Users fork and adapt the blueprint for their own use.

Update Types

Documentation Updates

Enhancement Updates

Breaking Changes

Breaking Change Communication

Component Updates

Dependency Management

Update dependencies regularly for security patches and feature improvements:

# Update Terraform provider versions
terraform init -upgrade

# Update Helm chart versions
helm repo update
helm search repo nvidia-gpu-operator --versions

# Update Python dependencies
uv sync

After merging Dependabot dependency PRs that update Python manifests, run uv lock and commit uv.lock when it changes. Dependabot does not regenerate uv.lock in this repository workflow.

Migration Approach

When pulling upstream updates:

# Create branch for upstream updates
git checkout -b upstream-updates

# Pull latest changes
git fetch upstream
git merge upstream/main

# Resolve conflicts (prioritize your customizations)
# Test deployment in dev environment
# Merge to your main branch after validation

Staying Updated

Pull Request Inactivity Policy

Pull requests that remain inactive accumulate merge conflicts and delay feedback loops. This section defines closure timelines for inactive PRs. Automation that enforces this policy is a separate effort that references these thresholds.

For issue and discussion inactivity policy, see Inactivity Closure Policy in GOVERNANCE.md.

Active Pull Requests

The inactivity clock runs only when the PR is waiting on the author. Reviewer-side delays do not count against the author.

Stage Trigger Label Action
Active Author activity within the past 14 days while waiting-on-author (none) Normal review cycle
Paused PR is labeled waiting-on-reviewer waiting-on-reviewer Inactivity clock paused
Stale 14 days without author activity while waiting-on-author stale Reminder comment posted
Closed 7 days after stale label without author activity closed-stale PR closed with summary

Label usage:

Draft Pull Requests

Draft PRs are fully exempt from inactivity closure. Converting a draft to “ready for review” starts the normal active PR lifecycle.

Exemptions

The following conditions prevent automatic closure of a pull request:

Reopening rules: