From f8b7c6b87e8cb735645e4aa1059fe8c736e46737 Mon Sep 17 00:00:00 2001 From: Dmitri Aleksandrov Date: Mon, 19 Oct 2026 13:56:52 +0300 Subject: [PATCH] docs: describe the order of a release --- docs/architecture/index.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/architecture/index.md b/docs/architecture/index.md index d0f19d2..7c86c60 100644 --- a/docs/architecture/index.md +++ b/docs/architecture/index.md @@ -55,4 +55,5 @@ The rules append their errors to one pooled buffer of the validation, and `Valid - Commits follow [Conventional Commits](https://www.conventionalcommits.org/), the changelog is generated from them by git-cliff. - `go test -race ./...` and the examples modules run in CI. Programs in the documentation and in the skill for AI agents are built and run by `scripts/check-examples.sh`. - Fuzz tests check the formats of strings against the parsers of the standard library and the patterns of their JSON Schema, the reading of the fields by the offsets against the fields themselves, and that any tag either configures the rules or panics with its error. `scripts/fuzz.sh` runs every target for `FUZZTIME`, 30s in CI; a failing input is saved in `testdata/fuzz` of the package and stays a regression test. +- A release: `git-cliff --tag vX.Y.Z -o CHANGELOG.md` in a pull request, then the tag of the core pushed alone — GitHub doesn't run the workflows of the release and of the documentation for more than three tags in one push — then the tags of the modules, `rules/uuid/vX.Y.Z`, `integrations/huma/vX.Y.Z`. A module that needs the new core requires it in its `go.mod` before its tag: the users ignore the `replace` of the module, `scripts/check-modules.sh` checks in CI that the modules require a released core. - A new rule of an existing type is a method of its configurator over `Check` or `Required`, with a locale key in `translator/locales/*/data.yaml`.