mirror of
https://github.com/alkimake/paperclip.git
synced 2026-06-16 02:40:39 +09:00
Fix routine run assignment wakeups
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
parent
2d8c8abbfb
commit
5b1e1239fd
4 changed files with 37 additions and 7 deletions
|
|
@ -619,7 +619,8 @@ export function routineService(db: Db, deps: { heartbeat?: IssueAssignmentWakeup
|
|||
status: "issue_created",
|
||||
linkedIssueId: createdIssue.id,
|
||||
});
|
||||
queueIssueAssignmentWakeup({
|
||||
// Ensure the wake request is durably queued before reporting the routine run as created.
|
||||
await queueIssueAssignmentWakeup({
|
||||
heartbeat,
|
||||
issue: createdIssue,
|
||||
reason: "issue_assigned",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue