phax 0.29.0
Changes since 0.28.0: v0.28.0...v0.29.0.
Highlights
- Headless code review — The code review works like the compliance review: turned on in phax.json, run at the end of the run, kept in the run folder and the records, and shown in the pull request.
What's new
Headless code review
A run reviews its own code before its pull request.
The code review works like the compliance review: turned on in phax.json, run at the end of the run, kept in the run folder and the records, and shown in the pull request.
-
Setting
review.code.enabledto true in phax.json runs a code review on its own each time a run reaches review, after the compliance review and before the pull request.review.code.enabledNow:
Before
-
A run's code review findings are kept in
code-review.jsonin its run folder, one entry per finding with its severity, place, lens, escape, criterion and suggestion.<run folder>/code-review.jsonNow:
-
Running
phax review-code <run> --headlessruns the code review without a person on a run in review, in a read-only session that leaves your worktree as it was, writes its findings to the run folder, and leaves the session ready to resume.phax review-code --headlessNow:
Before
-
After a run's headless code review,
phax review-code <run>reopens that review's session, so you can ask it to fix what it found.phax review-codeNow:
Before
-
A run's pull request lists each code review finding, with its severity, file and line, next to the compliance attention points.
the pull request descriptionNow:
Before
-
A run's cost ledger counts its headless code review, as it counts its compliance review.
<run folder>/cost-ledger.jsonNow:
Before
-
With records on, each run's code review and compliance review are kept in its records beside its phases, so they outlive the run folder.
the run's records on phax/records/v1Now:
Before