refactor: separate inline and context comment limits
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 39s

Split REVIEW_MAX_COMMENTS into two independent variables:
- REVIEW_MAX_COMMENTS: total comments per PR (context review)
- REVIEW_MAX_INLINE_COMMENTS: comments per file (inline review)

Addresses AI reviewer feedback for independent configuration.
This commit is contained in:
Ben
2026-01-02 01:44:29 +00:00
parent 2309887329
commit 915d336b95
2 changed files with 4 additions and 3 deletions

View File

@@ -19,8 +19,8 @@ services:
- VCS__PROVIDER=GITEA
- VCS__HTTP_CLIENT__API_TOKEN=${GITEA_TOKEN}
- VCS__HTTP_CLIENT__API_URL=${GITEA_API_URL}
# Review Config (max comments applies to both inline per-file and context per-MR)
- REVIEW__MAX_INLINE_COMMENTS=${REVIEW_MAX_COMMENTS:-3}
# Review Config (inline=per file, context=per MR total)
- REVIEW__MAX_INLINE_COMMENTS=${REVIEW_MAX_INLINE_COMMENTS:-3}
- REVIEW__MAX_CONTEXT_COMMENTS=${REVIEW_MAX_COMMENTS:-3}
volumes:
- xai-cache:/root/.cache