Files
zhuwenxingandGitHub 743da442b1 test: add XGBoost FunctionChain coverage (#51545)
## What changed

- Add Python MilvusClient coverage for XGBoost
`FunctionChainStage.L0_RERANK`.
- Validate realistic `2 x 3000` indexed sealed segments plus `1 x 3000`
growing segment data topology.
- Cover FLAT, HNSW, and DISKANN indexes; filtered, range, group-by,
iterator, and hybrid-search behavior.
- Verify score and field correctness across numeric/null/binary
features, delete, and upsert mutations.
- Cover invalid stage/model contracts, concurrency, scale, cache
identity, restart/failover, rolling update, and chaos scenarios.
- Classify the suite into L0/L1/L2/L3 and replace the iterator xfail
with its code `1100` error contract.

Related issues: #51306, #51310, #51332

## Validation

- `ruff format --check
tests/python_client/milvus_client/test_milvus_client_function_chain.py`
- `ruff check
tests/python_client/milvus_client/test_milvus_client_function_chain.py`
- `python -m py_compile
tests/python_client/milvus_client/test_milvus_client_function_chain.py`
- `pytest --collect-only`: 37 cases collected
- L0: 1 passed
- L1: 8 passed
- L2: 4 passed
- Iterator regression: 1 passed against master image `0671607`

An initial combined serial run observed a DISKANN load timeout with a
loaded segment reporting `index_id=0`; the unchanged isolated L2 rerun
passed. The strict assertion remains in place.

---------

Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2026-07-21 16:44:43 +08:00
..