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

Improve the pattern of "schedule" in the JSON schema file #637

Merged
merged 1 commit into from
Jul 29, 2024

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

@yohamta yohamta 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!

@yohamta yohamta merged commit 9497902 into dagu-org:main Jul 29, 2024
3 checks passed
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