Yeuoly
d018ef9033
apply autofix to autofix CI
2025-10-30 17:11:49 +08:00
autofix-ci[bot]
eb3b5f751a
[autofix.ci] apply automated fixes
2025-10-30 09:08:11 +00:00
Yeuoly
e9078eedbd
fix: Variable e is not accessed (reportUnusedVariable)
2025-10-30 16:14:13 +08:00
Yeuoly
6260a1a28c
fix: cycle imports
2025-10-30 16:09:39 +08:00
Yeuoly
08e61d76d6
Potential fix for code scanning alert no. 244: Information exposure through an exception
...
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-10-30 16:00:24 +08:00
Yeuoly
6e0b408dd5
Merge branch 'main' into feat/trigger
2025-10-30 14:43:27 +08:00
QuantumGhost
a1c0bd7a1c
feat(api): Introduce workflow pause state management ( #27298 )
...
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/amd64, build-api-amd64) (push) Waiting to run
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/arm64, build-api-arm64) (push) Waiting to run
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/amd64, build-web-amd64) (push) Waiting to run
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/arm64, build-web-arm64) (push) Waiting to run
Build and Push API & Web / create-manifest (api, DIFY_API_IMAGE_NAME, merge-api-images) (push) Blocked by required conditions
Build and Push API & Web / create-manifest (web, DIFY_WEB_IMAGE_NAME, merge-web-images) (push) Blocked by required conditions
Main CI Pipeline / Check Changed Files (push) Waiting to run
Main CI Pipeline / API Tests (push) Blocked by required conditions
Main CI Pipeline / Web Tests (push) Blocked by required conditions
Main CI Pipeline / Style Check (push) Waiting to run
Main CI Pipeline / VDB Tests (push) Blocked by required conditions
Main CI Pipeline / DB Migration Test (push) Blocked by required conditions
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-10-30 14:41:09 +08:00
lyzno1
be9eeff6c2
Merge remote-tracking branch 'origin/main' into feat/trigger
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/amd64, build-api-amd64) (push) Waiting to run
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/arm64, build-api-arm64) (push) Waiting to run
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/amd64, build-web-amd64) (push) Waiting to run
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/arm64, build-web-arm64) (push) Waiting to run
Build and Push API & Web / create-manifest (api, DIFY_API_IMAGE_NAME, merge-api-images) (push) Blocked by required conditions
Build and Push API & Web / create-manifest (web, DIFY_WEB_IMAGE_NAME, merge-web-images) (push) Blocked by required conditions
2025-10-30 12:14:47 +08:00
Harry
9b5e5f0f50
refactor(api): replace dict type hints with Mapping for improved type safety
...
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/amd64, build-api-amd64) (push) Waiting to run
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/arm64, build-api-arm64) (push) Waiting to run
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/amd64, build-web-amd64) (push) Waiting to run
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/arm64, build-web-arm64) (push) Waiting to run
Build and Push API & Web / create-manifest (api, DIFY_API_IMAGE_NAME, merge-api-images) (push) Blocked by required conditions
Build and Push API & Web / create-manifest (web, DIFY_WEB_IMAGE_NAME, merge-web-images) (push) Blocked by required conditions
Updated type hints in several services to use Mapping instead of dict for better compatibility with various dictionary-like objects. Adjusted credential handling to ensure consistent encryption and decryption processes across ToolManager, DatasourceProviderService, ApiToolManageService, BuiltinToolManageService, and MCPToolManageService. This change enhances code clarity and adheres to strong typing practices.
2025-10-29 18:10:38 +08:00
Harry
fb12f31df2
feat(trigger): system variables for trigger nodes
...
Added a timestamp field to the SystemVariable model and updated the WorkflowAppRunner to include the current timestamp during execution. Enhanced node type checks to recognize trigger nodes in various services, ensuring proper handling of system variables and node outputs in TriggerEventNode and TriggerScheduleNode. This improves the overall workflow execution context and maintains consistency across node types.
2025-10-29 18:10:38 +08:00
Xiyuan Chen
f260627660
feat: use id for webapp ( #27576 )
2025-10-29 01:45:40 -07:00
Jyong
82890fe38e
add uninstalled recommend tools detail ( #27537 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-10-29 15:33:41 +08:00
quicksand
addebc465a
fix: resolve 500 error when updating document chunk settings ( #27551 ) ( #27574 )
2025-10-29 15:31:18 +08:00
lyzno1
d37cc9f9c8
Merge remote-tracking branch 'origin/main' into feat/trigger
2025-10-29 15:16:28 +08:00
Vivec
5ab315aeaf
fix: set conditional capabilities upon MCP client session initialization ( #26234 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Novice <novice12185727@gmail.com>
2025-10-29 15:11:45 +08:00
Harry
dfc5e3609d
refactor(trigger): streamline OAuth client existence check
...
Replaced the method for checking the existence of a system OAuth client with a new dedicated method `is_oauth_system_client_exists` in the TriggerProviderService. This improves code clarity and encapsulates the logic for verifying the presence of a system-level OAuth client. Updated the TriggerOAuthClientManageApi to utilize the new method for better readability.
2025-10-29 14:22:56 +08:00
Harry
b41538d8c7
feat(trigger): reinforcement schedule trigger debugging with cron calculation
...
- Implemented a caching mechanism for schedule trigger debug events using Redis to optimize performance.
- Added methods to create and manage schedule debug runtime configurations, including cron expression handling.
- Updated the ScheduleTriggerDebugEventPoller to utilize the new caching and event creation logic.
- Removed the deprecated build_schedule_pool_key function from event handling.
2025-10-28 23:34:08 +08:00
Harry
18fd79fbe6
feat(trigger): add event_name to PluginTriggerMetadata for enhanced trigger handling
...
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/amd64, build-api-amd64) (push) Waiting to run
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/arm64, build-api-arm64) (push) Waiting to run
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/amd64, build-web-amd64) (push) Waiting to run
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/arm64, build-web-arm64) (push) Waiting to run
Build and Push API & Web / create-manifest (api, DIFY_API_IMAGE_NAME, merge-api-images) (push) Blocked by required conditions
Build and Push API & Web / create-manifest (web, DIFY_WEB_IMAGE_NAME, merge-web-images) (push) Blocked by required conditions
- Introduced event_name attribute in PluginTriggerMetadata to improve metadata clarity.
- Updated dispatch_triggered_workflow function to include event_name when dispatching triggered workflows.
2025-10-28 18:32:06 +08:00
Harry
c16421df27
refactor: improve trigger metadata handling and streamline workflow service
...
- Updated ScheduleTriggerDebugEventPoller to include an empty files list in workflow_args.
- Enhanced WorkflowAppService to handle trigger metadata more effectively, including a new method for processing metadata and removing the deprecated _safe_json_loads function.
- Adjusted PluginTriggerMetadata to use icon_filename and icon_dark_filename for better clarity.
- Simplified async workflow task parameters by changing triggered_from to trigger_from for consistency.
2025-10-28 17:50:06 +08:00
Harry
0d686fc6ae
refactor: streamline trigger event node metadata handling and update async workflow service for JSON serialization
...
- Removed unnecessary input data from the TriggerEventNode's metadata.
- Updated AsyncWorkflowService to use model_dump_json() for trigger metadata serialization.
- Added a comment in WorkflowAppService to address the large size of the workflow_app_log table and the use of an additional details field.
2025-10-28 17:50:06 +08:00
lyzno1
c4996f9563
Merge remote-tracking branch 'origin/main' into feat/trigger
2025-10-28 11:28:06 +08:00
heyszt
543c5236e7
refactor:Decouple Domain Models from Direct Database Access ( #27316 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-10-28 09:59:30 +08:00
quicksand
f01907aac2
fix: knowledge sync from website error ( #27534 )
2025-10-28 09:46:33 +08:00
QuantumGhost
d9860b8907
fix(api): Disable SSE events truncation for service api ( #27484 )
...
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/amd64, build-api-amd64) (push) Waiting to run
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/arm64, build-api-arm64) (push) Waiting to run
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/amd64, build-web-amd64) (push) Waiting to run
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/arm64, build-web-arm64) (push) Waiting to run
Build and Push API & Web / create-manifest (api, DIFY_API_IMAGE_NAME, merge-api-images) (push) Blocked by required conditions
Build and Push API & Web / create-manifest (web, DIFY_WEB_IMAGE_NAME, merge-web-images) (push) Blocked by required conditions
Main CI Pipeline / Check Changed Files (push) Waiting to run
Main CI Pipeline / API Tests (push) Blocked by required conditions
Main CI Pipeline / Web Tests (push) Blocked by required conditions
Main CI Pipeline / Style Check (push) Waiting to run
Main CI Pipeline / VDB Tests (push) Blocked by required conditions
Main CI Pipeline / DB Migration Test (push) Blocked by required conditions
Check i18n Files and Create PR / check-and-update (push) Waiting to run
Disable SSE events truncation for service api invocations to ensure backward compatibility.
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-10-27 21:15:44 +08:00
Novice
0ded6303c1
feat: implement MCP specification 2025-06-18 ( #25766 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-10-27 17:07:51 +08:00
lyzno1
1335be8d60
Revert "feat: propagate trigger metadata for plugin icons across UI"
...
This reverts commit 3bd62f3fdf .
2025-10-27 17:06:40 +08:00
lyzno1
c79d75b32d
Revert "fix: display plugin trigger labels in logs using i18n metadata"
...
This reverts commit 651cc81cfe .
2025-10-27 17:06:35 +08:00
lyzno1
f18054847e
Revert "fix: workflow_trigger"
...
This reverts commit cc219cc81c .
2025-10-27 17:06:30 +08:00
Harry
ae422c2628
fix(trigger): simplify return logic in TriggerProviderService by removing unnecessary None return
2025-10-26 23:48:50 +08:00
lyzno1
cc219cc81c
fix: workflow_trigger
2025-10-25 14:21:52 +08:00
lyzno1
651cc81cfe
fix: display plugin trigger labels in logs using i18n metadata
2025-10-25 12:41:37 +08:00
lyzno1
3bd62f3fdf
feat: propagate trigger metadata for plugin icons across UI
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/amd64, build-api-amd64) (push) Waiting to run
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/arm64, build-api-arm64) (push) Waiting to run
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/amd64, build-web-amd64) (push) Waiting to run
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/arm64, build-web-arm64) (push) Waiting to run
Build and Push API & Web / create-manifest (api, DIFY_API_IMAGE_NAME, merge-api-images) (push) Blocked by required conditions
Build and Push API & Web / create-manifest (web, DIFY_WEB_IMAGE_NAME, merge-web-images) (push) Blocked by required conditions
2025-10-25 12:15:21 +08:00
zhsama
4597ab4efb
Merge branch 'refs/heads/main' into feat/trigger
2025-10-24 14:44:15 +08:00
Novice
634fb192ef
fix: remove unnecessary Flask context preservation to avoid circular import in audio service ( #27380 )
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/amd64, build-api-amd64) (push) Waiting to run
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/arm64, build-api-arm64) (push) Waiting to run
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/amd64, build-web-amd64) (push) Waiting to run
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/arm64, build-web-arm64) (push) Waiting to run
Build and Push API & Web / create-manifest (api, DIFY_API_IMAGE_NAME, merge-api-images) (push) Blocked by required conditions
Build and Push API & Web / create-manifest (web, DIFY_WEB_IMAGE_NAME, merge-web-images) (push) Blocked by required conditions
Main CI Pipeline / Check Changed Files (push) Waiting to run
Main CI Pipeline / API Tests (push) Blocked by required conditions
Main CI Pipeline / Web Tests (push) Blocked by required conditions
Main CI Pipeline / Style Check (push) Waiting to run
Main CI Pipeline / VDB Tests (push) Blocked by required conditions
Main CI Pipeline / DB Migration Test (push) Blocked by required conditions
2025-10-24 10:41:14 +08:00
lyzno1
c3eec7ea8a
Merge remote-tracking branch 'origin/main' into feat/trigger
2025-10-24 09:47:28 +08:00
-LAN-
8ff6de91b0
Fix UpdatedVariable truncation crash ( #27359 )
...
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/amd64, build-api-amd64) (push) Waiting to run
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/arm64, build-api-arm64) (push) Waiting to run
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/amd64, build-web-amd64) (push) Waiting to run
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/arm64, build-web-arm64) (push) Waiting to run
Build and Push API & Web / create-manifest (api, DIFY_API_IMAGE_NAME, merge-api-images) (push) Blocked by required conditions
Build and Push API & Web / create-manifest (web, DIFY_WEB_IMAGE_NAME, merge-web-images) (push) Blocked by required conditions
Main CI Pipeline / Check Changed Files (push) Waiting to run
Main CI Pipeline / API Tests (push) Blocked by required conditions
Main CI Pipeline / Web Tests (push) Blocked by required conditions
Main CI Pipeline / Style Check (push) Waiting to run
Main CI Pipeline / VDB Tests (push) Blocked by required conditions
Main CI Pipeline / DB Migration Test (push) Blocked by required conditions
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-10-23 23:18:20 +08:00
hjlarry
ecd1d44d23
chore: update trigger dsl version to 0.5.0
2025-10-23 15:05:39 +08:00
Stream
6e7fb59638
Merge branch 'feat/plugin-readme' into feat/trigger
...
# Conflicts:
# api/controllers/console/workspace/plugin.py
# api/core/plugin/entities/plugin_daemon.py
2025-10-23 12:10:44 +08:00
lyzno1
863b4f8fe9
Merge remote-tracking branch 'origin/main' into feat/trigger
2025-10-23 11:54:35 +08:00
-LAN-
2d73ee64a3
Refine variable truncator type hints ( #27220 )
2025-10-22 17:08:55 +08:00
Yeuoly
df9932088f
avoid time slice strategy in community edition
2025-10-22 12:50:11 +08:00
Garfield Dai
845adb664a
knowledge-pipeline-for-enterprise ( #27240 )
2025-10-22 10:29:27 +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
-LAN-
caf1a5fbab
Fix variable truncator handling for UpdatedVariable ( #27197 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-10-21 16:23:17 +08:00
feelshana
2bcf96565a
Feature:during account initialization, set the interface language to be consistent with the display language( #27029 ) ( #27042 )
...
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: crazywoola <100913391+crazywoola@users.noreply.github.com>
2025-10-21 15:53:12 +08:00
Jyong
05f66fcf0d
remove built-in pipeline template user field ( #27184 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-10-21 15:30:58 +08:00
-LAN-
759a932bb7
Fix: release WorkflowTool database sessions promptly ( #26893 )
2025-10-21 15:17:17 +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