dify/api/controllers
Yeuoly 9898730cc5 feat: add webhook node limit validation (max 5 per workflow)
- Add MAX_WEBHOOK_NODES_PER_WORKFLOW constant set to 5
- Validate webhook node count in sync_webhook_relationships method
- Raise ValueError when workflow exceeds webhook node limit
- Block workflow save when limit is exceeded to ensure data integrity
- Provide clear error message indicating current count and maximum allowed

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-10 17:22:09 +08:00
..
common feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
console feat: add webhook node limit validation (max 5 per workflow) 2025-09-10 17:22:09 +08:00
files feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
inner_api example of decorator typing (#24857) 2025-09-01 10:04:24 +08:00
mcp Merge branch 'main' into feat/trigger 2025-09-01 18:05:31 +08:00
service_api example enum to StrEnum (#24877) 2025-09-01 15:40:26 +08:00
trigger chore: (trigger) add WEBHOOK_REQUEST_BODY_MAX_SIZE (#25217) 2025-09-05 12:23:11 +08:00
web chore: cleanup unnecessary mypy suppressions on imports (#24712) 2025-08-28 23:17:25 +08:00
__init__.py chore(api/controllers): Apply Ruff Formatter. (#7645) 2024-08-26 15:29:10 +08:00