summaryrefslogtreecommitdiff
path: root/packages/backend/test/unit/queue/processors (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fix(deps): update [backend] update dependencies (major) (#16099)renovate[bot]2025-11-301-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix(deps): update [backend] update dependencies * update approve builds * update minimum node version for testing * remove types/bcryptjs * fix(backend): remove removed type previously exported from file-type * migrate webauthnservice * Update Changelog * update deps (MisskeyIO#889) - メンテナンスされないredis-lockを自前実装に変更 - 既にロックされている場合のリトライ間隔を調整 * use main redis for lock * spdx * tweak max retries * [ci skip] dedupe * attempt to fix test * attempt to fix test * Revert "attempt to fix test" This reverts commit c508318627e4ffab030e1acf5182f58cc2eb51d8. * temporarily roll back simonjs/fake-timers to v11.3.1 * Revert "temporarily roll back simonjs/fake-timers to v11.3.1" This reverts commit 54f1fc3d7917089e05b20fc5b86435e3f5e5b040. * migrate sinonjs/fake-timers * update deps / migrate jest 30 * fix test * fix: update node.js min version to 20.18.1 * fix: rollback nsfwjs to 4.2.0 * fix * attempt to fix test * attempt to fix test * attempt to fix test * attempt to fix test * revert jest 30 related changes * update deps * fix test * fix: rollback nsfwjs to 4.2.0 * fix: rollback sharp to 0.33 * update deps * fix: rollback sharp-read-bmp to 1.2.0 * fix: rollback nsfwjs to 4.2.0 * recreate lockfile * update deps * fix: rollback sharp-read-bmp to 1.2.0 * fix: rollback jsdom, parse5 * fix: rollback jsdom types * fix [ci skip] * run pnpm dedupe * update deps * run pnpm dedupe [ci skip] * Update Changelog [ci skip] --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: kakkokari-gtyih <67428053+kakkokari-gtyih@users.noreply.github.com> Co-authored-by: あわわわとーにゅ <17376330+u1-liquid@users.noreply.github.com> Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
* fix: Remote Note Cleaning will delete notes embedded in a page (#16408)anatawa122025-08-151-0/+18
| | | | | | | | | | | | | | | | | | | | | * feat: preserve number of pages referencing the note * chore: delete pages on account delete * fix: notes on the pages are removed by CleanRemoteNotes * test: add the simplest test for page embedded notes * fix: section block is not considered * fix: section block is not considered in migration * chore: remove comments from columns * revert unnecessary change * add pageCount to webhook test * fix type error on backend
* enhance: performance for CleanRemoteNotesProcessorService (#16404)饺子w (Yumechi)2025-08-141-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * enhance: performance for CleanRemoteNotesProcessorService Signed-off-by: eternal-flame-AD <yume@yumechi.jp> * suggestions Signed-off-by: eternal-flame-AD <yume@yumechi.jp> * docs Signed-off-by: eternal-flame-AD <yume@yumechi.jp> * change initial limit to 100 Signed-off-by: eternal-flame-AD <yume@yumechi.jp> * robustness for transient race conditions Signed-off-by: eternal-flame-AD <yume@yumechi.jp> * handle cursors in postgres Signed-off-by: eternal-flame-AD <yume@yumechi.jp> * robustness: transient errors and timeout handling Signed-off-by: eternal-flame-AD <yume@yumechi.jp> * use '0' as initial cursor Signed-off-by: eternal-flame-AD <yume@yumechi.jp> --------- Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
* fix(backend): Fix and create unit test of CleanRemoteNotesProcessorService ↵tamaina2025-08-081-0/+631
| | | | | | | | | | | | | | | | | | | | | (#16368) * wip * test(backend): CleanRemoteNotesProcessorService (basic) * test(backend): CleanRemoteNotesProcessorService (advanced) * :v: * a * split initiator query * no order by * ??? * old → older
* fix(backend): typeormのbreaking changeに対応 (#16105)かっこかり2025-05-271-2/+2
| | | | | * fix(backend): typeormのbreaking changeに対応 * attempt to fix test
* enhance(backend): refine system account (#15530)syuilo2025-03-021-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wip * wip * wip * Update SystemAccountService.ts * Update 1740121393164-system-accounts.js * Update DeleteAccountService.ts * wip * wip * wip * wip * Update 1740121393164-system-accounts.js * Update RepositoryModule.ts * wip * wip * wip * Update ApRendererService.ts * wip * wip * Update SystemAccountService.ts * fix tests * fix tests * fix tests * fix tests * fix tests * fix tests * add print logs * ログが長すぎて出てないかもしれない * fix migration * refactor * fix fed-tests * Update RelayService.ts * merge * Update user.test.ts * chore: emit log * fix: tweak sleep duration * fix: exit 1 * fix: wait for misskey processes to become healthy * fix: longer sleep for user deletion * fix: make sleep longer again * デッドロック解消の試み https://github.com/misskey-dev/misskey/issues/15005 * Revert "デッドロック解消の試み" This reverts commit 266141f66fb584371bbb56ef7eba04e14bcff94d. * wip * Update SystemAccountService.ts --------- Co-authored-by: おさむのひと <46447427+samunohito@users.noreply.github.com> Co-authored-by: zyoshoka <107108195+zyoshoka@users.noreply.github.com>
* refactor: ↵おさむのひと2025-01-141-4/+8
| | | | | | | | | SystemWebhook/UserWebhookの配信処理呼び出し部分の改善 (#15035) * UserWebhook側の対処 * SystemWebhook側の対処 * fix test
* feat: ↵おさむのひと2024-10-131-12/+156
| | | | | | | | | | | | | | | | | | | | | | | | | 運営のアクティビティが一定期間ない場合は通知+招待制に移行した際に通知 (#14757) * feat: 運営のアクティビティが一定期間ない場合は通知+招待制に移行した際に通知 * fix misskey-js.api.md * Revert "feat: 運営のアクティビティが一定期間ない場合は通知+招待制に移行した際に通知" This reverts commit 3ab953bdf87f28411a1a10bce787a23d238cda80. * 通知をやめてユーザ単位でのお知らせ機能に変更 * テスト用実装を戻す * Update packages/backend/src/queue/processors/CheckModeratorsActivityProcessorService.ts Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com> * fix remove empty then --------- Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
* feat(backend): ↵おさむのひと2024-10-111-0/+235
7日間運営のアクティビティがないサーバを自動的に招待制にする (#14746) * feat(backend): 7日間運営のアクティビティがないサーバを自動的に招待制にする * fix RoleService. * fix * fix * fix * add test and fix * fix * fix CHANGELOG.md * fix test