Repository navigation
Commit 8328085
docs: review on every push, now that a push costs a delta (#87)
* docs: review on every push, now that a push costs a delta
The recommended workflow analyzed a pull request once, when it became
reviewable, because every run re-derived the whole thing and a run per push
was not worth it. A run now continues from the pull request's previous
analysis and covers only the commits pushed since, so the reason for
leaving synchronize out is gone.
It also matters for a second reason: a pushed commit is the only thing that
builds that reusable analysis. GitHub gives comment-triggered runs a
read-only cache, so a repository reviewed only through /codeboarding starts
from the base every time.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
* docs: serialize reviews per pull request alongside per-push runs
Recommending a run on every push without a concurrency group invites two
races. Two pushes in quick succession analyze concurrently, so both restore
the same older analysis and neither continues from the other, which is the
saving the per-push recommendation is made for. Worse, every pull_request
run writes the same sticky comment header, so whichever run finishes last
wins, and that can be the one for the older commit: the review then
describes a head that has already been superseded.
The example now queues one review per pull request, as this repository's
own workflow has done, and says what the alternative costs.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent 6bd6951 commit 8328085
1 file changed
Lines changed: 15 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
31 | 41 | | |
32 | 42 | | |
33 | 43 | | |
| |||
44 | 54 | | |
45 | 55 | | |
46 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
47 | 61 | | |
48 | 62 | | |
49 | 63 | | |
| |||
0 commit comments