GitLab Orbit deprecations and removals

  • Tier: Free, Premium, Ultimate
  • Offering: GitLab.com, GitLab Self-Managed, GitLab Dedicated

Some GitLab Orbit commands, endpoints, and settings changed for general availability. Move your scripts, agents, and integrations to the generally available release before you upgrade.

Minimum versions

GitLab Orbit needs these versions or later:

ComponentMinimum version
GitLab CLI (glab)1.126.0
GitLab Orbit CLI (orbit)0.163.0
GitLab Orbit Helm chart7.0.0
GitLab Self-ManagedTBD

If glab installed a GitLab Orbit CLI earlier than 0.163.0, glab 1.126.0 and later install the latest version. To update the GitLab Orbit CLI, run glab orbit --update.

On GitLab.com and GitLab 19.6, orbit schema and orbit status fail in GitLab Orbit CLI 0.160.0 and earlier.

GitLab Orbit Helm chart

  • Offering: GitLab Self-Managed

Before you upgrade the chart, read Version compatibility in the chart README.

Chart 4.0.0 renamed the chart from gkg to orbit. The gkg chart gets no new releases. Change your chart reference to oci://registry.gitlab.com/gitlab-org/orbit/orbit-helm-charts/orbit.

Chart 5.0.0 needs GitLab Orbit 0.150.0 or later. Chart 5.0.0 removes expanded data from log lines by default. To keep the expanded data, set metrics.expandedLogs.globalOverride: true.

Chart 6.0.0 turns off Snowplow analytics by default. To keep the analytics on, set analytics.enabled: true.

GitLab Orbit 0.143.0 removed the /live and /ready probe endpoints. Charts earlier than 3.0.0 do not work with GitLab Orbit 0.143.0 or later.

Query language

GitLab 19.6 removed the JSON query DSL. GitLab.com removed it first. GitLab 19.4 and 19.5 still accept JSON queries. Write your queries in GQL.

To convert your JSON queries, tell your agent to load the orbit-gql-migration skill with glab orbit skills get orbit-gql-migration.

JSON query DSLGQL
query_type: "traversal" or "aggregation"Omit query_type.
query_type: "neighbors"(n:Label {id: 123})-[:TYPE]->(m)
query_type: "path_finding"MATCH path = ANY SHORTEST (a)-[:TYPE*1..3]->(b) RETURN path
node_ids: [123](n:Label {id: 123})
node_ids: [123, 456]WHERE n.id IN [123, 456]
filters.<property>: <value>WHERE n.<property> = <value>
relationships with from and to(a)-[:TYPE]->(b)
hops: [1, 3](a)-[:TYPE*1..3]->(b)
columnsRETURN n.<property>
order_by: "-n.<property>"ORDER BY n.<property> DESC
limitLIMIT <number>
aggregations and group_byRETURN n.<property>, count(m) AS <alias>
aggregation_sort: "-<alias>"ORDER BY <alias> DESC

GitLab CLI commands

GitLab Orbit CLI 0.120.0 removed the glab orbit remote and glab orbit local commands. glab passes every glab orbit command to the GitLab Orbit CLI. glab 1.105.0 renamed the --format option of glab orbit remote query to --response-format.

Removed commandUse instead
glab orbit remote queryglab orbit query
glab orbit remote query --formatglab orbit query --response-format
glab orbit remote schemaglab orbit schema
glab orbit remote statusglab orbit status
glab orbit remote graph-statusglab orbit status --full-path <path>
glab orbit remote toolsNo replacement
glab orbit remote dslNo replacement
glab orbit local <command>glab orbit workspace <command>

Agent skill

GitLab Orbit CLI 0.144.0 renamed the orbit-cli skill to orbit. Skills from the beta use the removed glab orbit remote commands.

To replace the skill in your agents, run glab orbit setup. Setup removes the old orbit-cli skill. Setup keeps an orbit-cli skill with files that differ from the current release. Delete that skill by hand.

MCP endpoint tools

GitLab 19.3 removed three tools from the MCP endpoint at /api/v4/orbit/mcp. A call to a removed tool returns an Unknown tool error.

Removed toolUse instead
query_graphinvoke_command with command_name set to query_graph
get_graph_schemainvoke_command with command_name set to get_graph_schema
get_graph_statusNo replacement

For example, the arguments of invoke_command for a query are:

json
{"command_name": "query_graph", "parameters": {"query": "MATCH (p:Project {full_path: 'gitlab-org/gitlab'}) RETURN p.name"}}

REST API endpoints

GitLab 19.6 removed these REST API endpoints. GitLab.com removed them first.

