Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

NodeBB

  1. Home
  2. Journey of the Wolf and Raven
  3. Activity-Relay Server 2.5.0 RC2 pushed

Activity-Relay Server 2.5.0 RC2 pushed

Scheduled Pinned Locked Moved Journey of the Wolf and Raven
activitypubfediversefriendicamastodonnodebb
1 Cross-posts 4 Posts 2 Posters 20 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • alan@www.wolfandraven.blogA This user is from outside of this forum
    alan@www.wolfandraven.blogA This user is from outside of this forum
    alan@www.wolfandraven.blog
    wrote last edited by
    #1

    Activity-Relay Server 2.5.0 RC 2 is now live at https://relay.argentwolf.org

    Please help me out with connecting and testing! If you have any issues, please let me know! You can reach me at @alan, or open an issue on https://github.com/thystra/Activity-Relay

    RC2 enhancements include:

    • Reliable delivery retries: Each relay fan-out target now receives one initial attempt plus five delayed retries.
    • Bounded Fibonacci backoff: Retry delays occur at approximately 8, 13, 21, 34, and 55 seconds.
    • Longer activity retention: Shared activity bodies remain in Redis for 15 minutes, covering the full retry window with additional margin.
    • Correct terminal accounting: remain_count is reduced only after successful delivery or final retry exhaustion—not after every failed attempt.
    • Protection against premature payload deletion: A temporary failure from one receiver can no longer delete the activity needed by its own retry or other pending receivers.
    • Structured delivery diagnostics: Logs now include task UUID, activity storage ID, activity/object/actor identifiers, origin domain, receiver domain, attempt number, remaining retries, and body SHA-256.
    • Delivery timing details: Each attempt records elapsed processing time and the scheduled time or delay for the next retry.
    • Improved HTTP failure evidence: Logs capture HTTP status codes, classified error types, and bounded response text from receivers, including useful errors such as 424 Failed Dependency.
    • Safer diagnostic logging: Raw activity bodies, HTTP signatures, private keys, and unbounded remote responses are not written to logs.
    • At-least-once recovery: A receiver that finishes processing after the relay times out may receive the same activity again during retry, allowing recovery from ambiguous timeout outcomes.
    • Receiver-health tracking across retries: Successful and failed attempts update per-receiver delivery statistics and consecutive-failure state.
    • Regression coverage: New tests verify retriable failure retention, successful later delivery, terminal cleanup, retry timing, metadata extraction, and bounded response handling.
    • Operational observability: RC2 supports private health, readiness, and Prometheus metrics endpoints, now enabled locally in production on 127.0.0.1:9090.
    • Preserved upgrade state: Deployment validation confirmed that the relay actor identity, private key, configuration, website settings, and all Redis logical data remained intact during the RC1-to-RC2 upgrade.

    Changelog

    #activitypub #friendica #mastodon #fediverse #nodebb #relay #relayserver #relayservers #relaytest

    julian@activitypub.spaceJ 1 Reply Last reply
    0
    • ? [[global:guest]] crossposted this topic to General Discussion
    • alan@www.wolfandraven.blogA alan@www.wolfandraven.blog

      Activity-Relay Server 2.5.0 RC 2 is now live at https://relay.argentwolf.org

      Please help me out with connecting and testing! If you have any issues, please let me know! You can reach me at @alan, or open an issue on https://github.com/thystra/Activity-Relay

      RC2 enhancements include:

      • Reliable delivery retries: Each relay fan-out target now receives one initial attempt plus five delayed retries.
      • Bounded Fibonacci backoff: Retry delays occur at approximately 8, 13, 21, 34, and 55 seconds.
      • Longer activity retention: Shared activity bodies remain in Redis for 15 minutes, covering the full retry window with additional margin.
      • Correct terminal accounting: remain_count is reduced only after successful delivery or final retry exhaustion—not after every failed attempt.
      • Protection against premature payload deletion: A temporary failure from one receiver can no longer delete the activity needed by its own retry or other pending receivers.
      • Structured delivery diagnostics: Logs now include task UUID, activity storage ID, activity/object/actor identifiers, origin domain, receiver domain, attempt number, remaining retries, and body SHA-256.
      • Delivery timing details: Each attempt records elapsed processing time and the scheduled time or delay for the next retry.
      • Improved HTTP failure evidence: Logs capture HTTP status codes, classified error types, and bounded response text from receivers, including useful errors such as 424 Failed Dependency.
      • Safer diagnostic logging: Raw activity bodies, HTTP signatures, private keys, and unbounded remote responses are not written to logs.
      • At-least-once recovery: A receiver that finishes processing after the relay times out may receive the same activity again during retry, allowing recovery from ambiguous timeout outcomes.
      • Receiver-health tracking across retries: Successful and failed attempts update per-receiver delivery statistics and consecutive-failure state.
      • Regression coverage: New tests verify retriable failure retention, successful later delivery, terminal cleanup, retry timing, metadata extraction, and bounded response handling.
      • Operational observability: RC2 supports private health, readiness, and Prometheus metrics endpoints, now enabled locally in production on 127.0.0.1:9090.
      • Preserved upgrade state: Deployment validation confirmed that the relay actor identity, private key, configuration, website settings, and all Redis logical data remained intact during the RC1-to-RC2 upgrade.

      Changelog

      #activitypub #friendica #mastodon #fediverse #nodebb #relay #relayserver #relayservers #relaytest

      julian@activitypub.spaceJ This user is from outside of this forum
      julian@activitypub.spaceJ This user is from outside of this forum
      julian@activitypub.space
      wrote last edited by
      #2

      Since you're using AI to code this it may be worth exploring what aspects of Activity-Relay differ from what is detailed in the retrospective FEP ae0c

      https://w3id.org/fep/ae0c

      1 Reply Last reply
      0
      • alan@www.wolfandraven.blogA This user is from outside of this forum
        alan@www.wolfandraven.blogA This user is from outside of this forum
        alan@www.wolfandraven.blog
        wrote last edited by
        #3

        Thanks, I’m taking a look at it now!

        1 Reply Last reply
        0
        • alan@www.wolfandraven.blogA This user is from outside of this forum
          alan@www.wolfandraven.blogA This user is from outside of this forum
          alan@www.wolfandraven.blog
          wrote last edited by
          #4

          I tried to reply from my Friendica instance, but it appears the post only went to my timeline, and not back to the post. Maybe I’m doing something wrong, but that wasn’t the intended behavior. – https://friendica.argentwolf.org/display/b285e3be-196a-6e54-fc63-afb575917494

          Yes, I am using AI to update this project.

          The Activity-Relay 3.0 roadmap regarding FEP-ae0c is here:

          https://github.com/thystra/Activity-Relay/blob/master/docs/FEP-AE0C-COMPATIBILITY.md

          I’d appreciate any comments on it you may have.

          1 Reply Last reply
          0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          Powered by NodeBB Contributors
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups