- From: nightpool <eg1290@gmail.com>
- Date: Mon, 24 Apr 2023 16:10:43 -0500
- To: Evan Prodromou <evan@prodromou.name>
- Cc: Darius Kazemi <darius.kazemi@gmail.com>, public-swicg@w3.org
- Message-ID: <CAJY4u8GpYDOCi7T5BhONAD7Bx13cYdJToqmfU8U-XzspHSkgmg@mail.gmail.com>
Unfortunately "gets refused" is currently difficult to define due to the asynchronous processing nature of current implementations. There's no way to signal failure to deliver an activity back to the poster without processing it synchronously (something that is prohibitively expensive at scale). In general I would like to see implementations more liberally use Reject { Activity } for this with a better description of the error message, although this is complicated by the fact that some errors may be transient and implementations may want to retry processing activities a few times internally before communicating an error back to the origin server. As far as I'm aware of, no implementation currently has support for consuming or producing any sort of asynchronous delivery failure message On Mon, Apr 24, 2023, 3:00 PM Evan Prodromou <evan@prodromou.name> wrote: > Thanks! > > I still need to write up what to do if your software receives an extended > Activity from another server. > > I think the best practice is to show the `summary`, and include a link > back to the origin server. > > Another thing that's worth exploring, that people with more experience > than me with Mastodon might know, is how to get Masto to transport > activities with extended types to your followers. > > I think the best algorithm is this: > > 1. Try posting the Activity as-is. > 2. If it gets refused, reformat it as a Link and try it again. > > IDK if that works, but it's my best guess. > > Evan > > On Apr 24, 2023 15:31, Darius Kazemi <darius.kazemi@gmail.com> wrote: > > I'm really glad to see this! You picked a clear set of examples. > > On Mon, Apr 24, 2023, 12:24 PM Evan Prodromou <evan@prodromou.name> wrote: > > There were some questions on Social Hub about how to make extensions. > > I added a section to the Primer on the wiki about it. > > Comments and suggestions welcome! > > https://www.w3.org/wiki/Activity_Streams/Primer/Extensions > > Evan > > > > On Apr 24, 2023 15:31, Darius Kazemi <darius.kazemi@gmail.com> wrote: > > I'm really glad to see this! You picked a clear set of examples. > > On Mon, Apr 24, 2023, 12:24 PM Evan Prodromou <evan@prodromou.name> wrote: > > There were some questions on Social Hub about how to make extensions. > > I added a section to the Primer on the wiki about it. > > Comments and suggestions welcome! > > https://www.w3.org/wiki/Activity_Streams/Primer/Extensions > > Evan > > > > On Apr 24, 2023 15:31, Darius Kazemi <darius.kazemi@gmail.com> wrote: > > I'm really glad to see this! You picked a clear set of examples. > > On Mon, Apr 24, 2023, 12:24 PM Evan Prodromou <evan@prodromou.name> wrote: > > There were some questions on Social Hub about how to make extensions. > > I added a section to the Primer on the wiki about it. > > Comments and suggestions welcome! > > https://www.w3.org/wiki/Activity_Streams/Primer/Extensions > > Evan > > >
Received on Monday, 24 April 2023 21:11:00 UTC