You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c2655e8
Browse filesBrowse the repository at this point in the historyBrowse files
fix(app-shell): clearing a start node's Cron schedule in the flow designer no longer leaves a typed schedule block with no cadence
6
+
7
+
Clause-②: no
8
+
Metadata-protocol: none
9
+
10
+
Clearing the Cron schedule box on a typed `config.schedule` such as `{ type: 'cron', expression, timezone }` used to store `{ type: 'cron', timezone }`. The engine binds nothing from that block, so a schedule flow silently never ran and a time-relative sweep did not fall back to its daily default the way the field's help says. The published `ScheduleSchema` refuses the same block. The designer now removes `config.schedule` entirely in that case, as it already did for an untyped `{ expression }`. Typing a cron over a typed block still keeps its `type` and `timezone`.
Copy file name to clipboardExpand all lines: ui/packages/app-shell/src/views/metadata-admin/inspectors/FlowNodeInspector.scheduleCadence-12779.test.tsx
+24Lines changed: 24 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -238,6 +238,30 @@ describe('a typed cron stores a descriptor the engine resolves to it (objectui#1
238
238
});
239
239
});
240
240
241
+
describe('clearing the Cron schedule box drops a typed block it would leave with no cadence (objectstack#31383)',()=>{
0 commit comments