fix: normalize generated whitespace
Some checks failed
CI / test (push) Has been cancelled
CI / test (pull_request) Has been cancelled

This commit is contained in:
Christian Meyer
2026-08-31 11:44:23 +02:00
parent cf1d8acb45
commit 1097fa7ae2
5 changed files with 134 additions and 1 deletions

View File

@@ -9,7 +9,8 @@ Laravel production database and does not merge changes automatically.
2. An administrator reviews it and explicitly applies `ai:queued`, either through the LAI admin dashboard or directly in Gitea.
3. This worker replaces the label with `ai:running`, clones `main`, and creates `ai/issue-N`.
4. mini-SWE-agent 2.4.6 implements the issue in a credential-free, unprivileged command environment.
5. The worker rejects protected paths, symlinks, empty patches, and oversized diffs.
5. The worker deterministically removes trailing spaces from newly changed text, then rejects any
remaining whitespace errors, protected paths, symlinks, empty patches, and oversized diffs.
6. Deterministic setup and test commands run with isolated test database credentials.
7. A pull request containing `Fixes #N`, the original problem, changed files, and checks is opened.
8. The issue is labeled `ai:ready` or `ai:failed` and receives a status comment.