ef25255bfe
fix(api): close connection for workflow_paused event
...
This only affect new connection, not connections which requests
state snapshots.
2026-01-21 13:48:50 +08:00
70f12ad310
fix(api): preserve the output generated before pausing
2026-01-19 16:43:01 +08:00
33dd9c8ad7
chore(api): fix lint and style issues
2026-01-19 16:22:52 +08:00
2db638b992
Add a configuration for controlling the redis instance / type used for streaming events between celery worker and api (vibe-kanban 08e07904)
...
Currently, the celery worker executing workflows / chatflows uses redis pubsub to publish events to api.
(See \_topic\_msg\_generator and \_publish\_streaming\_response)
The current implementation uses the default redis client.
For large scale deployment, we need to use a dedicated redis cluster to ensure performance.
To achieve this, you should:
1. introduce a dedicated configuration class to control
the redis address used for pubsub. (Ideally, there should only be one configuration item such as `pubsub_redis_url`, and its default value should be the original redis confugration.)
2. Add an option to switch between pubsub and sharded pubsub. When shared pubsub is specified, the ShardedRedisBroadcastChannel should be used instead.
COmplete the task above, add some unit tests.
2026-01-19 07:40:44 +08:00
afdf2397f2
Change the is_resumption field in WorkflowStarted event into reason (vibe-kanban 19ac040e)
...
Reason should be an enumeration with only one member `resumption` currently.
Please update these part of events:
- Graph / Engine Event (GraphRunStartedEvent)
- Queue event (QueueWorkflowStartedEvent)
- SSE response event (WorkflowStartStreamResponse)
Besides, you should remove the `is_resumption` flag for `node_started` events; including:
- Queue Event (`QueueNodeStartedEvent`)
- SSE Event (`NodeStartStreamResponse`)
- Node event (`NodeRunStartedEvent`)
After finishing the changes above, adjust related tests.
You should run the affected tests and ensure they can pass. (You should use `uv run pytest` to run tests)
2026-01-18 21:00:25 +08:00
552b65e36b
fix(api): ensure is_resumption is properly propagated to SSE events
...
While running workflow / chatflow from "Installed Apps" / "Web App"
pages, the `node_started` SSE event is manually serialized from the
pydantic model. This causes the lack of `is_resumption` flag in SSE
events.
This PR addresses the problem by adding a `is_resumption` field to
the serialized dict.
2026-01-14 10:26:57 +08:00
8e0e5d2974
feat(api): send ping while the connection is idle
...
To keep the connection alive and avoid being closed.
2026-01-14 10:25:13 +08:00
6bcd4ad740
fix(api): Ensure is_resumption for node_started event is correctly set
2026-01-13 09:25:44 +08:00
f988619d2c
feat(api): adjust model fields and cleanup form creation logic
2026-01-08 10:27:52 +08:00
de428bc9bb
feat(api): add human input data to extra contents
2026-01-08 10:21:53 +08:00
3c79bea28f
fix(api): fix race condition between workflow execution and SSE subscription
2026-01-07 09:45:12 +08:00
001d2c5062
fix(api): fix invoke_from for workflow is not properly set
2026-01-06 17:19:53 +08:00
24362ce59e
feat(api): add node_title to HumanInputFormFilled events
2026-01-06 16:48:31 +08:00
184f7ab144
WIP: feat(api): always use form_token to submit human input form
2026-01-06 08:53:24 +08:00
3ab1ad6530
WIP: feat(api): Implement HumanInputFormFilled event
2026-01-04 10:25:00 +08:00
6337a9a125
WIP: feat(api): add is_resumption to node_started and workflow_started events
2026-01-04 01:10:50 +08:00
f4642f85b7
fix(api): expose resolved_placeholder_values in HUMAN_INPUT_REQUIRED event
2025-12-31 11:29:04 +08:00
37dd61558c
feat(api): Implement HITL for Workflow, add is_resumption for start event
2025-12-30 16:40:08 +08:00
5d0dd329f2
WIP: human input timeout
2025-12-26 12:34:46 +08:00
203a3a68af
WIP: huamninput email sending
2025-12-26 12:34:46 +08:00
08175ab32a
feat: support variable resolution, fix linting
2025-12-26 12:34:26 +08:00
dddcf1de6c
WIP: api debugging
2025-12-26 12:33:30 +08:00
c0f1aeddbe
WIP: resume
2025-12-26 11:52:49 +08:00
43348ce1a6
WIP: P4
2025-12-26 11:39:28 +08:00
e47059514a
WIP: P3
2025-12-26 11:36:40 +08:00
4f48b8a57d
WIP: P2
2025-12-26 11:36:19 +08:00
8b914d9116
WIP
2025-12-26 10:45:23 +08:00
542eb04ad8
fix: preserve empty list for FILE_LIST type in base_app_generator ( #29618 )
...
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com >
2025-12-22 21:32:07 +08:00
e6545f2727
perf: decrease db query ( #29837 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-18 15:35:52 +08:00
dd237f129d
fix: fix json object validate ( #29840 )
2025-12-18 14:46:00 +08:00
2e1efd62e1
revert: "fix(ops): add streaming metrics and LLM span for agent-chat traces" ( #29469 )
2025-12-11 12:53:37 +08:00
9affc546c6
Feat/support multimodal embedding ( #29115 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-09 14:41:46 +08:00
10b59cd6ba
add service layer OTel Span ( #28582 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-05 21:58:32 +08:00
a849411978
fix: treat empty default values for optional file inputs as unset ( #28948 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-05 11:16:18 +08:00
102ee7ae13
perf: optimize generate conversation name ( #29131 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-05 10:32:53 +08:00
cc6c59b27a
fix: fix db session already begin ( #29160 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-05 09:39:39 +08:00
725d6b52a7
feat: start node support json schema ( #29053 )
2025-12-05 01:22:10 +09:00
e904c65a9d
perf: decrease heavy db operation ( #29125 )
2025-12-04 16:09:47 +08:00
03357ff1ec
fix: catch error in response converter ( #29056 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-04 11:25:16 +08:00
e8f93380d1
Fix validation ( #28985 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-02 10:25:52 +08:00
d162f7e5ef
feat(api): automatically NODE_TYPE_CLASSES_MAPPING generation from node class definitions ( #28525 )
2025-12-01 14:14:19 +08:00
1b733abe82
feat: creates logs immediately when workflows start (not at completion) ( #28701 )
2025-11-27 15:22:33 +08:00
1e23957657
fix(ops): add streaming metrics and LLM span for agent-chat traces ( #28320 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com >
2025-11-26 22:45:20 +08:00
1c1f124891
Enhanced GraphEngine Pause Handling ( #28196 )
...
This commit:
1. Convert `pause_reason` to `pause_reasons` in `GraphExecution` and relevant classes. Change the field from a scalar value to a list that can contain multiple `PauseReason` objects, ensuring all pause events are properly captured.
2. Introduce a new `WorkflowPauseReason` model to record reasons associated with a specific `WorkflowPause`.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: -LAN- <laipz8200@outlook.com >
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-11-26 19:59:34 +08:00
abc13ef762
Feat/web workflow improvements ( #27981 )
...
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com >
Co-authored-by: johnny0120 <johnny0120@users.noreply.github.com >
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Wood <tuiskuwood@outlook.com >
2025-11-25 19:54:40 +08:00
3841e8578f
fix: use default values for optional workflow input variables ( #28546 ) ( #28527 )
...
Co-authored-by: Claude <noreply@anthropic.com >
2025-11-24 10:08:26 +08:00
a6c6bcf95c
more typed orm ( #28507 )
2025-11-21 21:45:51 +08:00
237bb4595b
more typed orm ( #28494 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-11-21 16:42:27 +09:00
012877d8d4
fix: address user input preparation in workflow app generator ( #28410 )
...
Co-authored-by: lyzno1 <92089059+lyzno1@users.noreply.github.com >
2025-11-20 02:09:40 +08:00
b76e17b25d
feat: introduce trigger functionality ( #27644 )
...
Signed-off-by: lyzno1 <yuanyouhuilyz@gmail.com >
Co-authored-by: Stream <Stream_2@qq.com >
Co-authored-by: lyzno1 <92089059+lyzno1@users.noreply.github.com >
Co-authored-by: zhsama <torvalds@linux.do >
Co-authored-by: Harry <xh001x@hotmail.com >
Co-authored-by: lyzno1 <yuanyouhuilyz@gmail.com >
Co-authored-by: yessenia <yessenia.contact@gmail.com >
Co-authored-by: hjlarry <hjlarry@163.com >
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: WTW0313 <twwu@dify.ai >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-11-12 17:59:37 +08:00