Mehul Arora

@infiniteregrets.bsky.social

You can now use S2 as a backend for Mastra Durable Agents! The @ s2-dev/mastra-pubsub adapter maps each durable topic to an S2 stream, with live delivery, replay after refreshes or process restarts, and distributed leases for coordinating thread ownership across processes.

Bild

There's two new ways to manage S2 as code! The Terraform provider lets you manage resources with full lifecycle support. Available on the Terraform Registry at s2-streamstore/s2. Or you can use the CLI by `s2 apply` which takes a declarative JSON spec and creates/reconfigures specified resources.

The s2.dev dashboard now has a Data Plane studio to make it convenient to work with streams. You can: -Do one-shot reads, live tail from any stream, start from an offset, seq no., or timestamp -Append records in multiple modes -Run stream commands -Inspect records with command record aware rendering

After a bout of hallucination, I had GPT5 generate some backronyms for itself: - Generally Pretends Truthfully - Gullible People’s Trick - Greatly Pretends Things - Generated, Probably Twisted - Guessing, Passing, Tricking - Good at Pretending Truths - Generally Produces Tall-tales

Our Star Wars quickstart got good feedback, and now you can view the stream from the dashboard too 🫣 This comes in real handy for live debugging and observability — especially in systems built around agentic workflows, microservices, or event sourcing using @s2.dev

@s2.dev can now automatically delete streams where all records have fallen out of retention or it was never written to, based on a configurable time threshold. The option is called "delete-on-empty" and you can set it up on the default stream configuration for your basin from the dashboard or CLI!