Files
kevinveenbirkenbachandClaude Opus 5.5 5e422bc010 fix(ci): mirror the per-architecture tags a role derives from its pin
PR #2006 (fork) loops in 'Wait for mirrored images (fork PR)' on 'Missing 1/197 mirror refs', e.g. ghcr mirror ggml-org/whisper.cpp:main-arm64-<commit>: the fork run's discovery asks for the derived arm64 tag, but the pull_request_target mirror runs main's discovery, which knows no architecture_tags and mirrors only main-<commit>. This ports the mirror side of 37932decd8 from the IAM line unchanged: utils/docker/image/architecture_tags.py and the iter_role_images refs, one derived ref per rewritten architecture. Nothing changes on main until a role declares architecture_tags. Discovery tests cover the derived ref, its source, a service without rewrites and a pin that lost the prefix; without the iter_role_images hunk 4 of them fail.

🎯 Fix: 85 %
💥 Break: 3 %
💸 Tokens: 96 %
⏱️ Velocity: 92 %
🛡️ Security: 100 %
🏆 Score: 93
🚦 Gate: ⛔ fix 85 % < 90

Created-with: https://s.veen.world/skills
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 19:55:06 +00:00
..
…
…
…

Shared Utilities (utils/)

This directory contains shared Python helpers used by custom modules and plugins.

Purpose

Use utils/ for reusable code that should not be duplicated across:

  • library/ modules,
  • plugins/action/,
  • plugins/filter/,
  • plugins/lookup/.

Typical shared utilities:

  • API clients,
  • validation/conversion helpers,
  • path and configuration helpers,
  • cross-plugin/module domain logic.
  • Shared HTTP(S) connection handler for multiple modules.
  • Common validation or transformation functions for user input.
  • Utility functions for interacting with Docker, LDAP, etc.
  • Grouped helper packages such as utils/domains/ for related domain logic.

Design Guidelines

  • Keep helpers focused and composable.
  • Avoid side effects during import.
  • Prefer explicit function/class APIs over implicit globals.
  • Keep dependencies minimal so modules/plugins stay lightweight.

Example Import

from utils.domains.primary_domain import get_primary_domain

What Does Not Belong Here

  • Standalone executable modules (put in library/).
  • Ansible plugin entrypoints (put in plugins/*).

References