frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Stepped Actions – distributed workflow orchestration for Rails

https://github.com/envirobly/stepped
55•klevo•5d ago
Stepped is a Rails engine, extracted out of Envirobly where it powers tasks like application deployment, that involve complex, out-of-the-band tasks like DNS provisioning, retries, waiting for instances to boot, running health checks and all the fun stuff of a highly distributed networked system.

Comments

moh_quz•5d ago
This looks useful. I've been exploring similar durable execution patterns in Go recently to avoid the complexity of Temporal for smaller workflows.

How does stepped_actions handle the state between steps? Does it persist to the DB after every single action to handle crash recovery, or is it more optimistic?

Good luck with the launch

klevo•5d ago
Yes, state is persisted to DB upon every change. Action exceptions are handled gracefully and natural part of the system, they simply fail the action. Crash recovery is build-in thanks to checksums and ActiveJob, if you're using the right adapter, like GoodJob or SolidQueue where crash recovery is guaranteed.
nzoschke•25m ago
I recently started using this DBOS in Go and it’s been good.

https://github.com/dbos-inc/dbos-transact-golang

I have River on my list to try someday too

https://riverqueue.com/pro

deedubaya•2h ago
Congratulations on shipping this, I’m sure folks will find it useful!

The rails native way to do this is to track state in a db row and queuing “next step” jobs as the data changes. This can get verbose especially for smaller pass/fail workflows. However, I find this works better (not worse imo) in more complex workflows as the state is tracked, queryable, can be surfaced in UIs, and resumed “manually” in the event of an outage.

silasb•2h ago
Seems pretty similar to https://github.com/radioactive-labs/chrono_forge which is what I found when I typed in "rails durable execution patterns" into Google. Have you seen this and if so, how do you think it compares?
sroussey•48m ago
Nice. I have a simple system for typescript [1] where you can string tasks together like:

import { Workflow } from "@workglow/task-graph"; const workflow = new Workflow(); workflow .DownloadModel({ model: ["onnx:Xenova/LaMini-Flan-T5-783M:q8", "Universal Sentence Encoder"], }) .TextEmbedding({ text: "The quick brown fox jumps over the lazy dog.", }); await workflow.run();

It automatically caches results of steps if you say `new Workflow({outputCache});`

PS: the example above uses a local onnx model (it switches on model name) which is a good candidate for caching, but can be anything.

You can play around writing this way if you open the console at the web example [2] which has fun console formatters not enough people know about or use in DevTools. You can write code in the console and the example rewrites it as a json format in the web page (and visa-versa).

Or just use the free web app with local user account and local models to play around with. [3]

[1] https://github.com/workglow-dev/workglow

[2] https://workglow-web.netlify.app/

[3] https://workglow.dev

chao-•21m ago
I have implemented (or managed a team that implemented) this concept four separate times as an internal library somewhere. Every time I've seen the concept generalized, each one included slightly different affordances and addressed a few different concerns that stem from the domain that it was built for.

Props for extracting it and offering it up as a library. I'll be interested to compare it to the implementations I've seen, and see what you've added that I've not seen before.

vicentereig•20m ago
Nice work. Thanks for sharing it! I've been thinking about using something like this for LLM agent workflows - the outbound action pattern would work well for tool calls that need to wait on external APIs.

I'm working on DSPy.rb [1] and this could pair nicely for multi-step reasoning chains.

Curious - any plans for async gem support?

[1] https://oss.vicente.services/dspy.rb/

dzonga•20m ago
the write up was well done - on why the pivot. & who his actual target market is

Show HN: Stepped Actions – distributed workflow orchestration for Rails

https://github.com/envirobly/stepped
55•klevo•5d ago•9 comments

Show HN: Zynk, a Fast, P2P Encrypted File Transfers and Messaging Across Devices

6•justmarc•39m ago•0 comments

Show HN: I implemented generics in my programming language

https://axe-docs.pages.dev/features/generics/
31•death_eternal•4d ago•16 comments

Show HN: Picknplace.js, an alternative to drag-and-drop

https://jgthms.com/picknplace.js/
395•bbx•3d ago•136 comments

Show HN: CommerceTXT – An open standard for AI shopping context (like llms.txt)

