Skip to content
Proud to collaborate with Microsoft for Startups

registry.repository-sync ​

Synchronize images and versions for one registry repository

Synchronize tags and digests for one repository.

Overview ​

PropertyValue
Workflow typeLinear
LibraryApp-registry
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
registry_repository_uuiduuidYes—UUID of the RegistryRepository whose images and versions should be synced
organization_uuiduuidYes—Organization UUID for tenant isolation
workflow_run_idstringNo—Engine-stamped workflow_run_id when invoked as a DAG step (ADR-015 E1)

Output Schema ​

FieldTypeRequiredDefaultDescription
registry_repository_uuiduuidYes—Echoed registry repository UUID
organization_uuiduuidYes—Echoed organization UUID
registry_account_uuiduuidNo—UUID of the parent registry account
repository_full_namestringNo—Full name (namespace/name) of the repository
remote_version_countintegerNo—Number of remote image versions discovered
remote_versionslistNo—Internal: remote versions carried between fetch and reconcile
reconciled_image_countintegerNo—Number of image rows reconciled
reconciled_version_countintegerNo—Number of image-version rows reconciled
completed_atstringNo—ISO-8601 completion timestamp
failed_atstringNo—ISO-8601 failure timestamp
workflow_run_idstringNo—Engine-stamped workflow_run_id when invoked as a DAG step (ADR-015 E1)
failure_reasonstringNo—Engine failure reason, present only on failed terminal state
failure_typestringNo—Engine failure type classification (ADR-015 E2)
failed_actionstringNo—Action name that caused the failure (ADR-015 E2)
failed_at_statestringNo—State name where the failure occurred
failed_stepstringNo—Failed DAG step name when reported by the engine
failed_layerintegerNo—1-based failed DAG layer number emitted by the engine
errorstringNo—Unexpected error message
error_typestringNo—Unexpected error class or type

States ​

StateInitialTerminalSuccessAuto-advanceDescription
initiatedYesNo—prepare—
fetchingNoNo—reconcile—
preparingNoNo—fetch_remote_versions—
reconcilingNoNo—complete—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
initiatedpreparepreparing—
preparingfetch_remote_versionsfetching—
fetchingreconcilereconciling—
reconcilingcompletecompleted—
* (any state)failfailed—

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "registry.repository-sync",
  "initial_data": {
    "registry_repository_uuid": "value",
    "organization_uuid": "value"
  }
}