feat(qa): tester заводит bug-issue на новые баги #713
2 changed files with 10 additions and 2 deletions
|
|
@ -42,6 +42,11 @@ QA в autonomous-pickup mode. Polling issues с `status/qa` (PR уже merged au
|
||||||
❌ prod_down → +pause-bots, escalate (см. Failure escalation)
|
❌ prod_down → +pause-bots, escalate (см. Failure escalation)
|
||||||
❌ flaky → retry smoke 1×; при повторе → +status/needs-fix +needs-human
|
❌ flaky → retry smoke 1×; при повторе → +status/needs-fix +needs-human
|
||||||
POST comment со stack trace + screenshot link + console errors во всех FAIL-случаях
|
POST comment со stack trace + screenshot link + console errors во всех FAIL-случаях
|
||||||
|
🆕 НОВЫЙ баг (НЕ тестируемый issue — побочная регрессия/находка) → заведи bug-issue
|
||||||
|
`mcp__forgejo__create_issue`: labels `scope/<область>`, `status/ready`,
|
||||||
|
`priority/p1` (ломает golden-path) | `priority/p2`, `bug`; body = work-prompt
|
||||||
|
(Задача / repro-шаги / Files если ясно / Definition of Done) + screenshot/console.
|
||||||
|
Проверь дубликаты (нет ли уже open похожего). Так баг попадёт в очередь воркеру.
|
||||||
4. result: smoked N issues, K passed, M failed
|
4. result: smoked N issues, K passed, M failed
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
@ -65,7 +70,7 @@ Smoke длинный → стоит ограничивать **3 issues за т
|
||||||
## Hard rules
|
## Hard rules
|
||||||
|
|
||||||
- ❌ НЕ редактировать код в случае FAIL — это работа auto-backend/frontend (через reopened issue)
|
- ❌ НЕ редактировать код в случае FAIL — это работа auto-backend/frontend (через reopened issue)
|
||||||
- ❌ НЕ создавать новые issues — для bug reporter'а используй комментарии под существующим
|
- ✅ НОВЫЙ баг (не тестируемый issue) → заводи bug-issue (`scope/X status/ready priority/pN bug`, body = work-prompt + repro/screenshot). По ТЕСТИРУЕМОМУ issue — reopen+needs-fix, НЕ дубль-issue. Проверь дубликаты перед созданием — не плодить.
|
||||||
- ❌ НЕ merge / approve PR — это работа auto-code-reviewer
|
- ❌ НЕ merge / approve PR — это работа auto-code-reviewer
|
||||||
- ✅ Browser cleanup — `mcp__playwright__browser_close` после каждой smoke
|
- ✅ Browser cleanup — `mcp__playwright__browser_close` после каждой smoke
|
||||||
- ✅ Screenshot обязателен при FAIL — для human triage
|
- ✅ Screenshot обязателен при FAIL — для human triage
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,7 @@ $env:BOT_USERNAME = "bot-qa"
|
||||||
|
|
||||||
Следую правилам из `.claude/agents/auto-qa-tester.md` + `_autonomous_pickup.md` + `.claude/agents/qa-tester.md` + `.claude/rules/deploy.md`.
|
Следую правилам из `.claude/agents/auto-qa-tester.md` + `_autonomous_pickup.md` + `.claude/agents/qa-tester.md` + `.claude/rules/deploy.md`.
|
||||||
|
|
||||||
**Per-tick workflow (10m):**
|
**Per-tick workflow (5m):**
|
||||||
|
|
||||||
1. Kill-switch check
|
1. Kill-switch check
|
||||||
2. GET issues `status/qa` open, sort updated-desc, limit=3
|
2. GET issues `status/qa` open, sort updated-desc, limit=3
|
||||||
|
|
@ -46,6 +46,9 @@ $env:BOT_USERNAME = "bot-qa"
|
||||||
c. ✅ PASS → close issue + status/done
|
c. ✅ PASS → close issue + status/done
|
||||||
d. ❌ FAIL → classify (см. ниже), post stack trace + screenshot. feature_regression →
|
d. ❌ FAIL → classify (см. ниже), post stack trace + screenshot. feature_regression →
|
||||||
reopen + `status/needs-fix` + assignee=PR author (worker сам чинит, НЕ human)
|
reopen + `status/needs-fix` + assignee=PR author (worker сам чинит, НЕ human)
|
||||||
|
e. 🆕 НОВЫЙ баг (не тестируемый issue — побочная находка) → завести bug-issue
|
||||||
|
(`mcp__forgejo__create_issue`: `scope/X status/ready priority/pN bug`, body = work-prompt +
|
||||||
|
repro/screenshot; проверь дубликаты) → попадёт воркеру в очередь
|
||||||
|
|
||||||
**Smoke priorities:** p0 → p1 → newest p2 (max 3 issues/tick).
|
**Smoke priorities:** p0 → p1 → newest p2 (max 3 issues/tick).
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue