Release v1.61.0-beta.4 candidate

This commit is contained in:
Matysh
2026-08-10 14:32:20 +03:00
parent d55816acaf
commit 1ed281b0dd
41 changed files with 2012 additions and 469 deletions
+16 -3
View File
@@ -161,6 +161,20 @@ jobs:
reason="commit is no longer an ancestor of the pushed revision"
fi
if [ "$usable" != true ]; then
# For a rewritten push, the direct parent is the closest honest
# comparison and normally carries the same benchmark generation.
# Prefer it over an arbitrarily old release tag. PR bases keep the
# tag fallback because HEAD^ is not necessarily their base.
parent_sha="$(git rev-parse HEAD^ 2>/dev/null || true)"
if [ "$source" = "push before" ] && [ -n "$parent_sha" ] && [ "$parent_sha" != "$(git rev-parse HEAD)" ]; then
sha="$parent_sha"
source="candidate parent (unusable push-before fallback)"
echo "::warning::Comparison SHA $requested_sha is unusable ($reason); using candidate parent $sha."
usable=true
fi
fi
if [ "$usable" != true ]; then
fallback_tag=""
fallback_sha=""
@@ -183,7 +197,7 @@ jobs:
fi
sha="$fallback_sha"
source="release tag $fallback_tag"
echo "::notice::Comparison SHA $requested_sha is unusable ($reason); using $fallback_tag ($sha)."
echo "::warning::Comparison SHA $requested_sha is unusable ($reason); using $fallback_tag ($sha)."
fi
# The first main promotion after HP-PERF-01 can legitimately point
@@ -193,12 +207,11 @@ jobs:
# to the candidate's direct parent, which is the last dev revision
# included in the promotion and already has the current harness.
if ! git cat-file -e "${sha}:demo/bundle-freshness.mjs" 2>/dev/null; then
echo "comparison $sha predates HP-PERF-01; using HEAD^" >&2
echo "::warning::Comparison $sha predates HP-PERF-01; using candidate parent HEAD^."
sha="$(git rev-parse HEAD^)"
source="candidate parent (HP-PERF-01 compatibility)"
fi
echo "sha=$sha" >> "$GITHUB_OUTPUT"
echo "source=$source" >> "$GITHUB_OUTPUT"
- name: Check out base SHA
uses: actions/checkout@v4
with: