Commit Graph

138 Commits (93a00c1cc270f475ce80964aa4878b64cbbe5a47)

Author SHA1 Message Date
GogoVega 93a00c1cc2
Update unit tests 2025-11-09 14:39:54 +01:00
GogoVega 1d006de7c6
Allow scoped flows to close itself if `failFast` enabled 2025-11-09 14:37:22 +01:00
GogoVega 0bfcbce470
Filter initiator nodes with nodes to be closed 2025-11-09 14:35:26 +01:00
GogoVega 437282e2b3
Improve the logic to determine the shutdown scope 2025-11-09 14:32:42 +01:00
GogoVega 6d005533e8
Some fixes (scope, failFast and subflow) 2025-11-08 17:13:57 +01:00
GogoVega d49a2c9e3d
Missed to replace props name in the runtime 2025-11-07 08:34:23 +01:00
GogoVega 5113851189
Add the Graceful Shutdown UI 2025-11-06 21:38:28 +01:00
GogoVega af6d7c2b9b
Calculate shutdown scope within the runtime 2025-11-06 20:11:02 +01:00
GogoVega 0d076f2b65
Ensure the global flow is the last one closed 2025-11-05 12:42:53 +01:00
GogoVega 0cd00d8410
Allow scoped flow to cancel shutdown of other flows 2025-11-05 11:44:48 +01:00
GogoVega ff5c2a264d
Allow scoped flows to have their timeout 2025-11-05 11:39:41 +01:00
GogoVega e17256934d
Remove the polling loop + improvements 2025-11-04 12:15:55 +01:00
GogoVega d52520250d
Add type guards and fix undefined node 2025-11-03 18:47:36 +01:00
GogoVega 09e177bbbf
Allow graceful shutdown for node/flow deployment 2025-11-03 15:46:30 +01:00
GogoVega cdd2abc4c1
Initial implementation of graceful shutdown 2025-11-01 22:57:32 +01:00
Nick O'Leary 34c59a58e5
Ensure flow property is set on sf instance nodes so NR_SUBFLOW_PATH can be evaluated 2025-10-09 14:42:27 +01:00
olivierpelet d58b802160
Fix config node resolution in packaged subflows when instancied in a subflow 2025-08-13 15:22:47 +02:00
Nick O'Leary 90c2758624
Add code to error object sent by Catch node 2025-03-13 10:49:15 +00:00
Nick O'Leary e2981f2970
Allow env var access to context 2025-01-17 16:45:44 +00:00
GogoVega 6d6e6fa416
Get the env config node from the parent subflow 2024-11-15 14:30:47 +01:00
Nick O'Leary efdc1b1a1d
Ensure group nodes are properly exported in /flow api 2024-06-26 14:30:33 +01:00
Nick O'Leary 3a91fc17fd
Merge branch 'master' into sync-dev 2024-06-11 10:14:01 +01:00
Nick O'Leary 1048b16f3c
Merge pull request #4754 from node-red/4752-add-rewired-to-stoplist
Include rewired nodes when calculating Modified Flows stop list
2024-06-10 20:44:20 +01:00
Nick O'Leary 526b3fda91
Include rewired nodes when calculating Modified Flows stop list 2024-06-10 16:56:49 +01:00
Nick O'Leary d70b7ea924
Fix clone of group env var properties
Closes #4751
2024-06-10 16:15:06 +01:00
Nick O'Leary 56fe2801eb
Merge branch 'master' into dev 2024-05-14 17:27:02 +01:00
Nick O'Leary 66a667fe58
Pass full error object in Function node and copy over cause property
Fixes #4683
2024-05-09 16:48:51 +01:00
Nick O'Leary 1a3cc06935
Use rfdc module for cloning when we know its pure JSON 2024-05-03 16:45:50 +01:00
Nick O'Leary 236e668201
Allow blank strings to be used for env var property substitutions
Fixes #4663
2024-04-24 22:58:11 +02:00
Nick O'Leary 014691346a
Handle malformed env var values and log errors 2024-03-27 18:23:12 +00:00
Nick O'Leary fa78bb3d78
Handle undefined env vars
Fixes #4579
2024-02-26 16:17:09 +00:00
Nick O'Leary 565c212779
Handle modified-nodes deploy after replacing unknown config node
Fixes #4548
2024-02-05 16:22:58 +00:00
Nick O'Leary d2dc1fcc80
Ensure subflow instance node has g property set 2024-01-22 16:28:22 +00:00
Nick O'Leary 3a6b1e86dc
Clone objects types when getting env values
Fixes #4479
2024-01-08 20:56:17 +00:00
Nick O'Leary 2963f3f1b8
Ensure nested groups inside subflows have their g props remapped 2023-12-07 11:47:02 +00:00
Nick O'Leary d42e75ebd0
Handle unknown node reference inside subflow module 2023-11-30 14:46:43 +00:00
Nick O'Leary fb54c05d9f
Ensure subflow instances keep track of their groups 2023-11-29 16:12:12 +00:00
Nick O'Leary b6ecc6d9ea
Handle false-like env vars properly 2023-11-02 00:40:55 +01:00
Nick O'Leary 861dc0c383
Ensure global-config nodes lookup cred values properly
Fixes #4396
2023-11-01 11:07:48 +01:00
Nick O'Leary ee48a2f2bf
Merge pull request #4362 from node-red/4342-subflow-err
Handle credential env var evaluation when no value set
2023-09-25 18:20:28 +01:00
Nick O'Leary c9320c190d
Ensure creds object is not undefined when evaling env vars 2023-09-25 18:08:02 +01:00
Nick O'Leary 41797f8cef
Handle credential env var evaluation when no value set 2023-09-22 13:56:54 +01:00
Nick O'Leary 797cea5394
Fix env evaluation when one env references another in the same object
Fixes #4342
2023-09-22 13:49:54 +01:00
Nick O'Leary 0dc024c722
Handle group-scoped nodes inside subflow
Fixes #4292
2023-09-01 16:38:46 +01:00
Nick O'Leary 8b7b3e22d7
Merge branch 'master' into dev 2023-07-26 16:59:12 +01:00
Nick O'Leary ec7e594ec1
Add NR_SUBFLOW_NAME/ID/PATH env vars
Closes #4239
2023-07-14 17:14:39 +01:00
Nick O'Leary 271b1327c7
Merge branch 'dev' into revert-4225-4196-fix-jsonata-env-var-async 2023-07-10 12:37:41 +01:00
Nick O'Leary a5066d529f
Use flowChanged in diff to mark flows to restart 2023-07-10 12:30:36 +01:00
Nick O'Leary 7481b78b16
Force reeval of env vars if group/flow/global envs change 2023-07-10 12:04:52 +01:00
Nick O'Leary 3209777aba
Tidy up flow/util 2023-06-23 15:48:06 +01:00