Skip to content

mirror-history: wire check/record into _mirror-image.yml #159

Closed

Description

@toddysm

Part of #157.

Wire the mirror-history action into the reusable mirror workflow so a digest that was already synchronized is not re-mirrored.

Changes to _mirror-image.yml

  • Check step (before mirror-image): resolve the source digest, call mirror-history check. Skip the copy when already-synchronized=true, unless force.
  • Gate the existing Mirror image step at the workflow level (if: / a skip input) so the mirror-image action stays single-purpose.
  • Record step (after a successful copy, or a force run): call mirror-history record.
  • copy_referrers: a recorded digest also suppresses the referrer re-copy (skip); force refreshes referrers on demand.
  • Job summary: report skipped (already synchronized) distinctly from up to date and copied.

Preserve all current behaviour (acquisition provenance, multi-arch, concurrency, least-privilege auth). Callers (mirror-*.yml) unchanged — workflow_call signature stays compatible.

Depends on: #158.
Design: docs/architecture/acquire/mirror-history.md.

Activity

  1. added
    featureNew feature or request
    acquireRelated to the Acquire stage
    on Jul 31, 2026
  2. added a commit that references this issue on Jul 31, 2026
    507df7d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    acquireRelated to the Acquire stageagent-managedCreated/managed by My Feature EngineerfeatureNew feature or requestfeature:mirror-historyMirror-history capabilitytype:taskImplementation work item

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions