Skip to content

UI bug: Logs disappear as long as SSHHook is included on the sources #58136

@alkismavridis

Description

@alkismavridis

Apache Airflow version

3.1.2

If "Other Airflow 2/3 version" selected, which one?

No response

What happened?

We use SSH Operators (wrapped inside a tiny PythonOperator wrapper).

Naturally, our logs include messages from SSHHook. This unfortunatelly causes CSS-Positioning issues and our logs are not visible in the UI.

Screenshot when SSHHook is not included (logs visible):

Image

Screenshot when SSHHook is included (either explicitly or via selecting "All Sources":

Image

I suspect that the issue has something to do with css positioning. The markdown is present, but shifted outside its viewbox. Manually removing the "height" property here makes the logs visible again:

Image

What you think should happen instead?

Logs should be visible. Not being able to read our logs is a pretty serious issue for us.

How to reproduce

  • Execute a dag using SSHOperator.
  • Try to view the logs without excluding the SSHHook source

Operating System

MacOS (google chrome)

Versions of Apache Airflow Providers

No response

Deployment

Docker-Compose

Deployment details

No response

Anything else?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    affected_version:3.1Issues Reported for 3.1area:UIRelated to UI/UX. For Frontend Developers.area:corekind:bugThis is a clearly a bugneeds-triagelabel for new issues that we didn't triage yet

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions