diff --git a/encodings/alp/src/alp/array.rs b/encodings/alp/src/alp/array.rs index 4e723f87f3..7a50cb0cbc 100644 --- a/encodings/alp/src/alp/array.rs +++ b/encodings/alp/src/alp/array.rs @@ -46,7 +46,6 @@ impl ALPArray { let length = encoded.len(); let mut children = Vec::with_capacity(2); - children.push(encoded); if let Some(patches) = &patches { children.push(patches.indices().clone()); children.push(patches.values().clone()); diff --git a/scripts/coerce-criterion-json.sh b/scripts/coerce-criterion-json.sh index 1f5624babe..96b2be59e7 100644 --- a/scripts/coerce-criterion-json.sh +++ b/scripts/coerce-criterion-json.sh @@ -1,6 +1,8 @@ #!/bin/bash -commit_id=$(git rev-parse HEAD) +set -Eeu -o pipefail -x + +commit_id=$GITHUB_SHA jq --compact-output 'select(.reason == "benchmark-complete" or .reason == null) | if (.throughput | length) == 0 diff --git a/scripts/commit-json.sh b/scripts/commit-json.sh index b84780c25e..3baa5fee79 100644 --- a/scripts/commit-json.sh +++ b/scripts/commit-json.sh @@ -1,5 +1,7 @@ #!/bin/bash +set -Eeu -o pipefail -x + commit_id=$GITHUB_SHA commit_title=$(git log -1 --pretty=%B $GITHUB_SHA | head -n 1) commit_timestamp=$(git log -1 --format=%cd --date=iso-strict $GITHUB_SHA)