local-loop

command
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 29, 2026 License: AGPL-3.0 Imports: 20 Imported by: 0

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).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL