Skip to content

Add UI endpoint for deadline callback log visibility#70423

Closed
seanghaeli wants to merge 1 commit into
apache:mainfrom
aws-mwaa:feature/callback-log-visibility-backend
Closed

Add UI endpoint for deadline callback log visibility#70423
seanghaeli wants to merge 1 commit into
apache:mainfrom
aws-mwaa:feature/callback-log-visibility-backend

Conversation

@seanghaeli

Copy link
Copy Markdown
Contributor

Add a UI API endpoint GET /ui/dags/{dag_id}/dagRuns/{dag_run_id}/callbacks/{callback_id}/logs that returns deadline callback execution logs, streaming NDJSON when requested (same pattern as the task instance log route). Logs are read from remote storage or the local log folder at the executor_callbacks/... / triggerer_callbacks/... paths written by #66379; the triggerer now also captures callback trigger output to that path. DeadlineResponse gains callback_id and callback_state so the UI can link a deadline to its callback logs.

Backend re-cut of #66610 addressing the review feedback there (streaming response, single exists-only query, depends-level path validation); frontend follows in a separate PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant