liang-wenjie opened a new pull request, #18548:
URL: https://github.com/apache/dolphinscheduler/pull/18548

   ## What is changed
   
   Add an independent interval trigger type for workflow schedules.
   
   - Support CRON and INTERVAL trigger types.
   - Represent interval schedules as JSON with hour, minute, second, and repeat 
fields.
   - Support finite execution counts and unlimited repetition (`repeat = -1`).
   - Use Quartz SimpleTrigger for interval schedules and honor the existing 
missed-fire policy.
   - Generate interval-based preview times and expose interval configuration in 
the UI.
   - Add database initialization and 3.5.0 upgrade columns for `trigger_type`.
   
   ## Why is this needed
   
   For interval scheduling, when executions overlap or a previous run is still 
active, the next fire time should continue to be calculated from the configured 
interval, with an optional execution count limit.
   
   ## Tests
   
   - `mvnw -B -pl 
dolphinscheduler-scheduler-plugin/dolphinscheduler-scheduler-quartz -am 
-DskipTests=true -Dspotless.skip=true -DskipUT=true -Djacoco.skip=true 
-Danalyze.skip=true compile`
   - `git diff --check`
   
   The broader API reactor build was attempted but stopped in an unrelated 
`dolphinscheduler-datasource-starrocks` remote-resource failure.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to