fix: restore dataflow rerun and detail payload (#16292)

This commit is contained in:
buua436
2026-06-24 13:06:06 +08:00
committed by GitHub
parent a9eca9de82
commit ba4021a9de
2 changed files with 7 additions and 2 deletions

View File

@@ -790,7 +790,12 @@ def get_ingestion_log(dataset_id: str, tenant_id: str, log_id: str):
if not log:
return False, "Log not found"
return True, log.to_dict()
result = log.to_dict()
# Be explicit here: the dataflow-result page needs the full DSL payload to
# rebuild the timeline and right-side parser view. Some serialization paths
# can omit JSON fields from Peewee model dicts, so keep it attached here.
result["dsl"] = log.dsl or {}
return True, result
def delete_index(dataset_id: str, tenant_id: str, index_type: str, wipe: bool = True):