Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@rocwang
Copy link
Contributor

@rocwang rocwang commented Jul 29, 2024

The current JSON schema of DAGs doesn't support cron expressions well on the schedule field. This PR improves that. The cron pattern is copied from https://github.com/MediaMath/lambda-cron/blob/master/lambda_cron/schema.json#L11.

Before:

Screenshot 2024-07-29 at 10 41 15 PM

After: No more wiggly lines.

Screenshot 2024-07-29 at 10 42 16 PM

See also #325

@rocwang rocwang changed the title refactor: improve the pattern of "schedule" in the JSON schema file Improve the pattern of "schedule" in the JSON schema file Jul 29, 2024
Copy link
Collaborator

@yottahmd yottahmd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✨✨✨LGTM✨✨✨, thank you for improving the schema file!

@yottahmd yottahmd merged commit 9497902 into dagu-org:main Jul 29, 2024
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.

2 participants