Reviewer reports must include exact validation commands and execution environment #311

Closed
opened 2026-07-07 01:08:33 -05:00 by jcwalker3 · 0 comments
Owner

A reviewer workflow reported successful validation with pytest, but the final report did not include the exact resolved executable or environment.

Observed behavior

  • Transcript command: pytest
  • Final report: pytest executed inside the worktree: 1014 passed, 6 skipped

Problem

For reproducibility, reviewer reports should include exact validation commands and the environment used, especially when the project venv is expected.

Required behavior

  1. Final reports must include the exact validation command as executed.
  2. If a bare command like pytest is used, report:
    • which pytest
    • pytest --version
    • whether it resolves to the project venv
  3. Prefer project venv commands where applicable, such as:
    /Users/jasonwalker/Development/Gitea-Tools/venv/bin/pytest tests/
  4. Reports must include the working directory where validation ran.

Acceptance criteria

  • Reports include exact command, working directory, and result.
  • Bare pytest requires executable/path proof.
  • Tests cover venv pytest, bare pytest with path proof, missing path proof, and failed validation.
A reviewer workflow reported successful validation with `pytest`, but the final report did not include the exact resolved executable or environment. ## Observed behavior - Transcript command: `pytest` - Final report: `pytest executed inside the worktree: 1014 passed, 6 skipped` ## Problem For reproducibility, reviewer reports should include exact validation commands and the environment used, especially when the project venv is expected. ## Required behavior 1. Final reports must include the exact validation command as executed. 2. If a bare command like `pytest` is used, report: - `which pytest` - `pytest --version` - whether it resolves to the project venv 3. Prefer project venv commands where applicable, such as: `/Users/jasonwalker/Development/Gitea-Tools/venv/bin/pytest tests/` 4. Reports must include the working directory where validation ran. ## Acceptance criteria - [ ] Reports include exact command, working directory, and result. - [ ] Bare `pytest` requires executable/path proof. - [ ] Tests cover venv pytest, bare pytest with path proof, missing path proof, and failed validation.
jcwalker3 added the status:in-progress label 2026-07-07 04:07:58 -05:00
sysadmin removed the status:in-progress label 2026-07-07 08:18:31 -05:00
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Scaled-Tech-Consulting/Gitea-Tools#311