Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: task instances and logs from airflow #135

Merged
merged 8 commits into from
Aug 23, 2024
Merged

Conversation

helen-m-lin
Copy link
Contributor

closes #127

  • Add /api/v1/get_tasks_list for getting airflow tasks, given the dag_run_id
  • Add /api/v1/get_task_logs for getting logs, given the dag_run_id, task_id, and try_number
  • Add Jinja templates for displaying tasks results and logs results. These are used as iframes within job status or tasks tables
    • User can click the "View tasks and logs" button for any job to see a list of associated tasks for that job
    • User can click the "View logs" button for any task instance (with valid try_number) to see its logs.

New tasks buttons:
image

New Tasks popup with logs buttons:
image

New Logs popup for each task:
image

@helen-m-lin helen-m-lin marked this pull request as ready for review August 23, 2024 03:22
@helen-m-lin helen-m-lin requested a review from jtyoung84 August 23, 2024 18:46
@jtyoung84 jtyoung84 merged commit 6666fe3 into dev Aug 23, 2024
3 checks passed
@jtyoung84 jtyoung84 deleted the feat-127-tasks-logs branch August 23, 2024 21:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Display airflow logs to user in /jobs page
2 participants