Garry Tan

InsForge Backend Branching - Git style branching for your backend

Git-style branching for your entire backend. Spin off a branch to get a full, isolated copy of everything: your database, storage, auth, edge functions, and more, ready for your agents to experiment on without touching production.

Add a comment

Replies

Best
Olivia Bennett

congrats to the team!
can multiple coding agents work on separate branches simultaneously? how do you prevent conflicts when they merge back?


Jiaqi Chen

@olivia_bennett7 yes, multiple agents can work on separate backend branches at the same time. Each branch is isolated, then merge uses a 3-way diff against the parent. If two branches changed the same backend object differently, the merge is blocked with conflict context instead of guessing.

Tony Chang

@olivia_bennett7 yes! it's designed for multiple agents to be working on different branches! just like git worktrees! If there are conflicts agents can figure out what's wrong and merge it correctly!

Emily Carter

congrats on the launch!
how does conflict detection work when two branches modify the same backend resources?does the agent receive guidance on resolving them?

Jiaqi Chen

@emily_carter18 yes. We compare parent at branch creation, parent now, and branch now. If the same table / policy / function / config diverges, we block the merge and show a conflict report. The agent can use that context to fix the branch, then retry.

Joshua cooper

curious about performance.does branch creation duplicate data physically or use snapshots under the hood?how does that impact costs?


Jiaqi Chen

@joshua_cooper2 We support two branch modes: `full` copies schema + data at branch creation time, while `schema-only` copies schema and mergeable backend config but leaves user-data tables empty. For huge prod DBs, schema-only is usually the lighter path, then you add seed/test data as needed.

Carlos Leonardo

Do branches have a configurable TTL or auto-cleanup policy? I can imagine teams accumulating dozens of stale branches quickly if there's no automated housekeeping. Would love to know if that's built in or on the roadmap.

Jiaqi Chen

@carlos_leonardo1 very fair point. Today you can delete/reset branches manually, but configurable TTL / auto-cleanup is exactly the kind of housekeeping we want for teams running lots of agent branches.

Tony Chang

@carlos_leonardo1 This is on our roadmap! we don't want to see 100 branches all live and hard for it to clean up lol

Daniel Harris

congrats on the launch! the reset branch to main feature is honestly the most underrated thing in your whole description. when there's zero cost to failure inside a branch, agents can experiment at full speed without you holding your breath and that compounding freedom is what makes this more than just a safety tool.


Jiaqi Chen

@daniel_harris11 Reset is what makes experimentation feel cheap again. If the agent goes too far, you roll the branch back to T0 and keep going without touching prod.

jwfing

@daniel_harris11 Exactly, agent can restore the branch for any exceptions.

Luz Bidelspach

How detailed is the audit trail? can teams see exactly which agent initiated a change?that could be valuable for accountability.


Jiaqi Chen

@luz_bidelspach totally agree, accountability matters a lot once agents can touch backend state.
Today the branch / diff / merge flow gives teams visibility into what changed before merge. More detailed agent-level attribution is something we care about, but I don’t want to overclaim it as fully solved yet.

Chen Hao

Congrats on shipping this! Does InsForge support snapshotting a branch at a specific point in time? Being able to roll back a branch to a known good state mid experiment would be incredibly useful when agents go off the rails.

Jiaqi Chen

@chen_hao3 great point. Today `branch reset` rolls the branch back to its T0 state, the moment it was created. We don’t support arbitrary point-in-time snapshots inside a branch yet, but the reset flow is there for “agent went off the rails, give me a clean slate.”

Tony Chang

@chen_hao3 We support branch reset! and we also have backups that people or agents can manually backup as well!

Fletcher Oliver

Congratulations to the whole team!
can developers manually edit branches alongside AI agents?or is the workflow designed primarily for agents?


Jiaqi Chen

@fletcher_oliver yes, developers can work on branches manually too. The workflow is agent-native, but the branch is a real isolated backend environment, so humans can inspect, edit, test, and review alongside agents.

Tony Chang

@fletcher_oliver Build for agents to understand and operate! but humans have the full visibility and can do edits as well!

Croft Benjamin

congrats!
quick question:can branches be shared between teammates for collaboration? or are they tied to a single user?


Jiaqi Chen

@croft_benjamin today branches are managed at the project level, but we don’t have a dedicated “branch sharing” workflow yet. It’s a very natural direction though, especially for teams where multiple agents and teammates are working in parallel.

Tony Chang

@croft_benjamin as long as you add the teammates to the org! we can share the project and the branches!

Dmytro Oriekhov

Branching for backends is wildly underrated — we just hit the same pain when migrating our backend from Python to Cloudflare Workers (different infra, same need to test risky changes in isolation). Curious: do you handle data branching too, or just code/config? Either way — congrats on shipping 🚀

Jiaqi Chen

@mythic_dd thanks! We handle both, with clear boundaries. In `full` mode, the branch copies schema + data at T0 for realistic testing. In `schema-only`, user-data tables start empty. On merge, schema and mergeable backend config can go back to parent, but user-data rows are not auto-merged into prod.

Dmytro Oriekhov

@jiaqichenThat split makes a lot of sense - user-data merge is the classic landmine (conflicting PKs, FK chains, audit trail integrity). Schema + config back to parent is the right boundary. The painful alternative would be CRDT-style row merging, which works for messaging apps but not for arbitrary app schemas.

Quick question: in full mode, when the branch copies data at T0, is it a logical snapshot (COW pages) or a physical clone? Curious about the cost story for users with 100M+ row tables. That's usually where "branching" pitches fall apart in real use.

Either way, congrats on shipping - branching for app backends is overdue 🚀

First
Previous
•••
456
•••
Next
Last