mirror of
https://github.com/Matysh/houseplan-card
synced 2026-09-29 03:09:36 +00:00
fix: отделить delimiter результата ревью от JSON (#551)
Issue: #551 User-Visible: no
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user