Commit 90591be
Base the bump on the commit the suite tested
propose_bump checked out the default branch tip at bump time, not the tree the
test job ran against. The four-platform matrix takes tens of minutes; a default
branch that advances meanwhile puts the new engine pin on binding code nothing
tested, while the pull request body says the suite passed. github.sha is fixed
for the whole run, so checking that out makes the claim true.
Rooting the branch there means it can be behind the default branch, which is
honest and what GitHub already shows. It also reintroduces the case the previous
commit removed — a manual run from a branch that is not the default one would
carry that branch;s other changes into the bump — so the compare API decides:
identical or behind means the tested commit is on the default branch, anything
else declines to propose. Verified the three statuses against real refs.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent 3c33591 commit 90591be
1 file changed
Lines changed: 19 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
94 | | - | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
95 | 98 | | |
96 | 99 | | |
97 | | - | |
| 100 | + | |
98 | 101 | | |
99 | 102 | | |
100 | 103 | | |
| |||
114 | 117 | | |
115 | 118 | | |
116 | 119 | | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
117 | 131 | | |
118 | 132 | | |
119 | 133 | | |
| |||
158 | 172 | | |
159 | 173 | | |
160 | 174 | | |
| 175 | + | |
| 176 | + | |
161 | 177 | | |
162 | 178 | | |
163 | 179 | | |
| |||
0 commit comments