dify/api/tests/test_containers_integration_tests
QuantumGhost eef13853b2
fix(api): StreamsBroadcastChannel start reading messages from the end (#34030)
The current frontend implementation closes the connection once `workflow_paused` SSE event is received and establish a new connection to subscribe new events. The implementation of `StreamsBroadcastChannel` sets initial `_last_id` to `0-0`, consumes streams from start and send `workflow_paused` event created before pauses to frontend, causing excessive connections being established. 

This PR fixes the issue by setting initial id to `$`, which means only new messages are received by the subscription.
2026-03-25 10:21:57 +08:00
..
controllers/console test: migrate forgot password tests to testcontainers (#33972) 2026-03-24 23:34:13 +09:00
core refactor: use EnumText for ApiToolProvider.schema_type_str and Docume… (#33983) 2026-03-24 13:27:50 +09:00
factories refactor: use EnumText(StorageType) for UploadFile.storage_type (#33728) 2026-03-19 15:15:32 +09:00
helpers refactor: use EnumText for Conversation/Message invoke_from and from_source (#33832) 2026-03-21 11:47:48 +09:00
libs fix(api): StreamsBroadcastChannel start reading messages from the end (#34030) 2026-03-25 10:21:57 +08:00
models refactor: use EnumText for dataset and replace string literals 4 (#33606) 2026-03-18 09:18:08 +09:00
repositories refactor: use EnumText for WorkflowAppLog.created_from and WorkflowArchiveLog columns (#33954) 2026-03-24 02:44:46 +09:00
services test: migrate dataset service document indexing tests to testcontainers (#34022) 2026-03-24 23:42:34 +09:00
tasks refactor: use EnumText for ApiToolProvider.schema_type_str and Docume… (#33983) 2026-03-24 13:27:50 +09:00
trigger refactor(api): move workflow knowledge nodes and trigger nodes (#33445) 2026-03-15 15:24:59 +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 fix: test error by matching pkg versioin with docker compose (#33857) 2026-03-22 18:33:24 +09:00
test_opendal_fs_default_root.py fix: pass default root to OpenDAL Operator for fs scheme (#33678) 2026-03-19 15:30:13 +08:00
test_workflow_pause_integration.py refactor: move workflow package to dify_graph (#32844) 2026-03-02 18:42:30 +08:00