feat(workflow-log): enhance workflow logs UI with sorting and status filters (#24978)

This commit is contained in:
lyzno1
2025-09-02 16:43:11 +08:00
committed by GitHub
parent 883a6caf96
commit 1fce1a61d4
4 changed files with 52 additions and 18 deletions

View File

@ -27,7 +27,9 @@ class WorkflowAppLogApi(Resource):
"""
parser = reqparse.RequestParser()
parser.add_argument("keyword", type=str, location="args")
parser.add_argument("status", type=str, choices=["succeeded", "failed", "stopped"], location="args")
parser.add_argument(
"status", type=str, choices=["succeeded", "failed", "stopped", "partial-succeeded"], location="args"
)
parser.add_argument(
"created_at__before", type=str, location="args", help="Filter logs created before this timestamp"
)