Removed endpointUse instead
GET /api/v4/orbit/graph_statusGraphQL Group.orbit or Project.orbit
GET /api/v4/orbit/schemaGraphQL Query.orbit.schema
GET /api/v4/orbit/statusGraphQL Query.orbit.serviceStatus
GET /api/v4/orbit/query/templatesGraphQL Query.orbit.queryTemplates
GET /api/v4/orbit/toolsMCP tools/list at /api/v4/orbit/mcp
GET /api/v4/orbit/schema/formatNo replacement
GET /api/v4/orbit/schema/dslNo replacement

GraphQL API fields

GitLab 19.6 removed these GraphQL fields and mutations. GitLab.com removed them first.

Removed field or mutationUse instead
Group.knowledgeGraphEnabledGroup.orbit.enabled
Group.knowledgeGraphAvailableGroup.userPermissions.updateKnowledgeGraphSetting
Group.orbitAccessGroup.orbit.access
Group.orbitTrialGroup.orbit.trial
Query.knowledgeGraphExcludedNamespacesQuery.orbit.excludedGroups
knowledgeGraphExcludedNamespaceCreateorbitExcludedGroupCreate
knowledgeGraphExcludedNamespaceDestroyorbitExcludedGroupDestroy

GitLab Orbit CLI commands

GitLab Orbit CLI 0.160.0 groups the local graph commands under orbit workspace. GitLab Orbit does not support SQL on the local graph.

CommandStatusUse instead
orbit indexDeprecatedorbit workspace index
orbit sqlDeprecatedorbit grep or orbit context
orbit listDeprecatedorbit workspace list
orbit schema <table>DeprecatedNo replacement
orbit mcp serveRemoved in 0.165.0orbit grep or orbit context
orbit graph-statusDeprecatedorbit status --full-path <path>
orbit ontologyDeprecatedorbit schema
orbit skillDeprecatedorbit skills
orbit dslRemoved in 0.160.0No replacement
orbit toolsRemoved in 0.160.0No replacement
orbit repo-mapRemoved in 0.160.0No replacement

orbit index, orbit sql, orbit list, and orbit schema <table> print a warning that names the new command. The other deprecated commands work with no warning.

In GitLab Orbit CLI 0.160.0 and later, orbit schema with no argument shows the graph schema of your GitLab instance.

Local MCP server

GitLab Orbit CLI 0.165.0 removed the local MCP server. Your agents read the local graph with orbit grep and orbit context instead. To connect an MCP client to GitLab Orbit, use the GitLab Orbit MCP endpoint.

RemovedUse instead
orbit workspace mcp serveorbit grep or orbit context
orbit setup --install mcporbit setup
MCP tool run_sqlorbit grep or orbit context
MCP tool get_graph_schemaNo replacement
MCP tool indexorbit workspace index

Earlier versions of orbit setup could add an orbit MCP server to the configuration of your agents. In GitLab Orbit CLI 0.165.0 and later, orbit setup and orbit uninstall remove that entry.

Output of orbit status

GitLab Orbit CLI 0.161.0 reads the indexing progress from the GitLab GraphQL API. This change applies when you pass --full-path, --namespace-id, or --project-id. The JSON output uses the GraphQL field names.

Old fieldNew field
projects.indexedindexing.projects.indexed
projects.total_knownindexing.projects.totalKnown
projects.gapsindexing.projects.gaps
sdlc_indexingindexing.areas
code_indexingindexing.areas
domainsitemCounts.domains
domains.itemsitemCounts.domains.entities
domains.items.stateRemoved
indexing.last_completed_atRemoved
indexing.last_errorRemoved

The indexing.state values are uppercase, for example READY.

The indexing.areas list has one entry for each domain.

The count values are strings.

If your GitLab instance has no GraphQL orbit field, the CLI reads the REST API. The output then keeps the old field names.

Without --full-path, --namespace-id, or --project-id, orbit status shows the GraphQL serviceStatus field.

Output of orbit schema

GitLab Orbit CLI 0.161.0 reads the schema from the GitLab GraphQL API. The JSON output uses the GraphQL field names. The REST fallback of orbit status also applies to orbit schema.

Old fieldNew field
nodes.domainnodes.domain.name
nodes.primary_keynodes.primaryKey
nodes.label_fieldnodes.labelProperty
nodes.propertiesnodes.properties.nodes
nodes.properties.data_typenodes.properties.nodes.dataType
nodes.properties.enum_valuesnodes.properties.nodes.enumValues
edges.variantsedges.endpoints.nodes
edges.variants.source_typeedges.endpoints.nodes.source.name
edges.variants.target_typeedges.endpoints.nodes.target.name
schema_versionRemoved
domainsRemoved
nodes.styleRemoved
nodes.outgoing_edgesRemoved
nodes.incoming_edgesRemoved

GitLab Orbit server configuration

  • Offering: GitLab Self-Managed

GitLab Orbit 0.128.0 deprecated the metrics.prometheus.port setting. Use probe_server.bind_address instead.

GitLab Orbit fails to start when the two settings point to different ports.