Skip to content

ci(verify): match verify.yml to real make ci + PEP668 venv - #24

Open
telleroutlook wants to merge 1 commit into
mainfrom
verify-yml-match-make-ci
Open

ci(verify): match verify.yml to real make ci + PEP668 venv#24
telleroutlook wants to merge 1 commit into
mainfrom
verify-yml-match-make-ci

Conversation

@telleroutlook

Copy link
Copy Markdown
Collaborator

What

Replace the onboard-generated .claude-bot/verify.yml with one that matches trace-pipeline's real CI (make ci) and this runner's environment.

Why

The default generated by onboard for Python repos used bare pip install -e ".[dev]", which fails on this externally-managed (PEP 668) runner (error: externally-managed-environment), and ran ruff check . over the whole tree (including papers/, data/). It never actually installed the package, so pytest/ruff ran against system Python.

Change

Mirrors make ci, using the same venv pattern as wasmagent-train-replay:

  • install: create a venv on the shared bigdisk (/mnt/bigdisk/venv/<slug>) with a local .venv-local fallback, then pip install -e ".[dev]" into it.
  • import: sanity-check import evomerge; import eval_trust.
  • lint: ruff check over the exact paths make lint uses.
  • schema-check: scripts/check-schema-fields.py (data-loop field coverage).
  • pytest: pytest tests/ -x -q.

Part of onboarding trace-pipeline as a full repo.

The onboard-generated verify.yml used bare 'pip install -e' which fails on this
externally-managed (PEP 668) Python runner, and a narrow ruff scope. Replace with
the repo's real gates: venv on shared bigdisk (local fallback), import check,
ruff over the same paths as 'make lint', scripts/check-schema-fields.py, and
pytest tests/. Mirrors 'make ci'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant