Global Branching lets Foundry teams change pipelines, the Ontology and applications together on one branch, then merge after review. Palantir's core concepts guide sets out how those changes travel from a branch back to main.
November's releases of media upload actions on global branches and a redesigned Compare tab both build on this model, which this piece explains from Palantir's current documentation.
What a global branch is
"At a high level, branching allows you to fork your existing environment and work on components of your end-to-end workflow in a contained branch," the guide says. Once the changes are ready, you merge them back into main.
The feature was previously called Foundry Branching. Palantir's overview gives its purpose. "Global Branching (previously known as 'Foundry Branching') lets you develop and test end-to-end workflows in the Palantir platform that would otherwise be too disruptive to run against a live production environment."
According to Palantir, one branch carries modifications across multiple applications, and those changes merge with a single click.
Palantir gives a concrete example. A Pipeline Builder pipeline outputs a dataset that backs an object type. On a branch, you can change that dataset's logic and schema. You then see the change in Ontology Manager on the same branch and update the object type definition to match.
Actions can run on a branch too. "You can also run actions on branches without writing back edits to the main branch," Palantir says.
What stays isolated, and what does not
Isolation has one important caveat. "However, creating or deleting Foundry resources on a branch will affect main," Palantir writes. Ontology resources are the exception: Palantir says you can create, modify or delete them on a branch without affecting main.
You can create a branch from the branch selector in a Foundry application or from the Global Branching application. In a supported application, a branch taskbar appears while you work. Some applications ask you to add a resource to the branch first, and others add it automatically after your first save.
Removing a resource from a branch resets it to its main version. Palantir warns that this can break the branch. It advises checking the resource's lineage so that no other branched resources rely on your changes.
Which applications support branching
The Integrations page lists the supported applications. They include Workshop, Pipeline Builder, Code Repositories and VS Code workspaces. Ontology support covers the Ontology, Ontology Actions, Ontology Materializations and Object Views.
The list also includes AIP Logic, Automate, Model Studio and direct model deployments. It adds TypeScript v1, v2 and Python functions, the Developer Console and Ontology SDK, Restricted Views, Data Lineage, Workflow Lineage and Insight.
More is on the way. "Not all resource types are yet supported in Global Branching; support for more resource types is in development," Palantir says.
Palantir notes two specific requirements. TypeScript v2 and Python functions support branching when they use a local Ontology SDK. "Repositories without a local SDK can reference a specific version of a function on a branch but cannot modify function code against branched schemas," the page says. It adds: "The Developer Console branching integration supports only TypeScript SDKs installed with npm in applications that use Vite 6, 7, or 8."
Staying current: rebases and conflicts
Other people keep changing main while you work on your branch. To pick up their changes, you rebase. Palantir describes this as merging the changes from main into your branch and reapplying your saved branch changes on top.
Palantir sets out how conflicts are handled. "Global Branching auto-resolves any non-conflicting changes during a rebase." A true conflict happens when the same property of the same resource changed on both main and your branch. You then pick one version manually before the rebase can continue.
Each application implements rebasing its own way, and the Integrations page links to the details.
Proposals, checks and approvals
A proposal starts the review. "Creating a proposal requires the branch Owner role or space Administrator privileges," Palantir says. The description field supports markdown, so authors can give reviewers context.
When a proposal is created, checks run on each resource. They flag conflicts with main and required approvals, and every check must pass before the proposal can merge. If a resource is out of date or cannot merge cleanly, the rebasing check fails and sends you to the right application to rebase.
The documentation also covers dependency loops. "A Cycle detected warning means the proposed merge contains a dependency loop." Selecting Do not build resources may resolve cycles that exist only because of merge builds. Any cycle that remains must be resolved on the branch.
Approval follows each resource's own policies. "To merge your branch, all approval policies must be satisfied," Palantir writes. Non-protected resources still need approval from a user with edit-level permissions, and protected resources need the required reviewers.
Code Repositories and Pipeline Builder pipelines define their approval policy within the resource. One rejection from any reviewer blocks the whole proposal. The reviewer who rejected must re-review and approve before the proposal can merge.
Who can do what on a branch
The branch security page separates managing a branch from editing its contents. Every branch has at least one Owner, and the creator gets that role automatically. Administrators of the branch's space have the same permissions as Owners.
Palantir is clear about what branch roles do not grant. "Branch roles control access to branch management actions only and do not grant permissions to edit resources on the branch." Editing still needs project- or resource-level permissions, and seeing a resource on a branch requires permission to view it.
Merge permission is broader. "Any user who can view a proposal can merge it, as long as resource-level approvals and checks are satisfied and the Do not merge setting is not applied." Palantir says this is by design, because edit permissions are still needed to make the change, reviewers can approve it, and merging only applies pre-authored, approved changes.
One exception applies. "Ontology resources that have not yet been migrated to projects do not currently enforce the constraint that only editors can modify a resource on a branch," Palantir says. In that case, an editor's approval is required.
Organizations act as an access gate, and a user must belong to at least one organization listed on the branch. Palantir advises choosing names without sensitive information. "When creating a branch, choose a name that does not include sensitive information, as branch names may be visible outside the branch's organization restrictions."
Two choices made at creation shape the branch. The selected ontology limits where you can make changes and cannot be changed after the branch is created. The space determines which organizations can be granted access and which retention policy applies.
Merging and builds
Once approvals and checks pass, you select Merge proposal and choose a build option. You can build modified resources and everything in between, or only the modified resources. Or you can build nothing and run the builds yourself after the merge.
"Excluding a resource only omits it from the merge build; its changes are still merged," Palantir notes. If a merge partly fails, the proposal page shows which resources merged and which stayed on the branch. "You cannot currently revert a partially-failed merge," Palantir says.
Branch lifecycle
A new branch starts Active and can then become Inactive, Archived or Merged. "By default, branch inactivity is set to 35 days, and branch data deletion is triggered after 7 days," the guide says. The setting sits at Control Panel > Spaces > Actions > Global branch retention policy.
On inactive or archived branches, Ontology resources are de-indexed and data deletion follows. Builds on an inactive branch fail immediately. A Keep branch active setting stops a branch going inactive, though Palantir notes that active branches cost more over time.
Archiving is always manual. Merged branches are terminal: they cannot be restored and are reachable only from the Global Branching application.
How it fits with release management
Palantir separates branching from release management. "Release management is the process of managing multiple versions of resources across distinct environments that serve different purposes." It calls the two "complementary solutions to different problems", not alternatives.
In Palantir's example, a large feature is built on a global branch and merged into a development environment. Release management then deploys it to test and production.
In our view, this split is the key idea for platform teams: branches handle the review of a change, while environments handle its promotion.
What to watch
We think Global Branching is becoming Foundry's shared change-management layer, with one branch, one proposal and per-resource approvals spanning data, the Ontology and applications. Palantir says support for more resource types is in development. In our view, that coverage is the thing to watch, and we expect each new integration to let more teams review a whole workflow as one change.
For a hands-on example, see our guide to testing media upload actions on a global branch.
