8000 feat: Display logs for all repeated step executions · Issue #1033 · dagu-org/dagu · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
feat: Display logs for all repeated step executions #1033
@yottahmd

Description

@yottahmd

Right now when a step runs multiple times with repeatPolicy, we only see the last run's logs in the UI. But actually all the logs are saved in the filesystem.

Current behavior

  • Step with repeatPolicy can run child DAGs multiple times
  • Filesystem has all the log files
  • However, UI only shows the last execution's logs for the child DAG

Expected behavior

The UI should show logs from all the repeated runs, not just the latest one.

Possible approach

We already persist the pointer (dagRunId) to status for each child DAG run in the parent DAG run status in the childrenRepeated field. We could fetch historical statuses and display all the logs.

ChildrenRepeated []ChildDAGRun `json:"childrenRepeated,omitempty"` // repeated child DAG runs

Issue: #1029
Fixes #1033

Todo:

  • Update UI to add navigation to repeated execution
  • Update timeline graph to include repeated executions

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0