Document the native ReleaseKit workflow
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
**Base Policy Version:** 1.7
|
||||
|
||||
**Last Updated**: 2026-11-17
|
||||
**Last Updated**: 2026-11-23
|
||||
|
||||
**Upstream Source**: https://gitea.maximumdirect.net/eric/policy/src/commit/593c9b52273c5c879785ae9e995d21026df467b4/docs/policy/release.md
|
||||
|
||||
@@ -174,23 +174,12 @@ Do not add routine confirmations for checks the command can perform itself.
|
||||
|
||||
## Narratio Candidate Checks
|
||||
|
||||
Narratio's candidate checker adds the following checks to the one full,
|
||||
race-enabled offline suite:
|
||||
|
||||
- `go mod tidy -diff` detects an incomplete checked-in module graph without
|
||||
changing source.
|
||||
- Tracked Go formatting and diff whitespace checks catch inexpensive source
|
||||
hygiene defects before publication.
|
||||
- Race instrumentation adds distinct coverage for concurrent I/O,
|
||||
cancellation, and shared state.
|
||||
- `go vet ./...` detects static issues not established by runtime tests.
|
||||
- The asset builder verifies the declared Linux amd64, Linux arm64, and
|
||||
best-effort macOS arm64 binaries and checks the embedded version on the host.
|
||||
|
||||
The checker uses `GOWORK=off` and readonly module mode for tests, vet, and
|
||||
builds. Versioned module replacements are allowed; filesystem replacements
|
||||
are not release inputs. Workspace and vendor files are not prohibited solely
|
||||
by their presence.
|
||||
Narratio selects one race-enabled offline suite, full `go vet`, Go formatting,
|
||||
and local module-replacement checks through ReleaseKit. The selected builds
|
||||
verify Linux amd64, Linux arm64, and best-effort macOS arm64 binaries and the
|
||||
embedded version on a host executable. Versioned module replacements remain
|
||||
allowed; filesystem replacements are not release inputs. Workspace and vendor
|
||||
files are not prohibited solely by their presence.
|
||||
|
||||
## Publication Guards
|
||||
|
||||
|
||||
Reference in New Issue
Block a user