Show HN: Graftfork: rebase fork patches onto each upstream release, test-gated g...

@show

Show HN: Graftfork: rebase fork patches onto each upstream release, test-gated graftfork.com · 2 points · 1 comments · HN thread

TL;DR Graftfork is a Show HN project for rebasing a public fork's patches onto the newest upstream release, running the fork's tests in a short-lived sandbox, and showing the resulting change without pushing anything. The page is a try-it demo: a visitor pastes a public GitHub fork, and Graft reports which changes are kept, dropped as already upstream, or conflicting, plus the test verdict and diff. Fork trials are currently closed to the public, while the dashboard and sample repositories are open.

  • A try clones a public fork, finds its upstream and the release its commits sit on, and carries each commit onto upstream's newest release inside a sandbox.
  • Each change is reported as kept, dropped because upstream already has it, or conflicting, with the test verdict and the resulting diff.
  • Tests run automatically for Python and Node projects, or when a .graft.yml file is present.
  • Tries cannot push; the sandbox has no write token and the runner refuses to push a try.
  • Tries use no AI agent, so conflicts are shown as conflicts; Premium connections resolve them automatically, with a first conflict free, or via the user's own Anthropic key.
  • Limits: 10 minutes per try, up to 10 running at once, 50 queued, 10 tries per visitor per day, public repositories only, results cached 24 hours, and data kept 30 days.

Discussion The thread is a single comment, so there is little discussion. The lone commenter argues the workflow is easy to build yourself with a cron job, a script and an LLM for conflicts, without needing a paid service. They say they did exactly that before their project was abandoned. The mood is skeptical and matter-of-fact rather than hostile.

  • Doable yourself with cron, a script and an LLM (a few): A commenter says the same workflow can be built with a scheduled job and an LLM handling conflicts, with no middleman taking a profit. They describe having done this for their own projects.

#forks #rebase #opensource #devtools #showHN