dify/api/tests/test_containers_integration_tests
L1nSn0w 94603b5408 refactor(api): replace heartbeat mechanism with AutoRenewRedisLock for database migration
- Removed the manual heartbeat function for renewing the Redis lock during database migrations.
- Integrated AutoRenewRedisLock to handle lock renewal automatically, simplifying the upgrade_db command.
- Updated unit tests to reflect changes in lock handling and error management during migrations.

(cherry picked from commit 8814256eb5fa20b29e554264f3b659b027bc4c9a)
2026-02-14 16:28:38 +08:00
..
core revert: revert human input relevant code (#31766) 2026-01-30 19:18:49 +08:00
factories chore: add ast-grep rule to convert Optional[T] to T | None (#25560) 2025-09-15 13:06:33 +08:00
libs refactor(api): replace heartbeat mechanism with AutoRenewRedisLock for database migration 2026-02-14 16:28:38 +08:00
services refactor: remove all reqparser (#29289) 2026-02-01 13:43:14 +09:00
tasks refactor: document_indexing_sync_task split db session (#32129) 2026-02-09 17:16:17 +08:00
trigger test(trigger): add container integration tests for trigger (#29527) 2025-12-12 11:31:34 +08:00
workflow fix(template-transform): use base64 encoding for Jinja2 templates to fix #26818 (#30223) 2025-12-29 13:03:39 +08:00
__init__.py Feat add testcontainers test (#23269) 2025-08-04 19:27:36 +08:00
conftest.py test: Consolidate API CI test runner (#29440) 2025-12-15 13:20:31 +08:00
test_workflow_pause_integration.py revert: revert human input relevant code (#31766) 2026-01-30 19:18:49 +08:00