QuantumGhost
56630c18d4
test(api): remove incorrect tests
2025-09-17 21:21:41 +08:00
QuantumGhost
0ad8cac3a8
Update api/tests/unit_tests/services/test_dataset_service_update_dataset.py
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-17 20:17:40 +08:00
QuantumGhost
948d6bac97
Update api/tests/unit_tests/services/test_dataset_service_update_dataset.py
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-17 20:17:10 +08:00
QuantumGhost
396fd728fb
test(api): fix broken tests
2025-09-17 20:09:52 +08:00
QuantumGhost
04919195cc
Merge remote-tracking branch 'upstream/feat/queue-based-graph-engine' into feat/rag-2
2025-09-17 18:00:48 +08:00
QuantumGhost
9c1b49b7f5
test(api): fix incorrect import in tests
2025-09-17 16:09:36 +08:00
-LAN-
73a7756350
feat(graph_engine): allow to dumps and loads RSC
2025-09-17 12:45:51 +08:00
-LAN-
02d15ebd5a
feat(graph_engine): support dumps and loads in GraphExecution
2025-09-16 19:38:10 +08:00
QuantumGhost
dd34002db2
Merge remote-tracking branch 'upstream/main' into feat/rag-2
2025-09-16 14:59:35 +08:00
-LAN-
b5684f1992
refactor(graph_engine): remove unused parameters from Engine
2025-09-16 14:11:42 +08:00
-LAN-
bd13cf05eb
Merge branch 'main' into feat/queue-based-graph-engine
2025-09-16 12:59:26 +08:00
Asuka Minato
bdd85b36a4
ruff check preview ( #25653 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-16 12:58:12 +08:00
-LAN-
b68afdfa64
Merge remote-tracking branch 'origin/main' into feat/queue-based-graph-engine
2025-09-16 12:32:16 +08:00
NeatGuyCoding
abf4955c26
Feature: add test containers document indexing task ( #25684 )
...
Signed-off-by: NeatGuyCoding <15627489+NeatGuyCoding@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-16 09:47:28 +08:00
-LAN-
b98b389baf
fix(tests): resolve order dependency in disable_segments_from_index_task tests ( #25737 )
2025-09-16 08:26:52 +08:00
-LAN-
da87fce751
feat(graph_engine): dump and load ready queue
2025-09-16 04:19:46 +08:00
autofix-ci[bot]
754d790c89
[autofix.ci] apply automated fixes (attempt 2/3)
2025-09-15 07:58:44 +00:00
autofix-ci[bot]
a099a35e51
[autofix.ci] apply automated fixes
2025-09-15 07:56:51 +00:00
-LAN-
2dd893e60d
Merge remote-tracking branch 'origin/main' into feat/queue-based-graph-engine
2025-09-15 15:54:42 +08:00
-LAN-
bab4975809
chore: add ast-grep rule to convert Optional[T] to T | None ( #25560 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-15 13:06:33 +08:00
-LAN-
b8ee1d4697
Merge branch 'main' into feat/queue-based-graph-engine
2025-09-15 12:21:18 +08:00
-LAN-
b4ef1de30f
feat(graph_engine): add ready_queue state persistence to GraphRuntimeState
...
- Add ReadyQueueState TypedDict for type-safe queue serialization
- Add ready_queue attribute to GraphRuntimeState for initializing with pre-existing queue state
- Update GraphEngine to load ready_queue from GraphRuntimeState on initialization
- Implement proper type hints using ReadyQueueState for better type safety
- Add comprehensive tests for ready_queue loading functionality
The ready_queue is read-only after initialization and allows resuming workflow
execution with a pre-populated queue of nodes ready to execute.
2025-09-15 03:05:10 +08:00
Guangdong Liu
7a626747cf
bugfix: The randomly generated email by Faker actually corresponded to an existing account in the test database, causing the test to fail. ( #25646 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-14 18:41:35 +08:00
NeatGuyCoding
0add1af1c8
feat: add test containers based tests for disable segments from index task ( #25660 )
2025-09-14 14:12:52 +08:00
-LAN-
efa5f35277
Merge remote-tracking branch 'origin/main' into feat/queue-based-graph-engine
2025-09-14 01:48:06 +08:00
Yongtao Huang
188eb838c5
[Test] speed up Hypothesis strategies to avoid too_slow ( #25623 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-13 21:05:19 +08:00
-LAN-
766fda395b
Merge branch 'main' into feat/queue-based-graph-engine
2025-09-13 19:37:52 +08:00
NeatGuyCoding
a825f0f2b2
Feature add test containers disable segment from index task ( #25631 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-13 14:28:10 +08:00
-LAN-
b0e815c3c7
Merge remote-tracking branch 'origin/main' into feat/queue-based-graph-engine
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-09-13 01:31:17 +08:00
-LAN-
1b0f92a331
feat(stress-test): add comprehensive stress testing suite using Locust ( #25617 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-12 22:25:05 +08:00
Krito.
a13d7987e0
chore: adopt StrEnum and auto() for some string-typed enums ( #25129 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2025-09-12 21:14:26 +08:00
zyssyz123
c2fcd2895b
Feat/email register refactor ( #25369 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: Joel <iamjoel007@gmail.com>
2025-09-12 10:24:54 +08:00
Novice
17b5309e47
fix: single step system file error ( #25533 )
...
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2025-09-12 09:47:45 +08:00
Asuka Minato
05af23f88f
use autospec=True in mock ( #25497 )
2025-09-12 09:46:02 +08:00
NeatGuyCoding
de18b14372
feat: add test containers based tests for delete segment from index task ( #25564 )
2025-09-12 09:33:39 +08:00
GuanMu
c7868fb176
test: remove print code ( #25481 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-12 09:30:56 +08:00
-LAN-
462ba354a4
Merge remote-tracking branch 'origin/main' into feat/queue-based-graph-engine
2025-09-12 00:21:06 +08:00
NeatGuyCoding
99f4cd1cfa
feat: add test containers based tests for deal dataset vector index ( #25545 )
2025-09-11 21:12:53 +08:00
-LAN-
3c668e4a5c
fix: update test assertions for ToolProviderApiEntity validation
...
- Fixed test_repack_provider_entity_no_dark_icon to use empty string instead of None for icon_dark field
- Updated test_builtin_provider_to_user_provider_no_credentials assertion to match actual implementation behavior where masked_credentials always contains empty strings for schema fields
2025-09-11 16:41:10 +08:00
-LAN-
85064bd8cf
Merge remote-tracking branch 'origin/main' into feat/queue-based-graph-engine
2025-09-11 15:13:31 +08:00
-LAN-
a923ab1ab8
fix: type errors
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-09-11 15:01:16 +08:00
QuantumGhost
874406d934
security(api): fix privilege escalation vulnerability in model config and chat message APIs ( #25518 )
...
The `ChatMessageApi` (`POST /console/api/apps/{app_id}/chat-messages`) and
`ModelConfigResource` (`POST /console/api/apps/{app_id}/model-config`)
endpoints do not properly validate user permissions, allowing users without `editor`
permission to access restricted functionality.
This PR addresses this issue by adding proper permission check.
2025-09-11 14:53:35 +08:00
Asuka Minato
cbc0e639e4
update sql in batch ( #24801 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
2025-09-10 13:00:17 +08:00
GuanMu
26a9abef64
test: imporve ( #25461 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-09-10 11:36:22 +08:00
NeatGuyCoding
45ef177809
Feature add test containers create segment to index task ( #25450 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-10 10:02:53 +08:00
Newton José
6574e9f0b2
Fix: Add Password Validation to Account Creation ( #25382 )
2025-09-10 08:58:39 +08:00
-LAN-
9796cede72
fix: add missing type field to node configurations in integration tests
...
- Added 'type' field to all node data configurations in test files
- Fixed test_code.py: added 'type: code' to all code node configs
- Fixed test_http.py: added 'type: http-request' to all HTTP node configs
- Fixed test_template_transform.py: added 'type: template-transform' to template node config
- Fixed test_tool.py: added 'type: tool' to all tool node configs
- Added setup_code_executor_mock fixture to test_execute_code_scientific_notation
These changes fix the ValueError: 'Node X missing or invalid type information' errors
that were occurring due to changes in the node factory validation requirements.
2025-09-10 02:54:01 +08:00
-LAN-
2a97a69825
Merge remote-tracking branch 'origin/main' into feat/queue-based-graph-engine
2025-09-10 02:03:45 +08:00
-LAN-
08dd3f7b50
Fix basedpyright type errors ( #25435 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-10 01:54:26 +08:00
-LAN-
a23c8fcb1a
refactor: move execution limits from engine core to layer
...
Remove max_execution_time and max_execution_steps from ExecutionContext and GraphEngine since these limits are now handled by ExecutionLimitsLayer. This follows the separation of concerns principle by keeping execution limits as a cross-cutting concern handled by layers rather than embedded in core engine components.
Changes:
- Remove max_execution_time and max_execution_steps from ExecutionContext
- Remove these parameters from GraphEngine.__init__()
- Remove max_execution_time from Dispatcher
- Update workflow_entry.py to no longer pass these parameters
- Update all tests to remove these parameters
2025-09-10 01:32:45 +08:00