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

   ## Was this PR generated or assisted by AI?
   
   YES. The implementation was assisted by AI under human direction and review.
   
   ## Purpose of the pull request
   
   This pull request implements DSIP #18454 by adding schedule trigger type 
support to DolphinScheduler. Schedules can now use either the existing Quartz 
Cron trigger or a fixed interval trigger, with explicit misfire policy control.
   
   Closes #18454
   
   ## Brief change log
   
   - Add ScheduleTriggerType and MisfirePolicy enums.
   - Add fixed interval schedule parsing with validation.
   - Persist trigger_type and misfire_policy in schedule entities, mapper SQL, 
base schemas, and 3.3.2 upgrade DDL.
   - Extend schedule create, update, query, and preview payloads with trigger 
type and misfire policy fields.
   - Add Quartz SimpleTrigger support for fixed interval schedules.
   - Share misfire policy mapping between CronTrigger and SimpleTrigger 
builders.
   - Update the UI timing dialog to choose Cron or fixed interval trigger type, 
configure interval values, configure misfire policy, and preview both trigger 
types.
   - Add schedule table columns for trigger type and misfire policy.
   - Add unit tests for interval parsing and SimpleTrigger construction.
   
   ## Verify this pull request
   
   This change added tests and can be verified as follows:
   
   - mvn -pl dolphinscheduler-common -Dtest=IntervalScheduleTest test
   - pnpm exec prettier --write 
src/views/projects/workflow/definition/components/timing-modal.tsx 
src/views/projects/workflow/definition/components/use-form.ts 
src/views/projects/workflow/definition/components/use-modal.ts 
src/views/projects/workflow/definition/timing/use-table.ts 
src/locales/en_US/project.ts src/locales/zh_CN/project.ts
   - pnpm exec eslint 
src/views/projects/workflow/definition/components/timing-modal.tsx 
src/views/projects/workflow/definition/components/use-form.ts 
src/views/projects/workflow/definition/components/use-modal.ts 
src/views/projects/workflow/definition/timing/use-table.ts 
src/locales/en_US/project.ts src/locales/zh_CN/project.ts
   - pnpm exec vue-tsc --noEmit
   - git diff --check
   
   ## Pull Request Notice
   
   [Pull Request 
Notice](https://github.com/apache/dolphinscheduler/blob/dev/docs/docs/en/contribute/join/pull-request.md)


-- 
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