dagucloud / dagucloud/dagu

Parse errors in base.yaml actions not surfaced in DAG UI

Open
#2,314 6 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
4k
Forks
337
Avg merge
20h 58m
Merged PRs (30d)
143

Description

When a DAG fails to parse due to an invalid action definition in base.yaml (e.g., schema JSON parse error), the error only appears in the scheduler/coordinator logs:

field 'actions...input_schema': failed to parse schema JSON: json: cannot unmarshal array into Go struct field ...

The DAG appears in the UI with status "Retry attempts exhausted" but the actual parse error is hidden. The run details show no step output — just a generic dispatch failure.

Expected: Parse errors should be surfaced in the DAG run details, step output, or at minimum the DAG status page.

Impact: Debugging action schema issues requires shell access to read scheduler logs — invisible in the UI.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure with an invalid action definition in base.yaml, then compare the error in the scheduler/coordinator logs with the DAG status, run details, and step output in the UI. Done means the underlying parse error is visible in the DAG run details, step output, or at least the DAG status page.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
full-stack
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.