perf(release): shorten full validation evidence collection (#134694)

This commit is contained in:
Peter Steinberger 2026-08-31 20:08:22 -07:00 • committed by GitHub
parent e57e09fe36
commit 59976298ff
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 714 additions and 227 deletions

View file

@ -237,6 +237,13 @@ if [[ "$run_count" == "0" ]]; then
no_reuse "no prior successful validation runs"
fi
reuse_request="$(jq -nc \
--arg targetSha "$TARGET_SHA" \
--arg releaseProfile "$RELEASE_PROFILE" \
--arg runReleaseSoak "$RUN_RELEASE_SOAK" \
--argjson validationInputs "$expected_inputs" \
'{targetSha: $targetSha, releaseProfile: $releaseProfile, runReleaseSoak: $runReleaseSoak, validationInputs: $validationInputs}')"
for ((index = 0; index < run_count; index += 1)); do
run_id="$(jq -r ".[${index}].id" <<< "$runs_json")"
validation_record=""
@ -244,6 +251,7 @@ for ((index = 0; index < run_count; index += 1)); do
node "$VALIDATOR" \
--validate-run "$run_id" \
--repo "$REPO" \
--reuse-request-json "$reuse_request" \
--trusted-workflow-ref "$TRUSTED_WORKFLOW_REF" \
--trusted-workflow-full-ref "$TRUSTED_WORKFLOW_FULL_REF" \
--trusted-workflow-sha "$TRUSTED_WORKFLOW_SHA" \