docs: document conditional -v test rerun pattern in REPO_POLICIES.md #20

Closed
opened 2026-03-18 04:30:45 +01:00 by clawbot · 0 comments
Collaborator

Per sneak's request (from sneak/chat PR #82):

Document the "conditional -v test rerun" pattern as a policy/recommendation in REPO_POLICIES.md.

The Pattern

The Makefile test target runs tests without -v first. If tests fail, it automatically reruns with -v to show full output. This gives:

  • Concise output on success — no noise when everything passes
  • Detailed diagnostics on failure — full verbose output only when you need it

Requirements

  • Add this as a policy/recommendation in the Makefile conventions section of REPO_POLICIES.md
  • Show a concrete Makefile snippet implementing the pattern
  • Explain the rationale (clean CI logs on success, actionable output on failure)
Per sneak's request (from [sneak/chat PR #82](https://git.eeqj.de/sneak/chat/pulls/82)): Document the "conditional -v test rerun" pattern as a policy/recommendation in REPO_POLICIES.md. ## The Pattern The Makefile `test` target runs tests **without** `-v` first. If tests fail, it automatically reruns with `-v` to show full output. This gives: - **Concise output on success** — no noise when everything passes - **Detailed diagnostics on failure** — full verbose output only when you need it ## Requirements - Add this as a policy/recommendation in the Makefile conventions section of REPO_POLICIES.md - Show a concrete Makefile snippet implementing the pattern - Explain the rationale (clean CI logs on success, actionable output on failure)
clawbot self-assigned this 2026-03-18 04:30:45 +01:00
clawbot removed their assignment 2026-03-18 05:40:08 +01:00
sneak was assigned by clawbot 2026-03-18 05:40:08 +01:00
sneak closed this issue 2026-03-19 22:53:42 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sneak/prompts#20