Queue repo Face rumination jobs

This commit is contained in:
Meta Vens 2026-05-18 10:57:51 +01:00
commit 32b96ce575
14 changed files with 465 additions and 5 deletions

View file

@ -322,7 +322,7 @@ async function processJob(job: JobRecord): Promise<void> {
return;
}
if (job.command === "repo-identity-mention") {
if (job.command === "repo-identity-mention" || job.command === "repo-face-rumination") {
await jobQueue.completeJobDirect(job.id, finalResponse);
await deliverOwnerNotifications(job, response.notifications ?? []);
await auditLog.record({
@ -333,10 +333,10 @@ async function processJob(job: JobRecord): Promise<void> {
details: {
summary: response.summary,
autoPosted: false,
reason: "repo_identity_must_post_through_mcp",
reason: `${job.command}_must_post_through_mcp`,
},
});
console.log(`Completed repo identity mention job ${job.id}.`);
console.log(`Completed ${job.command} job ${job.id}.`);
return;
}