Commit ceed2d7
authored
fix(distribution)!: make inline::milvus conditional via ENABLE_INLINE_MILVUS env var (#318)
[RHOAIENG-3916](https://issues.redhat.com/browse/RHOAIENG-3916)
### Description
Must merge after #316.
Makes `inline::milvus` conditional on `ENABLE_INLINE_MILVUS`, off by
default. Users who need it can opt in by setting the env var.
`inline::milvus` is incompatible with multi-worker deployments.
This is a breaking change: `inline::milvus` was previously enabled by
default.
Adds `notes` support to `gen_distro_docs.py` so provider-level warnings
appear in the auto-generated README table.
### How Has This Been Tested?
```bash
./tests/smoke.sh
./tests/test_providers.sh
```
### Test Impact
New `test_providers.sh` and CI workflow step. Separate from `smoke.sh`
because provider tests need to start containers with different env var
inputs without affecting the smoke test environment.
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **Documentation**
* Milvus vector provider (`inline::milvus`) is now disabled by default;
enable via the ENABLE_INLINE_MILVUS environment variable. Docs now note
it is incompatible with multi-worker deployments.
* **Tests**
* Added an integration test that verifies provider registration with and
without ENABLE_INLINE_MILVUS.
* **Chores**
* CI: added a "Provider tests" step to run the provider validation
script during build/test.
* **Documentation tooling**
* Release notes generator updated to surface provider notes in the docs.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->5 files changed
Lines changed: 56 additions & 2 deletions
File tree
- .github/workflows
- distribution
- scripts
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
203 | 211 | | |
204 | 212 | | |
205 | 213 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
| 63 | + | |
63 | 64 | | |
64 | 65 | | |
65 | 66 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
139 | 143 | | |
140 | 144 | | |
141 | 145 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
0 commit comments