Commit 0c73b91
authored
test(e2e-http): parametrize compose runner by VECTOR_DB_TYPE / GRAPH_DB_TYPE + 2-combo CI matrix (#1740)
The compose runner ran a single fixed backend shape (Qdrant + PG-graph),
so the HTTP E2E suite only proved one of the two production deployment
shapes actually boots end-to-end. Connector-level swap correctness is
covered by tests/integration/compat (matrixed in compat-test.yml), but
that doesn't exercise the full FastAPI lifespan against the alternate
backends.
Changes:
- runners/compose/up.sh: accept VECTOR_DB_TYPE (qdrant|pgvector) and
GRAPH_DB_TYPE (postgresql|neo4j|nebula); validate, idempotently rewrite
.env so the api container picks them up, activate matching --profile.
Defaults preserve historical behavior (qdrant + postgresql). qdrant is
always included in the service set because the api container's
depends_on requires it healthy regardless of vector backend selection.
- envs/docker.env.overrides: set PGVECTOR_DATABASE_URL to the same DSN as
DATABASE_URL — required when VECTOR_DB_TYPE=pgvector, harmless when
qdrant.
- Makefile: add test-http-smoke-compose-{lite,full} shortcuts for the two
shapes (Lite = pgvector + postgresql, Full = qdrant + neo4j).
- .github/workflows/e2e-http-smoke.yml: convert e2e-http-smoke job to a
fail-fast=false matrix over [lite, full]. Provider-aware job is
unchanged (defaults), since LLM-provider coverage is orthogonal to
graph backend choice and the matrix would double API-cost.1 parent 20b9071 commit 0c73b91
4 files changed
Lines changed: 91 additions & 6 deletions
File tree
- .github/workflows
- envs
- tests/e2e_http/runners/compose
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
18 | 36 | | |
19 | 37 | | |
20 | 38 | | |
| |||
53 | 71 | | |
54 | 72 | | |
55 | 73 | | |
56 | | - | |
| 74 | + | |
57 | 75 | | |
58 | 76 | | |
59 | 77 | | |
| |||
64 | 82 | | |
65 | 83 | | |
66 | 84 | | |
67 | | - | |
68 | | - | |
| 85 | + | |
| 86 | + | |
69 | 87 | | |
70 | 88 | | |
71 | 89 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
| |||
204 | 205 | | |
205 | 206 | | |
206 | 207 | | |
| 208 | + | |
207 | 209 | | |
208 | 210 | | |
209 | 211 | | |
| |||
275 | 277 | | |
276 | 278 | | |
277 | 279 | | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
278 | 292 | | |
279 | 293 | | |
280 | 294 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | 8 | | |
10 | 9 | | |
11 | 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 | + | |
| 42 | + | |
12 | 43 | | |
13 | 44 | | |
14 | 45 | | |
15 | 46 | | |
16 | | - | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
17 | 69 | | |
18 | 70 | | |
19 | 71 | | |
20 | | - | |
| 72 | + | |
21 | 73 | | |
22 | 74 | | |
23 | 75 | | |
| |||
0 commit comments