apache / airflow

Apache Airflow - A platform to programmatically author, schedule, and monitor workflows
https://airflow.apache.org/
Apache License 2.0
37.26k stars 14.33k forks source link

Handle XCom value errors in FAB's XCom list view #44275

Closed kaxil closed 38 minutes ago

kaxil commented 10 hours ago

This commit improved handling of JSON columns in FAB. While we are removing FAB for 3.0, this error was bothering me in breeze :)

Errors:

root@b16e4907c2ca:/opt/airflow# airflow webserver
  ____________       _____________
 ____    |__( )_________  __/__  /________      __
____  /| |_  /__  ___/_  /_ __  /_  __ \_ | /| / /
___  ___ |  / _  /   _  __/ _  / / /_/ /_ |/ |/ /
 _/_/  |_/_/  /_/    /_/    /_/  \____/____/|__/
Running the Gunicorn Server with:
Workers: 4 sync
Host: 0.0.0.0:8080
Timeout: 120
Logfiles: - -
Access Logformat:
=================================================================
/usr/local/lib/python3.9/site-packages/flask_limiter/extension.py:333 UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
[2024-11-22T01:22:43.225+0000] {filters.py:117} WARNING - Filter type not supported for column: value
[2024-11-22T01:22:43.225+0000] {filters.py:117} WARNING - Filter type not supported for column: value
[2024-11-22T01:22:43.226+0000] {filters.py:117} WARNING - Filter type not supported for column: value
[2024-11-22T01:22:43.226+0000] {filters.py:117} WARNING - Filter type not supported for column: value
[2024-11-22T01:22:43.226+0000] {forms.py:107} ERROR - Column value Type not supported
[2024-11-22T01:22:43.226+0000] {forms.py:107} ERROR - Column value Type not supported
[2024-11-22T01:22:43.226+0000] {forms.py:107} ERROR - Column value Type not supported
[2024-11-22T01:22:43.226+0000] {forms.py:107} ERROR - Column value Type not supported

^ Add meaningful description above Read the Pull Request Guidelines for more information. In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed. In case of a new dependency, check compliance with the ASF 3rd Party License Policy. In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.