π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Add extra failure guards
laurenspriemd2fcdb102f8b
diff --git a/infra/ml/test/tools/run_suite.sh b/infra/ml/test/tools/run_suite.shindex eff5031b4f..3627ca8e1c 100755--- a/infra/ml/test/tools/run_suite.sh+++ b/infra/ml/test/tools/run_suite.sh@@ -1096,14 +1096,14 @@ while IFS=$'\t' read -r source_rel source_url source_sha; doreason="remote ETag changed"fifi- elif [[ -f "$target_path" ]]; then+ elif [[ -f "$target_path" && -z "$source_sha" ]]; thenshould_download=trueif [[ -z "$reason" ]]; thenreason="remote ETag unavailable"fifielse- if [[ -f "$target_path" ]]; then+ if [[ -f "$target_path" && -z "$source_sha" ]]; thenshould_download=trueif [[ -z "$reason" ]]; thenreason="failed to fetch remote metadata"@@ -1767,11 +1767,14 @@ render_html_report() {local rendered_path=""if $VERBOSE; then- rendered_path="$(+ if ! rendered_path="$(python3 "$ML_DIR/tools/render_parity_html_report.py" \--report "$report_path" \--output "$html_output_path"- )"+ )"; then+ echo "Failed to render HTML parity report at $html_output_path."+ return 1+ fielseif ! rendered_path="$(python3 "$ML_DIR/tools/render_parity_html_report.py" \@@ -1788,6 +1791,14 @@ render_html_report() {if [[ -z "$LAST_HTML_REPORT" ]]; thenLAST_HTML_REPORT="$html_output_path"fi+ if [[ ! -f "$LAST_HTML_REPORT" ]]; then+ if $VERBOSE; then+ echo "Failed to render HTML parity report at $html_output_path."+ else+ echo "Failed to render HTML parity report at $html_output_path. Log: $renderer_log"+ fi+ return 1+ fireturn 0}