chore: add quality infra matrix, constraints, and test baseline fixes
This commit is contained in:
parent
a5682716ec
commit
a726aa7fe1
8 changed files with 161 additions and 109 deletions
30
docs/dependency-locking.md
Normal file
30
docs/dependency-locking.md
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
# Dependency Locking Guide
|
||||
|
||||
Agent Reach uses `constraints.txt` as a reproducible dependency baseline.
|
||||
|
||||
## Why
|
||||
|
||||
- Keep local/CI dependency graph stable
|
||||
- Reduce "works on my machine" drift
|
||||
- Make regression results easier to compare
|
||||
|
||||
## Install with constraints
|
||||
|
||||
```bash
|
||||
pip install -c constraints.txt -e .[dev]
|
||||
```
|
||||
|
||||
## Update workflow
|
||||
|
||||
1. Update `pyproject.toml` dependency ranges as needed.
|
||||
2. Validate against latest compatible versions locally.
|
||||
3. Update pinned versions in `constraints.txt`.
|
||||
4. Run validation:
|
||||
|
||||
```bash
|
||||
pytest -q
|
||||
ruff check agent_reach tests
|
||||
mypy agent_reach
|
||||
```
|
||||
|
||||
5. Open PR with dependency and validation notes.
|
||||
Loading…
Add table
Add a link
Reference in a new issue