Repository navigation
Crewreview 0.14.1
Reviews that read the whole change, fair to every lens, and posted once on GitLab.
Fixed
- A minified bundle in a change could hide the rest of it from the crew. One megabyte-long line in
public/app.jsfilled the diff, the agents couldn't read past it, and the files after it (the server code among them) went unreviewed. Minified, generated and oversized files now stay out of the diff the agents read, with only their header and a note. The review lists them as left out, and their lines don't count towardlimits.maxDiffLines. - A whole lens could be thrown away as invented over one file. If a lens cited two files and one of them was missing, every finding it had was dropped. A symlink the change adds counted as missing when it pointed outside the repository. Now a lens is set aside only when two or more of the files it cites are missing, a link counts as the one-line file git stores, and a link is never followed outside the tree.
- A retry on GitLab could post the same review twice. GitLab can answer 500 to a batch publish and still publish it, and the retry posted everything again. It now skips the comments and the summary that are already on the merge request. The footer and markers carry the version that ran the review, not the one that posted it, and a post that goes through clears the error from the earlier attempt.
- Each agent's raw answer is kept in
agents/next to the review's report, so a bad review can be looked into.