Skip to content

Upstream Sync Automation (NI -> Org main) #4

@svelderrainruiz

Description

@svelderrainruiz

Summary

Implement upstream sync automation from ni/labview-for-containers into org main using PR-only flow, with deterministic classification and audit artifacts.

Scope

  • Daily + manual sync workflow
  • PR-only integration to protected main (no direct pushes)
  • Deterministic sync classification + JSON summary artifacts
  • Conflict handling with actionable output

Out of Scope

  • Any bypass of branch protection
  • Image retag/publish logic changes
  • 2020 promotion policy changes

Implementation Checklist

  • Add .github/workflows/upstream-sync.yml with schedule + workflow_dispatch
  • Add dispatch inputs: upstream_ref, sync_mode, pr_base, sync_branch_prefix, dry_run
  • Add classification output contract: in_sync, behind_requires_sync_pr, sync_pr_opened, sync_pr_updated, conflict_requires_pr, execution_error
  • Emit builds/status/upstream-sync-summary-<timestamp>.json
  • Enforce PR-only behavior against protected main
  • Ensure idempotency (single open sync PR per upstream ref)
  • Add docs/upstream-sync.md runbook and policy text
  • Update org AGENTS.md with source-of-truth + mirror policy + drift handling reference

Tracking

  • Implementation branch: sync/upstream-automation-v1
  • Follow-up PR will reference this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requeststabilizationStabilization tracking and execution

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions