Functionality

Detailed operational behavior of the PackageRevision Controller.

This section covers the runtime behaviour of the PR Controller: how it creates packages, renders content, manages lifecycle transitions, and handles edge cases.

Key aspects covered:

  • How source execution creates initial package content (init, clone, copy, upgrade)
  • How subpackage operations clone and upgrade independent subpackages within a Draft package
  • How rendering is triggered, bounded, and protected against staleness
  • How lifecycle transitions and deletion gating work
  • How status conditions and labels are managed

Source Execution

How the PR Controller creates initial package content.

Rendering

KRM function pipeline execution, concurrency control, and stale render detection.

Subpackage Operations

How the PR Controller handles independent subpackage clone and upgrade operations.

Lifecycle Management

Lifecycle transitions, deletion gating, and revision numbering.