mirror of
https://github.com/Matysh/houseplan-card
synced 2026-09-28 19:01:34 +00:00
infra(process): fast-forward merge rebuilds the review index too (#657 r1 H1)
The task branch no longer carries docs/reviews/INDEX.md (1b), and merge-candidate rebuilt it only inside rebaseOnto. When dev did not move the fast-forward pushed the stale index and reviews_index would turn dev red. freshIndex(tip) commits the rebuilt index on top of the material before the push; the merge stays a fast-forward. Real-git test: fast-forward, then reviews-index --check on the dev head is green. Mutant merge-ff-skips-review-index. Issue: #657 User-Visible: no
This commit is contained in:
+3
-2
@@ -364,8 +364,9 @@ S1-new → S2-analysis → S3-spec → S4-spec-review ⟲ → S5-ready →
|
||||
документ — issue, этап, раунд, вердикт, число High/Medium, заголовки находок,
|
||||
файлы из находок (искать по имени файла: `grep form-kit docs/reviews/INDEX.md`).
|
||||
Файл генерируется `node scripts/reviews-index.mjs` и пересобирается **только
|
||||
коммитами, идущими в `dev`** (#657, решение 1б): слиянием кандидата после
|
||||
ребейза (`--commit-if-stale`, коммит класса C) и публикацией документа ревью ТЗ
|
||||
коммитами, идущими в `dev`** (#657, решение 1б): слиянием кандидата —
|
||||
после ребейза, а если `dev` не двигался, то поверх материала перед
|
||||
fast-forward (`--commit-if-stale`, коммит класса C) — и публикацией документа ревью ТЗ
|
||||
прямо в `dev`. В ветке задачи индекс не пересобирается — ни при приведении к
|
||||
dev, ни при публикации документа код-ревью: иначе две параллельные задачи
|
||||
конфликтуют на нём по построению. Руками не правится. Конфликт ребейза, в котором **все** пути —
|
||||
|
||||
Reference in New Issue
Block a user