The GitHub Actions job "Tests (AMD)" on 
airflow.git/google-gcs-log-handler-fail-closed-on-read-failure has failed.
Run started by GitHub user potiuk (triggered by potiuk).

Head commit for run:
fae94fb8a8969e54a77bef04db7492ef4c4a83d1 / Jarek Potiuk <[email protected]>
google: fail closed in GCS log handler when existing-log read fails

``GCSRemoteLogIO.write`` reads the existing blob, appends the new log
content, then uploads. When ``download_as_bytes()`` failed for a
reason other than "object does not exist" (transient GCS outage, IAM
glitch, network blip), the read exception was caught, a warning was
logged, and execution fell through to upload **only the new content**
— silently truncating prior log history.

Distinguish the 404 case (safe: write the new content as a fresh
blob) from non-404 read failures (transient: keep local logs, return
False, let the next heartbeat retry). The 404 path is unchanged.

Updates ``test_write`` to reflect the new fail-closed contract: when
``download_as_bytes`` raises a non-404 error the handler now returns
``False`` and does not call ``upload_from_string``.

Report URL: https://github.com/apache/airflow/actions/runs/26422826057

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to