Yeuoly
14acd05846
fix
2025-10-22 12:41:19 +08:00
Yeuoly
cb5607fc8c
refactor: TimeSliceLayer
2025-10-22 12:13:12 +08:00
Yeuoly
7f70d1de1c
ASYNC_WORKFLOW_SCHEDULER_GRANULARITY
2025-10-22 12:10:12 +08:00
Yeuoly
c36173f5a9
fix: typing
2025-10-22 11:55:26 +08:00
Yeuoly
7acbe981e2
fix: discorrect elapsed_time
2025-10-22 11:49:02 +08:00
Yeuoly
dd6ab7c68c
feat: support pausing workflow trigger log
2025-10-22 11:45:16 +08:00
Yeuoly
3d5e2c5ca1
feat(trigger): add suspend/timeslice layers and workflow CFS scheduler
...
- add suspend, timeslice, and trigger post engine layers
- introduce CFS workflow scheduler tasks and supporting entities
- update async workflow, trigger, and webhook services to wire in the new scheduling flow
2025-10-21 19:20:54 +08:00
zhsama
6251090893
Merge remote-tracking branch 'origin/feat/trigger' into feat/trigger
2025-10-21 14:39:10 +08:00
zhsama
aa5e04b70e
Merge branch 'main' into feat/trigger
...
# Conflicts:
# web/app/components/workflow/hooks-store/store.ts
# web/package.json
# web/pnpm-lock.yaml
2025-10-21 14:36:07 +08:00
Harry
8ac25c29ee
feat(trigger): implement subscription refresh logic with enhanced error handling and logging
2025-10-21 14:11:27 +08:00
-LAN-
4e6682bd85
Add workflow graph validation checks ( #27106 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-10-21 11:27:12 +08:00
Asuka Minato
32c715c4d0
rm type ignore ( #25715 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
2025-10-21 11:26:58 +08:00
Yeuoly
f02d575379
Merge branch 'main' into feat/trigger
2025-10-21 11:09:26 +08:00
Harry
96f0b7abe3
fix(trigger): handle missing 'inputs' key in trigger data retrieval
2025-10-20 21:47:49 +08:00
Bohan Feng
977690590e
fix: parameter extractor instructions placeholder not replaced ( #26235 ) ( #27135 )
2025-10-20 19:39:20 +09:00
Harry
dff536ab6d
feat(trigger): trigger plugin protocol improvements
2025-10-20 16:50:03 +08:00
Yeuoly
538b639bef
fix: unify trigger url generation
2025-10-20 15:34:51 +08:00
Guangdong Liu
34fbcc9457
fix: ensure document re-querying in indexing process for consistency ( #27077 )
2025-10-20 14:12:39 +08:00
white-loub
f811471b18
fix: support structured output in streaming mode for LLM node ( #27089 )
2025-10-20 14:53:25 +09:00
-LAN-
4dccdf9478
Ensure suggested questions parser returns typed sequence ( #27104 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-10-20 13:01:09 +08:00
-LAN-
578247ffbc
feat(graph_engine): Support pausing workflow graph executions ( #26585 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-10-19 21:33:41 +08:00
QuantumGhost
141ca8904a
fix(api): ensure JSON responses are properly serialized in ApiTool ( #27097 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-10-19 18:56:02 +08:00
Yeuoly
3e4f2bcf14
optimize: TriggerDispatchResponse
2025-10-18 20:40:59 +08:00
Yeuoly
65c6203ad7
fix: correct building reference
2025-10-18 19:54:06 +08:00
Yeuoly
3a18337129
refactor: confused abstract class
2025-10-18 19:47:23 +08:00
Yeuoly
5d6b9b0cb1
refactor
2025-10-18 19:41:53 +08:00
Yeuoly
6d09330f98
chore: rename PluginTriggerManager to PluginTriggerClient
2025-10-18 19:33:08 +08:00
Yeuoly
31cf4b6619
fix: query parameter dose not exist in workflow
2025-10-18 19:19:36 +08:00
Yeuoly
dd0da3218c
feat: introduce payload field to plugin trigger processing
2025-10-18 19:15:46 +08:00
Yeuoly
11c9219848
chore: better exception handling
2025-10-18 19:15:09 +08:00
Yeuoly
b1ffd2ef2b
refine: use enum reference to avoid plain text declarations
2025-10-18 19:14:24 +08:00
Yeuoly
86cf7952fb
refactor: add typing annotation
2025-10-18 19:13:07 +08:00
Yeuoly
d790d2b6bc
feat: introduce payload field to TriggerDispatchResponse and a better typing
2025-10-18 19:12:43 +08:00
Yeuoly
a711a8e759
refactor: better typing
2025-10-18 19:11:50 +08:00
Yeuoly
95aeb61d7c
fix: missing backwards invocation
2025-10-18 19:10:22 +08:00
Yeuoly
5edfbd5305
fix: meaningless error messages
2025-10-18 16:27:12 +08:00
Amy
830f891a74
Fix json in md when use quesion classifier node ( #26992 )
...
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-10-18 11:58:40 +08:00
Harry
80f2c1be67
fix(trigger): enhance error handling and refactor end user creation in trigger workflows
...
- Improved error handling in `TriggerSubscriptionListApi` to return a 404 response for ValueErrors.
- Refactored end user creation logic in `service_api/wraps.py` to use `get_or_create_end_user` for better clarity and consistency.
- Introduced a new method `create_end_user_batch` for batch creation of end users, optimizing database interactions.
- Updated various trigger-related services to utilize the new end user handling, ensuring proper user context during trigger dispatching.
2025-10-17 21:00:57 +08:00
lyzno1
8a5174d078
Merge remote-tracking branch 'origin/main' into feat/trigger
2025-10-17 19:21:15 +08:00
Harry
f20452622a
fix(trigger): improve event retrieval handling in PluginTriggerProviderController
...
- Updated the `get_event` method to return `None` instead of raising a ValueError when an event is not found, enhancing error handling.
- Adjusted the `get_event_parameters` method to handle cases where the event may be `None`, returning an empty dictionary instead of causing an error.
- Improved type hinting for better clarity and type safety.
2025-10-17 14:43:43 +08:00
-LAN-
04c91111e9
fix(trigger): trigger node is marked as 'branch' type
2025-10-17 13:37:46 +08:00
hjlarry
5b2f323a87
improve webhook request headers
2025-10-17 11:27:48 +08:00
quicksand
d7f0a31e24
Fix: User Context Loss When Invoking Workflow Tool Node in Knowledge … ( #26495 )
2025-10-17 09:09:45 +08:00
Yongtao Huang
312974aa20
Chore: remove unused class-level variables in DatasourceManager ( #27011 )
...
Signed-off-by: Yongtao Huang <yongtaoh2022@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-10-17 09:07:28 +08:00
Dhruv Gorasiya
d19c100166
fix: logical error in Weaviate distance calculation ( #27019 )
...
Co-authored-by: crazywoola <427733928@qq.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-10-17 09:06:50 +08:00
Dhruv Gorasiya
a8ad80c405
Fixed Weaviate no module found issue (issue #26938 ) ( #26964 )
...
Co-authored-by: crazywoola <427733928@qq.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-10-16 22:41:48 +08:00
-LAN-
24612adf2c
Fix dispatcher idle hang and add pytest timeouts ( #26998 )
2025-10-16 22:15:03 +08:00
lyzno1
3865555113
Merge remote-tracking branch 'origin/main' into feat/trigger
2025-10-16 18:30:33 +08:00
Yongtao Huang
8b61f5e9c4
Fix: avoid duplicate response_chunk update in `convert_stream_simple_response` ( #26965 )
...
Signed-off-by: Yongtao Huang <yongtaoh2022@gmail.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2025-10-16 15:53:07 +08:00
Harry
671aba6ab7
fix(trigger): handle missing subscription constructor gracefully in PluginTriggerProviderController
...
- Updated the logic in `PluginTriggerProviderController` to return an empty list instead of raising a ValueError when the subscription constructor is not found, improving error handling and flow.
2025-10-16 15:09:13 +08:00