Function
issueComment
(
id: number,
body: string,
login = "contributor",
updatedAt = "2026-05-24T00:00:00Z",
)
Source from the content-addressed store, hash-verified
| 405 | }); |
| 406 | |
| 407 | function issueComment( |
| 408 | id: number, |
| 409 | body: string, |
| 410 | login = "contributor", |
| 411 | updatedAt = "2026-05-24T00:00:00Z", |
| 412 | ) { |
| 413 | return { |
| 414 | id, |
| 415 | body, |
| 416 | html_url: `https://github.com/openclaw/openclaw/pull/123#issuecomment-${id}`, |
| 417 | updated_at: updatedAt, |
| 418 | created_at: updatedAt, |
| 419 | user: { login }, |
| 420 | author_association: "CONTRIBUTOR", |
| 421 | }; |
| 422 | } |
| 423 | |
| 424 | test("review context comment filter removes ClawSweeper self-noise and command-only comments", () => { |
| 425 | const comments = [ |
Tested by
no test coverage detected