Documentation
¶
Overview ¶
Command local-loop-helper is the dev-only sidekick for `make local-loop` (hack/local-loop/run.sh). It bundles the few bits of glue the event-path loop needs that are awkward in shell: applying the platform migrations + role passwords, standing in for the GitHub API the dispatcher re-fetches commits from, minting a throwaway GitHub App private key, and signing a webhook body exactly the way the receiver verifies it. It talks to nothing outside the loop's own localhost Postgres + kind cluster.
Unlike the hack/spikes (each its own throwaway module), this helper lives IN the root module on purpose: it reuses internal/db.Migrate — the canonical, only-importable-from-within-the-root-module migration path — so `make build/lint/test/vulncheck` and CI cover it like any other root code and it can't silently rot. It is only ever excluded from release artifacts (goreleaser builds ./cli, ./operator, ./receiver — never this).