fix: отделить delimiter результата ревью от JSON (#551)

Issue: #551
User-Visible: no
This commit is contained in:
Sergey Matyunin
2026-09-13 14:34:17 +03:00
parent 23f48829c2
commit 62e0eff219
3 changed files with 26 additions and 5 deletions
+11
View File
@@ -7869,6 +7869,17 @@ const MUTANT_DEFINITIONS = [
replace: ' printf \'%s\' "$OUT" | jq -e \'true\' > "$RUNNER_TEMP/verdict.json" # mutant: boolean payload',
}],
},
{
id: 'review-integration-delimiter-follows-json-without-newline',
guard: 'node --test --test-name-pattern="#551" test/review-doc-guard.test.mjs',
because: '#551: structured verdict записан через printf без финального LF; GitHub output '
+ 'delimiter обязан начинаться с новой строки, иначе integration падает после зелёной модели',
patches: [{
file: '.github/workflows/process.yml',
find: ' printf \'\\nEOF_RESULT\\n\' >> "$GITHUB_OUTPUT"',
replace: ' printf \'EOF_RESULT\\n\' >> "$GITHUB_OUTPUT" # mutant: delimiter glued to JSON',
}],
},
{
id: 'review-integration-skips-evidence-checksum',
guard: 'node --test --test-name-pattern="#551" test/review-doc-guard.test.mjs',