(runTag)
| 2182 | // silently drop the second). Embedded in the comment body as an HTML comment |
| 2183 | // so getPostedCommentIds can match it back on retry. |
| 2184 | function newCommentId(runTag) { |
| 2185 | return `ocr-${runTag}-${crypto.randomBytes(8).toString("hex")}`; |
| 2186 | } |
| 2187 | |
| 2188 | // ---- Badge + publication policy helpers (#478) ---- |
| 2189 | // |
no outgoing calls