dify/api/tests/unit_tests
Yeuoly b0f1e55a87 refactor: remove triggered_by field from webhook triggers and use automatic sync
- Remove triggered_by field from WorkflowWebhookTrigger model
- Replace manual webhook creation/deletion APIs with automatic sync via WebhookService
- Keep only GET API for retrieving webhook information
- Use same webhook ID for both debug and production environments (differentiated by endpoint)
- Add sync_webhook_relationships to automatically manage webhook lifecycle
- Update tests to remove triggered_by references
- Clean up unused imports and fix type checking issues

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-10 17:17:19 +08:00
..
configs Typing test (#24651) 2025-08-28 09:36:39 +08:00
controllers feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
core refactor(trigger): update trigger provider API and clean up unused classes 2025-09-04 17:45:15 +08:00
extensions feat: add workflow schedule trigger support (#24428) 2025-09-10 13:24:23 +08:00
factories feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
libs chore: bump supabase and pyjwt versions and added tests (#24681) 2025-08-28 13:45:56 +08:00
models Flask 3.1.2 upgrade fix by Avoids using current_user in background thread (#24290) 2025-08-22 14:47:13 +08:00
oss chore: cleanup unnecessary mypy suppressions on imports (#24712) 2025-08-28 23:17:25 +08:00
repositories feat(workflow_cycle_manager): Removes redundant repository methods and adds caching (#22597) 2025-07-18 09:26:05 +08:00
services refactor: remove triggered_by field from webhook triggers and use automatic sync 2025-09-10 17:17:19 +08:00
tasks feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
utils chore: cleanup unnecessary mypy suppressions on imports (#24712) 2025-08-28 23:17:25 +08:00
.gitignore Enhance Code Consistency Across Repository with `.editorconfig` (#19023) 2025-04-29 18:04:33 +08:00
__init__.py FEAT: NEW WORKFLOW ENGINE (#3160) 2024-04-08 18:51:46 +08:00
conftest.py fix: resolve Redis mock import error in test configuration (#22663) 2025-07-20 11:06:38 +08:00