Yeuoly
a03ff39f3e
chore: add to .env.example
2025-10-20 15:42:29 +08:00
Yeuoly
a6373e357a
fix: typing
2025-10-20 15:38:54 +08:00
Yeuoly
538b639bef
fix: unify trigger url generation
2025-10-20 15:34:51 +08:00
lyzno1
1c2f95eeb6
fix(migrations): chain messages.app_mode upgrade after plugin trigger
2025-10-20 13:40:37 +08:00
lyzno1
81b3436ec4
fix(trigger): resolve circular import in models
2025-10-20 09:23:11 +08:00
Yeuoly
3e4f2bcf14
optimize: TriggerDispatchResponse
2025-10-18 20:40:59 +08:00
Yeuoly
c7696964b9
fix: refine
2025-10-18 20:27:22 +08:00
Yeuoly
fb8ecf7b5a
refactor: move out enums to specific file
2025-10-18 20:22:21 +08:00
Yeuoly
e3c2345b21
fix: typing
2025-10-18 20:17:23 +08:00
Yeuoly
bfe0d14409
fix: typing
2025-10-18 20:16:10 +08:00
Yeuoly
c7498c3a11
fix: typing
2025-10-18 20:14:00 +08:00
Yeuoly
5fba41688a
refactor: cleaning up terrible data
2025-10-18 20:12:20 +08:00
Yeuoly
b63b9c32f7
refactor: models
2025-10-18 20:06:46 +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
b6b433626e
fix: typing
2025-10-18 19:43:00 +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
5df9afa91a
fix: typing
2025-10-18 19:32:08 +08:00
Yeuoly
30a341331f
chore: unify request handling
2025-10-18 19:29:00 +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
8a18b6e13b
refactor webhook service enduser operations
2025-10-18 19:11:15 +08:00
Yeuoly
95aeb61d7c
fix: missing backwards invocation
2025-10-18 19:10:22 +08:00
Yeuoly
e8b0144cf7
refactor: remove common end user operations out of wraps.py and move it into EndUserService
2025-10-18 19:09:55 +08:00
Yeuoly
5edfbd5305
fix: meaningless error messages
2025-10-18 16:27:12 +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
bc0d5f4e41
fix(trigger): enhance subscription retrieval error handling in TriggerService
...
- Added exception handling for `get_subscription_by_endpoint` to return a 404 response when the plugin is not found and a 500 response for other errors.
- Improved overall robustness of the subscription retrieval process.
2025-10-17 14:43:43 +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
NeatGuyCoding
6517323add
Feature: add test containers based tests for mail register tasks ( #27040 )
...
Signed-off-by: NeatGuyCoding <15627489+NeatGuyCoding@users.noreply.github.com>
2025-10-17 14:29:56 +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
hjlarry
40e17ef801
fix merge main cause current_user not defined
2025-10-17 09:49:09 +08:00
-LAN-
9d5300440c
Restore coverage for skipped workflow tests ( #27018 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-10-17 09:11:48 +08:00
Asuka Minato
19cc6ea993
fix 27003 ( #27005 )
...
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>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-17 09:10:16 +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
Xiyuan Chen
06649f6c21
Update email templates to improve clarity and consistency in messagin… ( #26970 )
2025-10-16 01:42:22 -07: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