seanghaeli opened a new issue, #77057:
URL: https://github.com/apache/airflow/issues/77057
`WasbRemoteLogIO.read`
(`providers/microsoft/azure/src/airflow/providers/microsoft/azure/log/wasb_task_handler.py`)
lists blobs with `WasbHook.get_blobs_list`, which walks one level with
`delimiter="/"`. For a watcher's directory on one triggerer (#76527), that
returns `trigger.log` and the `rotated/` prefix rather than the parts inside
it, and `read_file` on `rotated/` fails with BlobNotFound, which is logged and
added to the sources on every read. So #76560 never shows a watcher's rotated
parts from Azure, which is most of a busy watcher's history, and reading a
whole trigger directory finds only its triggerer job prefixes.
Suggestion: list recursively in `WasbRemoteLogIO.read` when the path ends in
`/` (the hook already has `get_blobs_list_recursive`).
Done when: a watcher's rotated parts on Azure are listed and read through
`GET /api/v2/triggers/{trigger_id}/logs`, with no BlobNotFound per read, with
tests.
This needs #76560 (draft) to merge first. I'd recommend building on top of
it and rebasing once it's merged.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]