From a0fda2cab1fc55ee050536340b8422fa6a60f831 Mon Sep 17 00:00:00 2001 From: Danny Avila Date: Tue, 18 Aug 2026 08:10:09 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=B3=EF=B8=8F=20ci:=20Vote=20on=20Fail-?= =?UTF-8?q?Open=20Merges=20Too=20(Tiers=20Are=20Bridge-Derived)=20(#14969)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/codegraph-e2e-votes.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/codegraph-e2e-votes.yml b/.github/workflows/codegraph-e2e-votes.yml index 6a61c4583f..093b4e1d83 100644 --- a/.github/workflows/codegraph-e2e-votes.yml +++ b/.github/workflows/codegraph-e2e-votes.yml @@ -61,10 +61,13 @@ jobs: jq -c '{files: .}' files.json > body.json RESP=$(curl -sS -m 45 -H "Authorization: Bearer $TOKEN" \ -H 'content-type: application/json' --data-binary @body.json "$URL/v1/select") + # fail_open reflects the JEST floors (root config, lockfile, stale graph); the + # e2e tiers come from the testid bridge and are valid whenever they computed at + # all. The old fail-open skip silently excused exactly the big backend merges + # whose trials matter most (LibreChat#14957's merge produced no vote because + # api/package.json tripped the jest floor). Tiers present => vote. if ! echo "$RESP" | jq -e '.e2e.skippable' >/dev/null 2>&1; then echo "codegraph unavailable or no tiers; skipping" - elif echo "$RESP" | jq -e '.e2e.fail_open == true' >/dev/null 2>&1; then - echo "decision was fail-open; tiers untrusted for this merge; skipping" else echo "$RESP" | jq -r '.e2e.skippable[]' | sed 's|^e2e/||' > skippable.txt N=$(wc -l < skippable.txt | tr -d ' ')