Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/actions/bencher-track/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,11 @@ runs:
# No data points since the reset → omit thresholds so the reset commit
# lands without an alert (--thresholds-reset clears stale models); they
# re-arm next run. Otherwise substitute the window into each measure.
# The input spans several lines, so read to end of input (`-d ''`)
# rather than to the first newline; `read` then reports end of input
# as a failure, hence `|| true`.
thresholds=()
[ "$sample" -gt 0 ] && read -r -a thresholds <<< "${THRESHOLDS//__WINDOW__/$sample}"
[ "$sample" -gt 0 ] && read -r -d '' -a thresholds <<< "${THRESHOLDS//__WINDOW__/$sample}" || true

bencher run \
--project ix \
Expand Down
Loading