🌎 A completely free and open interplanetary-microblogging platform 🚀 https://misskey-hub.net/
  • TypeScript 63.1%
  • Vue 30.3%
  • JavaScript 5.8%
  • GLSL 0.4%
  • SCSS 0.2%
Find a file
SASAPIYO (SASAGAWA Kiyoshi) ae5d2d40d7
fix(backend): skip inbox activities without an actor instead of throwing TypeError (#17558)
* fix(backend): skip inbox activities without an actor instead of throwing TypeError

- guard getApId() against null/undefined (and fix the 'detemine' typo)
- skip actor-less inbox activities early with Bull.UnrecoverableError

Fixes #17557

* fix(backend): reject actor-less inbox activities at enqueue time

Per review feedback (#17558), move the actor presence check to the inbox
HTTP handler and drop the processor-side guard.

- ActivityPubServerService.inbox(): validate the request body from the
  loose (unknown) type and return 400 for structurally invalid activities
  (non-object / missing actor) instead of enqueueing a job that can never
  be authenticated. Avoids useless retries and TypeError noise.
- InboxProcessorService.process(): remove the actor null guard; IActivity.actor
  is non-null, so the check is unnecessary once enqueue is validated.
- getApId(): widen the parameter to include undefined so the existing null
  guard is type-honest (getOneApId can pass value[0] of an empty array).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-19 15:00:17 +09:00
.agents/skills docs(agents): Follow-up of #17582 [ci skip] 2026-06-18 21:26:09 +09:00
.claude docs(agents): エージェント向けのドキュメントを拡充 (#17582) 2026-06-18 20:23:15 +09:00
.config perf: rsa sign on slacc (#17322) 2026-05-12 17:36:49 +09:00
.devcontainer perf: rsa sign on slacc (#17322) 2026-05-12 17:36:49 +09:00
.github chore(llm/docs): .claude配下の再構成 (#17514) 2026-06-03 09:03:10 +09:00
.okteto ok-to-test with okteto (#8799) 2022-06-09 00:50:23 +09:00
.vscode enhance(backend): pugをやめ、JSXベースのテンプレートに変更 (#16908) 2025-12-01 18:36:55 +09:00
assets 🎨 2025-05-07 10:44:43 +09:00
chart perf: rsa sign on slacc (#17322) 2026-05-12 17:36:49 +09:00
cypress deps: Update dependencies (#17304) 2026-04-12 00:57:16 +09:00
idea add ideas 2025-09-27 20:53:21 +09:00
locales New Crowdin updates (#17555) 2026-06-18 18:41:00 +09:00
packages fix(backend): skip inbox activities without an actor instead of throwing TypeError (#17558) 2026-06-19 15:00:17 +09:00
patches Revert typeorm patches (#16664) 2025-10-19 11:34:34 +09:00
scripts deps: update dependencies (#17575) 2026-06-17 12:13:50 +09:00
.dockerignore Minify backend (#17054) 2026-01-05 20:56:52 +09:00
.dockleignore fix: aptのキャッシュを削除しないようにする (#9803) 2023-02-05 14:15:59 +09:00
.editorconfig Migration cleanup (#16288) 2025-07-16 15:49:05 +09:00
.gitattributes 改行コードをLFに統一 (#9926) 2023-02-14 13:13:34 +09:00
.gitignore Update .gitignore 2026-06-04 19:40:20 +09:00
.gitmodules enhance: 絵文字データの参照を自前ライブラリに変更 (#17381) 2026-05-09 18:35:38 +09:00
.node-version use node 22.15.0 by default 2025-12-06 17:39:17 +09:00
.vsls.json Add .vsls.json 2018-08-13 00:24:45 +09:00
AGENTS.md docs(agents): エージェント向けのドキュメントを拡充 (#17582) 2026-06-18 20:23:15 +09:00
CHANGELOG.md fix(backend): skip inbox activities without an actor instead of throwing TypeError (#17558) 2026-06-19 15:00:17 +09:00
CLAUDE.md docs: AI コーディングエージェント共通設定を追加 (#17396) 2026-05-12 17:56:06 +09:00
CODE_OF_CONDUCT.md docs: Update Code of Conduct to version 2.1 (#12150) 2023-11-13 16:52:54 +09:00
codecov.yml Update codecov.yml 2023-02-26 14:17:29 +09:00
compose.local-db.yml Update PostgreSQL volume mount paths for PostgreSQL 18 (#16986) 2025-12-14 11:32:42 +09:00
compose_example.yml Update PostgreSQL volume mount paths for PostgreSQL 18 (#16986) 2025-12-14 11:32:42 +09:00
CONTRIBUTING.md Update CONTRIBUTING.md 2026-05-15 10:12:17 +09:00
COPYING enhance: 絵文字データの参照を自前ライブラリに変更 (#17381) 2026-05-09 18:35:38 +09:00
crowdin.yml ドキュメントをmisskey-hubに移行 2021-11-05 16:18:52 +09:00
cypress.config.ts Feat: サーバー初期設定ウィザード (#15954) 2025-05-09 19:41:54 +09:00
Dockerfile fix(docker): runnerでのpnpmの依存関係チェックを無効化 (#17425) 2026-05-18 10:23:47 +09:00
healthcheck.sh feat(backend): add /healthz endpoint (#13834) 2024-05-23 15:19:52 +09:00
LICENSE Use AGPLv3 2018-03-28 22:56:28 +09:00
package.json Bump version to 2026.6.0-beta.0 2026-06-17 03:21:46 +00:00
pnpm-lock.yaml deps: update dependencies (#17575) 2026-06-17 12:13:50 +09:00
pnpm-workspace.yaml deps: update dependencies (#17575) 2026-06-17 12:13:50 +09:00
Procfile Create Procfile 2019-04-05 18:17:30 +09:00
README.md Update README.md 2026-01-07 21:43:31 +09:00
renovate.json5 chore: set nodeMaxMemory to 4096 in renovate configuration (#17437) 2026-05-19 22:25:30 +09:00
ROADMAP.md Update ROADMAP with completed tasks 2025-11-11 09:30:13 +09:00
SECURITY.md Update SECURITY.md 2025-02-01 13:57:39 +09:00

Misskey logo

🌎 Misskey is an open source, federated social media platform that's free forever! 🚀

Learn more


find an instance create an instance become a contributor join the community become a patron

Ask DeepWiki

Thanks

Sentry

Thanks to Sentry for providing the error tracking platform that helps us catch unexpected errors.

Chromatic

Thanks to Chromatic for providing the visual testing platform that helps us review UI changes and catch visual regressions.

Codecov

Thanks to Codecov for providing the code coverage platform that helps us improve our test coverage.

Crowdin

Thanks to Crowdin for providing the localization platform that helps us translate Misskey into many languages.

Docker

Thanks to Docker for providing the container platform that helps us run Misskey in production.


Support us with a !

Star History Chart