From d0f22f5135840e78e61c8aa7e08be4956c6c7322 Mon Sep 17 00:00:00 2001 From: Aleksei Sviridkin Date: Tue, 24 Nov 2026 11:57:54 +0300 Subject: [PATCH] docs(contributing): ask what a new check protects and how a test fails A repository-wide test merged that read chart sources from a Go package, pinned hand-typed values, and guarded declarations nothing read yet. Review checked that it passed and never asked what requirement it enforced. The next legitimate change went red on it. Such a check is a new rule for every contributor, and an ordinary approval of the PR that adds it does not show the rule was weighed, so the rule is agreed before that PR, and a test plan does not count as the requirement behind it. The failure evidence goes into the commit body rather than a separate failing commit: branches merge without squash, so each commit has to pass on its own. A test pinning unchanged behaviour has nothing to revert, so it proves it can fail by a mutation instead. When an e2e failure cannot be observed locally or in CI, recording that limit and its reason lets the reviewer decide without inventing evidence. Validation: the 79 relevant Bats checks pass on the branch and base; no executable tests or checks are added. Assisted-by: LLM Signed-off-by: Aleksei Sviridkin --- .github/PULL_REQUEST_TEMPLATE.md | 10 +++++++++- AGENTS.md | 1 + CONTRIBUTING.md | 10 ++++++++++ docs/agents/contributing.md | 20 +++++++++++++++++--- docs/agents/overview.md | 2 +- 5 files changed, 38 insertions(+), 5 deletions(-) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index e39dec345..5260afcbb 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -7,7 +7,7 @@ - Development and maintenance: api, hack, tests, ci, docs, maintenance - Breaking changes: append `!` after type/scope (`feat(api)!: ...`) or add a `BREAKING CHANGE:` footer, a `fix` included. What counts as breaking: https://github.com/cozystack/cozystack/blob/main/docs/agents/contributing.md#what-counts-as-breaking - If it's a work in progress, consider creating this PR as a draft. -- Don't hesistate to ask for opinion and review in the community chats, even if it's still a draft. +- Don't hesitate to ask for opinion and review in the community chats, even if it's still a draft. - Fixes merged to `main` reach the release lines the backport batch runs for automatically, so do not open backport PRs by hand: https://github.com/cozystack/cozystack/blob/main/docs/release/backports.md --> @@ -17,6 +17,14 @@ +### New checks + + + ### Screenshots