Repository navigation
Commit cf66577
fix: drop [skip ci] from bot commits so merges trigger sync; guard the loop without it (#31)
* fix: drop [skip ci] from bot commits so merges trigger sync; guard the loop without it
The review bot's PR-branch commit message ('… update architecture analysis
[skip ci]') leaks through squash-merges: GitHub folds it into the merge commit,
and the [skip ci] then skips every push-triggered workflow on the merge — the
sync run that should refresh the baseline from the *merged* code, release-please,
and CI. So the committed baseline never reflects what actually merged.
Fix: drop [skip ci] from both bot commit messages (review head-analysis and sync
baseline), and replace its loop-prevention role with mechanisms that don't leak:
- sync workflow paths-ignore (already present) — the primary guard;
- a new action-side guard: sync skips a push whose head commit is authored by
codeboarding[bot], so it never re-analyzes its own baseline commit even if a
consumer omits paths-ignore;
- the review commit now also skips on a timestamp-only diff (matching sync), so a
synchronize-triggered re-run can't re-commit a fresh generated_at forever.
Net: a merge to main reliably triggers a fresh incremental sync (and release-please
fires again), while the regen loop stays closed. Docs updated to match.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* fix: also ignore commit_hash in the review no-op-commit check
Adversarial review caught that the timestamp-only skip didn't actually close
the synchronize loop: analysis.json's metadata.commit_hash tracks the analyzed
head SHA, so a synchronize re-run (whose head is our previous bot commit)
changes it even when the architecture is identical — the diff stayed non-empty
and re-committed forever. Ignore commit_hash too. Verified on real pretty-printed
analysis.json: volatile-only diffs now skip, real component changes still commit
(they live on different lines, so -I doesn't mask them).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>1 parent 3168018 commit cf66577
3 files changed
Lines changed: 41 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
173 | | - | |
174 | | - | |
175 | | - | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
176 | 178 | | |
177 | 179 | | |
178 | 180 | | |
| |||
204 | 206 | | |
205 | 207 | | |
206 | 208 | | |
207 | | - | |
| 209 | + | |
208 | 210 | | |
209 | 211 | | |
210 | 212 | | |
| |||
251 | 253 | | |
252 | 254 | | |
253 | 255 | | |
254 | | - | |
| 256 | + | |
255 | 257 | | |
256 | 258 | | |
257 | 259 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
| 94 | + | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| |||
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
| 164 | + | |
164 | 165 | | |
165 | 166 | | |
166 | 167 | | |
| |||
189 | 190 | | |
190 | 191 | | |
191 | 192 | | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
192 | 202 | | |
193 | 203 | | |
194 | 204 | | |
| |||
915 | 925 | | |
916 | 926 | | |
917 | 927 | | |
| 928 | + | |
| 929 | + | |
| 930 | + | |
| 931 | + | |
| 932 | + | |
| 933 | + | |
| 934 | + | |
| 935 | + | |
| 936 | + | |
| 937 | + | |
| 938 | + | |
| 939 | + | |
| 940 | + | |
| 941 | + | |
| 942 | + | |
918 | 943 | | |
919 | 944 | | |
920 | 945 | | |
921 | | - | |
| 946 | + | |
922 | 947 | | |
923 | 948 | | |
924 | 949 | | |
| |||
0 commit comments