mirror of
https://github.com/alkimake/paperclip.git
synced 2026-06-16 10:50:38 +09:00
Exclude self-comments from queued comment UI
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
parent
eda127a2b2
commit
5d6217b70b
3 changed files with 23 additions and 1 deletions
|
|
@ -212,4 +212,18 @@ describe("optimistic issue comments", () => {
|
|||
}),
|
||||
).toBe(false);
|
||||
});
|
||||
|
||||
it("does not mark comments from the active run agent as queued", () => {
|
||||
expect(
|
||||
isQueuedIssueComment({
|
||||
comment: {
|
||||
createdAt: new Date("2026-03-28T16:20:05.000Z"),
|
||||
authorAgentId: "agent-1",
|
||||
},
|
||||
activeRunStartedAt: new Date("2026-03-28T16:20:00.000Z"),
|
||||
activeRunAgentId: "agent-1",
|
||||
runId: null,
|
||||
}),
|
||||
).toBe(false);
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue