Skip to content

CI/source truth: validate merged registry-auth fix on default branch before runtime promotion #42

Description

@reprewindai-dev

Why this is open

PR #40 (fix(security): fail closed on missing production registry token) merged to main as 43effd8bac1b3ee7278d11514227641ac396548a even though its exact-head GitHub Actions gate never exposed executable install/test/build steps.

The source change is security-positive and should not be rolled back merely because verification is incomplete: it fail-closes registry registration outside explicit local/development/test environments and requires the Bearer scheme when CAPI_REGISTRY_TOKEN is configured.

Current verification state

  • PR fix(security): fail closed on missing production registry token #40 exact head: 623baa8d0d338060f8c4aa039d426be2fa358284
  • merge commit: 43effd8bac1b3ee7278d11514227641ac396548a
  • merge commit has no GitHub Actions workflow run returned for that SHA
  • current combined commit status exposes two failed Vercel contexts (Vercel – c-api, Vercel – veklom-id-59uw)
  • therefore default-branch test/build/deployment readiness is NOT_VERIFIED

Required correction / evidence

  1. Run the checked-in cAPI CI on the current default-branch SHA (or a small follow-up SHA containing no unrelated changes) and obtain executable npm ci, test, and build evidence.
  2. Diagnose the two failed Vercel contexts instead of treating the merge itself as deployment success. If either context is intentionally non-authoritative for cAPI, document/remove that stale deployment binding rather than ignoring it.
  3. Re-run focused registry-auth negatives: unset/staging/unknown NODE_ENV without a token must fail closed; raw-token Authorization must fail; valid Bearer must pass.
  4. Do not promote cAPI into verified_runtime_state until deployed SHA + HTTP health/protocol identity + listener 3003 + Traefik routing agree after restart.
  5. Only after cAPI runtime verification should Gnomledger→cAPI registration be promoted from NOT_VERIFIED.

This issue tracks verification/merge-gate truth, not a rollback of the corrected auth semantics.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions