You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Entries with retry-probe get up to 3 attempts: the probe exits 0
108
109
# when the scan output looks complete, and a run that fails it is
109
110
# re-run on the assumption of a transient backend failure. A
110
-
# persistent failure still reaches the validate step, which fails
111
-
# the job with full context. Retries are surfaced as warning
112
-
# annotations so flake frequency stays visible instead of being
113
-
# silently absorbed.
111
+
# persistent incomplete result still reaches validation. Validation
112
+
# only treats the explicit ENG-5093 zero-project backend signature as
113
+
# inconclusive; any other empty result remains a failure. Retries are
114
+
# surfaced as warning annotations so flake frequency stays visible.
114
115
max_attempts=3
115
116
attempt=1
116
117
while :; do
@@ -120,7 +121,8 @@ jobs:
120
121
break
121
122
fi
122
123
if [ "$attempt" -ge "$max_attempts" ]; then
123
-
echo "::warning title=e2e-${{ matrix.name }} incomplete results::output still fails the completeness probe after ${max_attempts} attempts; letting validation fail the job"
124
+
echo "::warning title=e2e-${{ matrix.name }} incomplete results::output still fails the completeness probe after ${max_attempts} attempts; letting validation classify the result"
125
+
echo "diagnostics=true" >> "$GITHUB_OUTPUT"
124
126
break
125
127
fi
126
128
echo "::warning title=e2e-${{ matrix.name }} transient retry::attempt ${attempt} failed the completeness probe (suspected backend transient, see ENG-5093); retrying"
if grep -q "Found 1 manifest files for reachability upload""$LOG"&& \
46
+
grep -q "Found 0 projects across 0 ecosystems to analyze""$LOG"&& \
47
+
grep -q "Filtered out 1 orphaned component""$LOG";then
48
+
echo"::warning title=e2e-reachability inconclusive backend result::ENG-5093: tier-1 returned the known zero-project/orphaned-component signature after retries; core reachability execution and finalization passed"
49
+
echo"e2e-reachability: inconclusive after retries — known ENG-5093 zero-project backend signature; diagnostics uploaded">>"${GITHUB_STEP_SUMMARY:-/dev/null}"
50
+
exit 0
51
+
fi
52
+
echo"FAIL: no components with alerts in .socket.facts.json and the known ENG-5093 backend signature was not present"
53
+
exit 1
54
+
fi
55
+
37
56
# 3-4. Build SARIF from the facts file produced by the initial --reach run.
38
57
# Avoid re-running reach + full scan here; duplicate API scans are slow and flaky in CI.
0 commit comments