fix(stale-claims): avoid SIGPIPE 141 — pass file path не pipe #612
No reviewers
Labels
No labels
admin
analytics
auth
automation
bug
business
chore
ci
compliance
data
data-moat
docs
duplicate
dx
enhancement
Fable 5 ревью
feedback/max
generative
GG-форсайт
needs-discussion
needs-human
observability
pause-bots
performance
priority/p0
priority/p1
priority/p2
priority/p3
scope/backend
scope/db
scope/devops
scope/frontend
scope/qa
scrapers
security
site-finder
stage/1
stage/2
status/blocked
status/done
status/needs-analysis
status/needs-fix
status/qa
status/ready
status/review
status/wip
tech-debt
tradein
ux
week ревью 1
wontfix
вторичка
ИРД
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lekss361/gendesign#612
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "feat/stale-claims-sigpipe-fix"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Root cause
Из diagnostic run #1520 (после merge PR #611):
Exit code 141 = SIGPIPE (signal 13).
Последовательность:
cat $ISSUES_TMP | python3 <<EOF ...— pipe из bash в Python heredoc[OK] 0 wip issues — nothing to doи вызываетsys.exit(0)catещё писал → SIGPIPEset -o pipefailловит SIGPIPE как failure → script exits 141Локально на VPS то же self-reproducing (просто не было
pipefailили меньше bytes — поэтому при моих SSH тестах не fired).Fix
Передача file path через env var вместо stdin pipe. Python читает файл напрямую — никакого pipe → нет SIGPIPE.
Verified
Locally на VPS с bot-qa token:
Also
Убраны diagnostic steps добавленные в PR #611 (env dump +
bash -x) — теперь когда root cause найден, workflow возвращается к минимальному виду.Test plan
*/30 * * * *должен picking up каждые 30 мин и завершаться success при 0 wip issuesRefs