https://commercetxt.org/
17•tsazan•3d ago•33 comments

Show HN: Stop AI scrapers from hammering your self-hosted blog (using porn)

https://github.com/vivienhenz24/fuzzy-canary
315•misterchocolat•2d ago•236 comments

Show HN: I open-sourced my Go and Next B2B SaaS Starter (deploy anywhere, MIT)

https://github.com/moasq/production-saas-starter
59•moh_quz•4h ago•30 comments

Show HN: Learning a Language Using Only Words You Know

https://simedw.com/2025/12/15/langseed/
70•simedw•4d ago•20 comments

Show HN: We built a small app with my wife to track promises we do

https://lovechecks.app/
2•warkanlock•3h ago•0 comments

Show HN: UK Butchers Meat Price Tracker

https://offer-spider.onrender.com
13•wolfer•5d ago•5 comments

Show HN: Composify – Open-Source Visual Editor / Server-Driven UI for React

https://github.com/composify-js/composify
65•injung•1d ago•5 comments

Show HN: Bithoven – A high-level, imperative language for Bitcoin Smart Contract

https://github.com/ChrisCho-H/bithoven
25•hyunhum•4d ago•8 comments

Show HN: BlazeDiff v2 – Fastest image diff with native binary and SIMD

https://github.com/teimurjan/blazediff
4•teimurjan•3h ago•0 comments

Show HN: Agents.db – an AGENTS.md alternative for LLM agent context

https://github.com/krazyjakee/AGENTS.db
2•krazyjakee•6h ago•0 comments

Show HN: I built a fast RSS reader in Zig

https://github.com/superstarryeyes/hys
90•superstarryeyes•2d ago•32 comments

Show HN: Nano AI - Infinite Canvas AI Image Editor

https://nanoai.love/editor
3•akseli_ukkonen•7h ago•0 comments

Show HN: Xsql – SQL schema conversion via an intermediate representation (Rust)

https://github.com/Dawaman43/xsql
3•dawitworku•7h ago•0 comments

Show HN: A local-first memory store for LLM agents (SQLite)

https://github.com/CaviraOSS/OpenMemory
47•nullure•5d ago•16 comments

Show HN: Helix – AI-powered API mocking with strict schema enforcement

https://github.com/ashfromsky/helix
4•ashfromsky•8h ago•0 comments

Show HN: Spice Cayenne – SQL acceleration built on Vortex

https://spice.ai/blog/introducing-spice-cayenne-data-accelerator
27•lukekim•21h ago•3 comments

Show HN: High-Performance Wavelet Matrix for Python, Implemented in Rust

https://pypi.org/project/wavelet-matrix/
91•math-hiyoko•1d ago•10 comments

Show HN: Paper2Any – Open tool to generate editable PPTs from research papers

https://github.com/OpenDCAI/DataFlow-Agent
11•Mey0320•23h ago•2 comments

Show HN: My own stolen JavaScript Server powered by Rust

https://shyam20001.github.io/rsjs/
4•StellaMary•9h ago•0 comments

Show HN: Sqlit – A lazygit-style TUI for SQL databases

https://github.com/Maxteabag/sqlit
182•MaxTeabag•4d ago•40 comments

Show HN: Daily Set Puzzle – I rebuilt it after setgame.com's SSL cert expired

https://www.anniehu.com/set/
8•anniegracehu•13h ago•2 comments

Show HN: TinyPDF – 3KB PDF library (70x smaller than jsPDF)

https://github.com/Lulzx/tinypdf
16•lulzx•21h ago•3 comments

Show HN: Hacker News, but every headline is hysterical clickbait

https://dosaygo-studio.github.io/hn-front-page-2035/news-max.html
170•keepamovin•5h ago•70 comments

Show HN: MephistoMail – RAM-only ephemeral email with client-side privacy tools

https://www.mephistomail.site/
3•benmxrt•12h ago•0 comments

Show HN: WebCraft: A C++ 23 async IO library

2•raoa32•13h ago•0 comments

Show HN: DocsRouter – The OpenRouter for OCR and Vision Models

https://docsrouter.com
10•misbahsy•1d ago•0 comments