Skip to content

docs: recommend pinning runtime_ref to a gateway commit SHA#1

Open
saubyk wants to merge 1 commit into
mainfrom
docs/pin-runtime-ref
Open

docs: recommend pinning runtime_ref to a gateway commit SHA#1
saubyk wants to merge 1 commit into
mainfrom
docs/pin-runtime-ref

Conversation

@saubyk

@saubyk saubyk commented Jun 19, 2026

Copy link
Copy Markdown
Collaborator

Recommends pinning both version axes in consumer shims: the uses: action SHA and runtime_ref to a gateway runtime commit SHA.

Why

A SHA-pinned uses: fixes the action code, but the action checks out the private runtime at runtime_ref, which defaults to a movable tag. So a re-tagged runtime could change what runs on a consumer with no PR. Pinning runtime_ref to a commit SHA closes that, routing runtime upgrades through review the same way the action pin already does.

Surfaced by @calvinrzachman reviewing the lnd shim (lightningnetwork/lnd#10910).

Changes

  • templates/gateway.yml — add a pinned runtime_ref line + customize note.
  • README.md — example gains runtime_ref; revise the "single version axis" framing to recommend two pins.
  • docs/architecture.md — same correction to the versioning note.

Docs only — no behavior change.

A SHA-pinned uses: fixes the action code but resolves the runtime at
runtime_ref, which defaults to a movable tag — so a re-tagged runtime can
change what runs with no consumer PR. Document pinning both axes (action SHA
+ runtime_ref SHA) in templates/gateway.yml, README, and architecture.md.

Surfaced by calvinrzachman in lightningnetwork/lnd#10910.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant