feat(FN-1715): add scope-aware automation and routine scheduling
- Add scope field to automations and routines for granular control - Update automation-store and routine-store with scope-aware query methods - Extend database schema with scope column for automations and routines - Update cron-runner and routine-scheduler to respect scope boundaries - Add project context injection to in-process runtime for scoped execution - Include changeset for minor version bump
This commit is contained in:
12
.changeset/scope-aware-scheduling.md
Normal file
12
.changeset/scope-aware-scheduling.md
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
"@gsxdsm/fusion": minor
|
||||
---
|
||||
|
||||
Add scope-aware automation and routine scheduling support
|
||||
|
||||
- Added `scope` column to automations and routines database tables with migration v34
|
||||
- Added scope-aware `getDueSchedules(scope)` and `getDueRoutines(scope)` query methods to stores
|
||||
- Updated CronRunner to poll schedules by scope with "project", "global", or "all" options
|
||||
- Updated RoutineScheduler to poll routines by scope with "project", "global", or "all" options
|
||||
- Added scope-aware diagnostics to identify which scope lane produced each run
|
||||
- Deterministic de-duplication prevents double-execution when polling both scopes
|
||||
Reference in New Issue
Block a user