2024-10-28 20:05:06 -04:00
|
|
|
# e2e tests
|
|
|
|
|
|
|
|
|
|
e2e tests for arch llm gateway and prompt gateway
|
|
|
|
|
|
|
|
|
|
To be able to run e2e tests successfully run_e2e_script prepares environment in following way,
|
|
|
|
|
|
2024-11-08 12:00:15 -06:00
|
|
|
1. build and start weather_forecast demo (using docker compose)
|
2025-12-26 11:21:42 -08:00
|
|
|
1. build, install and start model server async (using uv)
|
Rename all arch references to plano across the codebase
Complete rebrand from "Arch"/"archgw" to "Plano" including:
- Config files: arch_config_schema.yaml, workflow, demo configs
- Environment variables: ARCH_CONFIG_* → PLANO_CONFIG_*
- Python CLI: variables, functions, file paths, docker mounts
- Rust crates: config paths, log messages, metadata keys
- Docker/build: Dockerfile, supervisord, .dockerignore, .gitignore
- Docker Compose: volume mounts and env vars across all demos/tests
- GitHub workflows: job/step names
- Shell scripts: log messages
- Demos: Python code, READMEs, VS Code configs, Grafana dashboard
- Docs: RST includes, code comments, config references
- Package metadata: package.json, pyproject.toml, uv.lock
External URLs (docs.archgw.com, github.com/katanemo/archgw) left as-is.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-11 20:15:37 -08:00
|
|
|
1. build and start Plano gateway (using docker compose)
|
2024-10-28 20:05:06 -04:00
|
|
|
1. wait for model server to be ready
|
Rename all arch references to plano across the codebase
Complete rebrand from "Arch"/"archgw" to "Plano" including:
- Config files: arch_config_schema.yaml, workflow, demo configs
- Environment variables: ARCH_CONFIG_* → PLANO_CONFIG_*
- Python CLI: variables, functions, file paths, docker mounts
- Rust crates: config paths, log messages, metadata keys
- Docker/build: Dockerfile, supervisord, .dockerignore, .gitignore
- Docker Compose: volume mounts and env vars across all demos/tests
- GitHub workflows: job/step names
- Shell scripts: log messages
- Demos: Python code, READMEs, VS Code configs, Grafana dashboard
- Docs: RST includes, code comments, config references
- Package metadata: package.json, pyproject.toml, uv.lock
External URLs (docs.archgw.com, github.com/katanemo/archgw) left as-is.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-11 20:15:37 -08:00
|
|
|
1. wait for Plano gateway to be ready
|
2025-12-26 11:21:42 -08:00
|
|
|
1. start e2e tests (using uv)
|
2024-10-28 20:05:06 -04:00
|
|
|
1. runs llm gateway tests for llm routing
|
|
|
|
|
2. runs prompt gateway tests to test function calling, parameter gathering and summarization
|
|
|
|
|
2. cleanup
|
Rename all arch references to plano across the codebase
Complete rebrand from "Arch"/"archgw" to "Plano" including:
- Config files: arch_config_schema.yaml, workflow, demo configs
- Environment variables: ARCH_CONFIG_* → PLANO_CONFIG_*
- Python CLI: variables, functions, file paths, docker mounts
- Rust crates: config paths, log messages, metadata keys
- Docker/build: Dockerfile, supervisord, .dockerignore, .gitignore
- Docker Compose: volume mounts and env vars across all demos/tests
- GitHub workflows: job/step names
- Shell scripts: log messages
- Demos: Python code, READMEs, VS Code configs, Grafana dashboard
- Docs: RST includes, code comments, config references
- Package metadata: package.json, pyproject.toml, uv.lock
External URLs (docs.archgw.com, github.com/katanemo/archgw) left as-is.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-11 20:15:37 -08:00
|
|
|
1. stops Plano gateway
|
2024-10-28 20:05:06 -04:00
|
|
|
2. stops model server
|
2024-11-08 12:00:15 -06:00
|
|
|
3. stops weather_forecast demo
|
2024-10-28 20:05:06 -04:00
|
|
|
|
|
|
|
|
## How to run
|
|
|
|
|
|
|
|
|
|
To run locally make sure that following requirements are met.
|
|
|
|
|
|
|
|
|
|
### Requirements
|
|
|
|
|
|
|
|
|
|
- Python 3.10
|
2025-12-26 11:21:42 -08:00
|
|
|
- uv
|
2024-10-28 20:05:06 -04:00
|
|
|
- Docker
|
|
|
|
|
|
|
|
|
|
### Running tests locally
|
|
|
|
|
|
|
|
|
|
```sh
|
|
|
|
|
sh run_e2e_test.sh
|
|
|
|
|
```
|