[shared] fix(logs): keep quiet_run green when the command kills the heartbeat #77
No reviewers
Labels
No labels
needs-human
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
cjournois/reusable-pipeline!77
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/quiet-run-lost-heartbeat"
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?
Since 5.3.0, ergon-device's tests pass but its "Run tests" step exits 1 with only
Terminatedin the log: its suite runspkill -f 'sleep 30', which also kills the heartbeat'ssleep 300, andkill "$beat"then fails underset -e. Any consumer whose tests reap stray sleeps hits the same; every repo calling unit.yml, quality.yml or release.yml uses quiet_run.Verified:
just lint testpasses; the new ci-error.bats case fails without the fix.Run: https://git.journois.com/project/ergon/actions/runs/288
Addressed:
|| [ $? -gt 128 ] || break), so a bad CI_HEARTBEAT ends it instead of spinning.Terminatedline seen in ergon's log.3>&-.abb787c28edf6460dac3WIP: [shared] fix(logs): keep quiet_run green when the command kills the heartbeatto [shared] fix(logs): keep quiet_run green when the command kills the heartbeat