Make the DAG Run UI view more reliable by removing the column config#32288
Closed
tatiana wants to merge 2 commits intoapache:mainfrom
Closed
Make the DAG Run UI view more reliable by removing the column config#32288tatiana wants to merge 2 commits intoapache:mainfrom
config#32288tatiana wants to merge 2 commits intoapache:mainfrom
Conversation
Contributor
Contributor
|
Do we want to leave out the config entirely? I think we'd just want to convert it to a json object or a string. Because a user would want to see the config a run was triggered with. |
Contributor
|
PR #28777 addressed the JSON serialization of DagRun conf with a custom JSON Encoder class that encodes non-serializable objects with its |
Contributor
|
Closing due to #28777 |
53 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Airflow Scheduler can create DAG Runs with
configvalues that the Airflow Webserver cannot parse. Users cannot list any items in the Airflow DAG Run UI when this happens. The workaround to allow customers to list DAG Runs again was manually remove from the SQL database the DAG Run rows with unparsableconfig.An example of an error message:
This change does not deal with the root cause problem (the fact that the Scheduler is creating DAG Runs with
config, which cannot be parsed by the Webserver). However, it improves the experience from the perspective of users who want to list DAGs in the UI regardless of theconfigvalue.closes: #32287