Repository navigation
Commit ef43c65
committed
docs(release): describe a late backport label the way the audit reads it
The README and the package doc both said that a kind/backport label
added after the release line moved on "resolves to the newer line".
That is what backport.yaml does -- it runs again when the label is added
and resolves its targets at that moment -- but not what the audit does.
The audit reads every label against the lines as they stood when the PR
merged, because nothing it lists records when a label was added. A PR
merged on 2026-07-01 and labelled after v1.6.0 published is audited as a
release-1.5 candidate while the bot opens its backport against
release-1.6.
Say that, and what it leads to: the audit expects the change on the
merge-time line and reports it MISSING there unless it arrived another
way, and it lists the bot's backport under UNLABELLED on the newer line.
Nothing pinned the audit's side of this. Move the label-to-line choice
out of audit() into candidateLabel, unchanged, and test it against the
real timeline: a July PR's kind/backport means release-1.5 and never
release-1.6, whenever the label arrived.
Assisted-by: LLM
Signed-off-by: Myasnikov Daniil <[email protected]>1 parent 56f2034 commit ef43c65
3 files changed
Lines changed: 79 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
201 | | - | |
| 201 | + | |
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
| 205 | + | |
| 206 | + | |
205 | 207 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
59 | 60 | | |
60 | 61 | | |
61 | 62 | | |
| |||
1013 | 1014 | | |
1014 | 1015 | | |
1015 | 1016 | | |
| 1017 | + | |
| 1018 | + | |
| 1019 | + | |
| 1020 | + | |
| 1021 | + | |
| 1022 | + | |
| 1023 | + | |
| 1024 | + | |
| 1025 | + | |
| 1026 | + | |
| 1027 | + | |
| 1028 | + | |
| 1029 | + | |
| 1030 | + | |
| 1031 | + | |
| 1032 | + | |
| 1033 | + | |
| 1034 | + | |
| 1035 | + | |
1016 | 1036 | | |
1017 | 1037 | | |
1018 | 1038 | | |
| |||
1038 | 1058 | | |
1039 | 1059 | | |
1040 | 1060 | | |
1041 | | - | |
1042 | | - | |
1043 | | - | |
1044 | | - | |
1045 | | - | |
1046 | | - | |
1047 | | - | |
1048 | | - | |
| 1061 | + | |
| 1062 | + | |
1049 | 1063 | | |
1050 | 1064 | | |
1051 | 1065 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
115 | 165 | | |
116 | 166 | | |
117 | 167 | | |
| |||
0 commit comments