Files
devx/docs/specs/DEVX-166.md
T
emilandDevin <158243242+devin-ai-integration[bot]@users.noreply.github.com> 025db98264
CI / validate (pull_request) Successful in 1m4s
CI / auto-merge (pull_request) Successful in 16s
fix: exclude docs/plans/* from PR size check
Planning docs are legitimately large (700+ lines) but should not fail
the PR size gate. Add docs/plans/* to DEFAULT_EXCLUDED_PATTERNS.

Implements: DEVX-166

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-08-26 20:07:26 +02:00

28 lines
834 B
Markdown

# DEVX-166: Exclude docs/plans/* from PR size check
## Problem
Planning docs in `docs/plans/` are legitimately large (700+ lines) but
fail the PR size check (max 500 lines). This blocks PRs that only add
planning documents.
## Approach
REQ-1: Add `docs/plans/*` to `DEFAULT_EXCLUDED_PATTERNS` in
`src/devx/ci/check_pr_size.py`
REQ-2: Add test coverage for the new exclusion pattern
## Test Plan
- `make pytest-cov` passes with 100% coverage
- `make lint-all` passes
## Deploy Plan
- Merge to master → post-merge auto-publishes new devx version
- Infra PR #1179 picks up the fix once devx is bumped
## Rollback Plan
- Revert the merge commit
## Acceptance Criteria
- [x] REQ-1: Add `docs/plans/*` to `DEFAULT_EXCLUDED_PATTERNS` in
`src/devx/ci/check_pr_size.py`
- [x] REQ-2: Add test coverage for the new exclusion pattern