fix(ci): vendor-coupling guardrail path - products/catalyst/bootstrap/api/internal/objectstorage (closes #438) (#440)

The mode-gate check was looking for ${REPO_ROOT}/internal/objectstorage
but the actual Go package lives at products/catalyst/bootstrap/api/internal/objectstorage.
Update the path so hard-fail mode auto-engages on this repo.

Validation:
  bash scripts/check-vendor-coupling.sh
  -> HARD-FAIL mode banner emitted, exit 0 on clean tree
  Synthetic 'hetzner-object-storage' under platform/ -> exit 1.

Refs: PR #437 (#383) which surfaced the bug.

Co-authored-by: hatiyildiz <hatiyildiz@noreply.github.com>
This commit is contained in:
e3mrah 2026-05-01 18:21:57 +04:00 committed by GitHub
parent feeabb63cb
commit 87ba48c44e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -117,7 +117,7 @@ fi
# remaining vendor-coupled reference is either drift or net-new — both
# must hard-fail. Until then, we can only warn (the drift IS the WIP).
HARD_FAIL=0
if [[ -d "${REPO_ROOT}/internal/objectstorage" ]]; then
if [[ -d "${REPO_ROOT}/products/catalyst/bootstrap/api/internal/objectstorage" ]]; then
HARD_FAIL=1
fi
if [[ "${FORCE_HARD_FAIL}" -eq 1 ]]; then