mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-05 02:27:26 +01:00
The PR template now carries the five trace lines (Feature, Machine/INV, Model, Red-first, Simplest). A pull_request_target workflow checks the description from the base branch's script: the four trace lines are present, NONE carries a reason, Machine/INV starts with the PR kind (IMPL <machine>.<transition>, FIX <INV-ID> or CHANGE <machine>), and Simplest is present when non-test Go under core/ or cmd/ changes. The self-test runs before the check. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
20 lines
881 B
Markdown
20 lines
881 B
Markdown
Feature: <roadmap item>
|
|
Machine/INV: <kind> / <INV rows>
|
|
Model: <spec + cfg + result, or NONE: reason>
|
|
Red-first: <commit + test that failed on the base, or NONE: reason>
|
|
Simplest: <the simplest version, and what this PR did not add>
|
|
|
|
<!--
|
|
The spec-trace check reads the lines above.
|
|
|
|
Machine/INV starts with exactly one kind:
|
|
IMPL <machine>.<transition> implements an existing transition; no new state, flag or reason.
|
|
FIX <INV-ID> the red test is that invariant failing on the base.
|
|
CHANGE <machine> new or changed states, transitions or invariants; the automaton
|
|
text and rows land with or before the code.
|
|
A fix without an invariant, or a guard term without a transition, is a CHANGE.
|
|
|
|
NONE needs a reason of at least 10 characters. Simplest is required when the PR
|
|
changes non-test Go under core/ or cmd/.
|
|
-->
|