Two uvicorn servers, the public API on :8000 and the internal probe listener on :8081, share one event loop (ADR-0009), so a wedged loop fails liveness. SIGINT/SIGTERM stops both; if one listener stops or fails to start, the other stops with it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
13 lines
395 B
Markdown
13 lines
395 B
Markdown
starting fresh yo
|
|
|
|
## Development
|
|
|
|
The only tool needed outside the project is [uv](https://docs.astral.sh/uv/). Everything else is a dev dependency in the project venv:
|
|
|
|
```sh
|
|
uv sync # create .venv with all dev tools
|
|
uv run just lint # Ruff, pyright strict
|
|
uv run just test # pytest
|
|
uv run just dev # API on :8000, probes on :8081
|
|
```
|