CI: enforce reviewable test-first commit shape

Open
#98 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
git, python
Domain
devtools, testing

Research direction

The issue names no files or tests; start by reading the harness and how it determines a PR range against its base. Define how the harness recognizes feature, review, regression, and fix commits, then check the proposed 400-line and five-file limits against #94 and #95. Done means the range check rejects oversized changes and requires an independently failing regression commit before each fix.

Written by the indexing model from the issue text.

Description

meta

Add a pre-push or harness range check that rejects feature/review commits over 400 lines or five files and requires an independently failing regression commit before each fix. Inspect the PR range against its base in the harness. This was missed in Mithai #94 and #95.


Proposed by coder9io's retro of #95: this lesson came up again. Assign it to coder9io to approve, or close it.

Dominant language
Python
Stars
20
Forks
2
Avg merge
18h 35m
Merged PRs (30d)
20

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from last9/mithai

All issues in last9/mithai

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.