1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-06 00:05:36 +02:00

fix(backend): Prevent retry of inbox jobs with role-based validation errors (#17167)

* Initial plan

* Handle too many mentions error in inbox without retry

Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
This commit is contained in:
Copilot
2026-04-15 11:39:49 +09:00
committed by GitHub
parent a5b1f839ac
commit 12e590a63f

View File

@@ -252,6 +252,9 @@ export class InboxProcessorService implements OnApplicationShutdown {
if (e.id === 'd450b8a9-48e4-4dab-ae36-f4db763fda7c') { // invalid Note
return e.message;
}
if (e.id === '9f466dab-c856-48cd-9e65-ff90ff750580') {
return 'note contains too many mentions';
}
}
throw e;
}