Skip to content

Commit

Permalink
Fixed multi tenant handling of inboxes (#232)
Browse files Browse the repository at this point in the history
closes https://linear.app/ghost/issue/AP-551

Fedify previously would not process the same activity twice based on the
activity id, but this meant that if it was delivered to two different hosts
managed by the same server instance that only the first one would be processed.

This has been updated in fedify 1.3.1 to include the origin of the request in
the cache key for idempotency checks.
  • Loading branch information
allouis authored Dec 12, 2024
1 parent 4132703 commit 9b316a0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@cucumber/cucumber": "10.9.0",
"@fedify/cli": "1.3.0",
"@fedify/cli": "1.3.1",
"@types/jsonwebtoken": "9.0.7",
"@types/node": "20.17.6",
"@types/node-jose": "1.1.13",
Expand All @@ -43,7 +43,7 @@
"wiremock-captain": "3.5.0"
},
"dependencies": {
"@fedify/fedify": "1.3.0",
"@fedify/fedify": "1.3.1",
"@google-cloud/opentelemetry-cloud-trace-exporter": "2.4.1",
"@google-cloud/opentelemetry-cloud-trace-propagator": "0.20.0",
"@google-cloud/pubsub": "4.9.0",
Expand Down
16 changes: 8 additions & 8 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -496,15 +496,15 @@
resolved "https://registry.yarnpkg.com/@fastify/busboy/-/busboy-2.1.1.tgz#b9da6a878a371829a0502c9b6c1c143ef6663f4d"
integrity sha512-vBZP4NlzfOlerQTnba4aqZoMhE/a9HY7HRqoOPaETQcSQuWEIyZMHGfVu6w9wGtGK5fED5qRs2DteVCjOH60sA==

"@fedify/[email protected].0":
version "1.3.0"
resolved "https://registry.yarnpkg.com/@fedify/cli/-/cli-1.3.0.tgz#0097928e38dfd5c0a77bd0ff1554e3134e5c8f27"
integrity sha512-9IsCBTykji7iSBrfWvDeE0A6SCAVZAMorghOYsMUS3ex9wTYdmM7lH3nGHEwkLwep49DNWeLjCj4OYcwvDbVvQ==
"@fedify/[email protected].1":
version "1.3.1"
resolved "https://registry.yarnpkg.com/@fedify/cli/-/cli-1.3.1.tgz#56c7708d1c1adb915c38a446e5cc67e1cb974a53"
integrity sha512-fzN56LYYgQerbI0RrRxLHOgh6Mjx0kgPv55x+jkcqOxhg4+15N8ZwqUjmk1rdYI6FrtRuF940h6q0+tt+rjlmQ==

"@fedify/[email protected].0":
version "1.3.0"
resolved "https://registry.yarnpkg.com/@fedify/fedify/-/fedify-1.3.0.tgz#cf9086bfd40afee84d6771fa3b33488e65cf4a9a"
integrity sha512-U0rUvD0Akl2F8TOwgwbeLoxUINbCsHiHGIWXt5pz3zyJ+1MgehJFPQPpPJR1jfF7iQIDwLik1mRLlXsqGUIQug==
"@fedify/[email protected].1":
version "1.3.1"
resolved "https://registry.yarnpkg.com/@fedify/fedify/-/fedify-1.3.1.tgz#2ff96494224264729d05505e8d0de2edacee9a93"
integrity sha512-1qsCD7kvvij1Ix+PwS98CliDi7+N5ge8z35s+4K4pbsXQkFWNMhMd5w7cAe4cIrMClIyZGTnAYnFLvr+x4BoYQ==
dependencies:
"@deno/shim-crypto" "~0.3.1"
"@deno/shim-deno" "~0.18.0"
Expand Down

0 comments on commit 9b316a0

Please sign in to comment.