Commit a68a719
committed
fix(ci): duplicate comments prevented via issue id deduplication (#3449)
Linear sync created duplicate comments on issues when same ID appeared
in both PR body and branch name. Example: ENG-8061 got two identical
"Now available in stable release v0.30.4" comments 1 second apart.
Root cause: IssueIDs() extracted from both PR body AND branch name,
returning duplicates when both contained the same issue reference.
This was exposed by commit e480400 which added stable release comments
for already-released issues - before that, duplicates were silently
skipped because issue was already in "Released" state.
Resolves OPS-460
(cherry picked from commit cfcf45a)
# Conflicts:
# hack/linear-sync/main.go
# hack/linear-sync/main_test.go1 parent 10ace0e commit a68a719
2 files changed
+387
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
157 | 161 | | |
158 | 162 | | |
159 | 163 | | |
| |||
189 | 193 | | |
190 | 194 | | |
191 | 195 | | |
192 | | - | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
0 commit comments