dify/api/tests
Harry b61fd8fcff fix(api): surface subscription deletion errors to users
Previously, when rebuilding a trigger subscription, errors from the
unsubscribe operation were silently caught and logged without
propagating to the user. This left users unaware of failures during
subscription management.

Changes:
- Check UnsubscribeResult.success and raise ValueError with the error
  message when unsubscribe fails
- Simplify the rebuild logic by removing unnecessary try/except wrapper
- Refactor update API to use cleaner conditional logic
- Remove redundant test cases that tested silent error handling
2025-12-29 18:01:49 +08:00
..
fixtures/workflow fix: workflow end node validate error (#29473) 2025-12-11 13:47:37 +08:00
integration_tests fix(template-transform): use base64 encoding for Jinja2 templates to fix #26818 (#30223) 2025-12-29 13:03:39 +08:00
test_containers_integration_tests fix(api): surface subscription deletion errors to users 2025-12-29 18:01:49 +08:00
unit_tests fix(api): remove tool provider list cache to fix cache inconsistency (#30323) 2025-12-29 16:58:38 +08:00
__init__.py Initial commit 2023-05-15 08:51:32 +08:00