You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

49 regels
1.8 KiB

  1. ---
  2. description: Require deploy/release notes with test plan and expected results for commits and PRs
  3. alwaysApply: true
  4. ---
  5. # Deploy notes: what changed + how to test
  6. When the user asks to **commit**, **open a PR**, **prepare a deploy**, or **summarize changes for the team**, also produce a short **Deploy / QA note** (Markdown) with test steps and expected results.
  7. ## Required sections
  8. ```markdown
  9. ## Summary
  10. - (1–3 bullets: what changed and why; user-facing impact)
  11. ## Scope
  12. - Backend: …
  13. - Frontend: … (if any)
  14. - DB / Liquibase: … (none if N/A)
  15. - Config / ops: … (none if N/A)
  16. ## Commits
  17. - `abc1234` — short title
  18. ## Test plan
  19. | # | Steps (who / where / data) | Expected result |
  20. |---|----------------------------|-----------------|
  21. | 1 | … | … |
  22. | 2 | … | … |
  23. ## Out of scope / not tested
  24. - …
  25. ## Rollback
  26. - How to revert or disable if broken (branch, flag, or previous build)
  27. ```
  28. ## Rules
  29. - Prefer **concrete UI labels** in 「」 and real routes (e.g. `/doworkbench`) when UI is involved.
  30. - Prefer **concrete sample data** when known (item codes, dates, shop codes) from local DB or the change itself.
  31. - Cover **happy path + one failure / edge** when the change adds validation or a fix.
  32. - If only backend API changed, still give **how to verify** (API call, UI screen that uses it, or SQL check).
  33. - Do **not** invent test steps for files you did not inspect; if unclear, say what to confirm with the author.
  34. - Save durable notes under `docs/deploy/` when the user asks to keep them (filename: `YYYYMMDD_short-topic.md`).
  35. - To auto-generate **one Word file per commit** into a folder, run:
  36. `python scripts/generate_commit_test_plans_docx.py <range>` → `docs/deploy/commit-plans/`.
  37. - Commit messages should still be clear; “no message” is not acceptable when we author the commit.