checkpins

command
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Command checkpins verifies that every services/<svc>/PARITY.md sdk_module front-matter pin (aws-sdk-go-v2/service/<name>@v<version>) matches the version go.mod actually requires for that module. A stale pin silently undermines every wire-shape claim in the file, since those claims were checked against the pinned version, not whatever go.mod carries now.

Usage:

go run ./cmd/checkpins

Exits non-zero if any PARITY.md pin disagrees with go.mod, if a recorded module isn't in go.mod without documenting why (see isModuleCacheOnly), or if sdk_module is missing or has no parseable @version — an unverifiable pin is exactly the failure mode this check exists to catch, not a case to wave through.

Jump to

Keyboard shortcuts

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