Repository navigation
🚀 Features
-
rover plugin installreports each plugin and a summary when installing several - @SharkBaitDLS part of ROVER-448Installing more than one plugin prints each plugin's outcome as it completes, including each failure in full, and ends with a summary such as
3 plugins: 2 installed, 1 already installed.When any plugin failed, the summary is the command's error and carries the first failure's code. With--format json,data.pluginslists what installed,data.failedlists every failure as its own error object, and the top-levelerroris the first failure. -
rover plugin installattempts every plugin when one fails - @SharkBaitDLS part of ROVER-447A plugin that fails to install no longer stops the rest: every plugin is attempted, and the command exits non-zero if any failed. Each plugin that succeeds is recorded in the lockfile as it installs, so re-running installs only what failed. A plugin that's already installed now says so as
`supergraph` v2.9.3 is already installed in this project.(orglobally). -
rover plugin installinstalls several plugins at once - @SharkBaitDLS part of ROVER-445Name any number of plugins, as in
rover plugin install supergraph@=2.9.3 router@2, to install each in one run. Naming the same plugin twice is refused before anything installs, since the lockfile records one release per plugin. -
Rover logs the request trace ID, and the IDs of any failed attempt, at the debug level - @dotdat
With
--log debug, Rover logs the trace ID shared by every Platform API request in a run, once, when the first request is sent. Each attempt that fails is also logged with the trace ID, that attempt's parent ID, and its retry count, so you can give them to support to have the failure found. -
Rover sends a
tracestateheader with the retry count on every Platform API request - @dotdatEvery Platform API request, and every retry of it, now carries a
tracestateheader alongsidetraceparent. Its one entry,rover=retries:<n>, says how many earlier attempts of the same request there were:0for the first attempt,1for the first retry, and so on. It carries nothing else, and no identifier for you, your machine, or your account. -
Rover sends a
traceparentheader on every Platform API request - @dotdatEvery Platform API request, and every retry of it, carries a W3C Trace Context
traceparentheader. All requests in one run share a randomly generated trace ID, and each attempt has its own parent ID, so a set of failures from one command can be followed together. The ID is generated fresh for each run and isn't derived from your telemetry session, machine, or account.Requests to other destinations don't carry it: introspection endpoints, the plugin registry, OAuth, and telemetry. Turning telemetry off doesn't stop Rover sending it.
-
Add
rover plugin uninstallto remove installed plugins - @SharkBaitDLS part of ROVER-473rover plugin uninstall supergraphremoves every installed version of a plugin, androver plugin uninstall supergraph@=2.9.3removes just that one. It removes from the project in scope, or globally outside a project;--globaland--manifest-pathchoose the level as they do forrover plugin install. When no copy of a plugin is left, its entries are removed fromrover.yamlandplugin-versions.locktoo, keeping the rest ofrover.yamlexactly as written. It never removes another level's copy: it says where the plugin is installed instead. A floating version such assupergraph@2is refused as ambiguous before anything is removed. It never contacts the plugin registry. -
Add
rover plugin listto show which plugins are installed - @SharkBaitDLS part of ROVER-473rover plugin listlists every installed copy of every plugin, with its version and install location, in this project and globally. It marks the copy Rover uses for each plugin, going byrover.yamlandplugin-versions.lock.--globallists only the global level,--manifest-pathnames the project, and--format jsoncarries the same fields. It never contacts the plugin registry. -
Composition errors hint at Federation 1 subgraphs that need migrating - @dotdat
When composition fails, no federation version was specified, and none of the subgraphs uses the
@linkdirective, Rover now adds a suggestion that the subgraphs may have been written for Federation 1, which Rover no longer supports, with a link to the migration guide. Rover can't tell a Federation 1 subgraph from a Federation 2 subgraph that uses no federation directives, so the suggestion only appears after composition has failed, and only says the subgraphs may need migrating. The errors themselves are unchanged. -
Anonymous usage telemetry includes an identifier for the graph a command ran against - @dotdat part of ROVER-424
When a command has a graph ref, Rover's anonymous usage data now includes a
graph_id_hashderived from it, so usage can be grouped by graph without revealing the graph. It is a keyed hash: the key is a random value Rover generates on first use and stores ininstall_salt.txtbesidemachine.txt, and never sends. Nobody can reproduce the identifier by hashing known graph refs, and it groups invocations from one install only, because other installs have different keys. Deletinginstall_salt.txtresets it. Commands without a graph ref send nograph_id_hash, and nothing is generated or stored when telemetry is disabled. -
Anonymous usage telemetry includes command duration and invocation environment - @dotdat part of ROVER-424
Rover's anonymous usage data now includes how long the command ran, in milliseconds, including writing its output, and an
invocation_mode: whether the invocation looksautomated(CI was detected, or standard input isn't a terminal) orinteractive. Neither identifies a machine or a person. -
Anonymous usage telemetry includes how a command ended - @dotdat part of ROVER-424
Rover's anonymous usage data now records the command's outcome:
success,user_error(a failure the user can correct, or a command that completes by design with a non-zero exit code, such as a failed check),internal_error, orconnection_error(Rover couldn't reach a server, the connection dropped, or the request timed out). An HTTP 4xx response is auser_errorand a 5xx aninternal_error. An error that could plausibly be either is aninternal_error. The outcome carries no error message or detail.
🐛 Fixes
-
Git remote URLs using
ssh://, orhttps://with agituser, are sent to GraphOS as valid URLs - @dotdatRover sends the repository's
originremote, with credentials stripped, as git context on publishes and checks. Remotes written asssh://host/pathwere sent asssh://host:path, which isn't a valid URL, andssh://git@host/pathcame out asgit@ssh://host:path. Both are now sent asssh://host/pathandssh://git@host/path. Likewise,https://git@host/pathwas sent asgit@https://host/pathand is now sent ashttps://git@host/path. -
Schema check reports show failed tasks that Studio returned no details for - @SharkBaitDLS
The text report of
rover subgraph checkandrover graph checknow adds a section for a failed task that has no result to show, with a link to its details in Studio. A build that failed without Studio returning its composition errors now says so, instead of reporting "There were no changes detected in the composed schema." -
Schema checks name the task that failed instead of "an unknown check task" - @SharkBaitDLS
When a
rover subgraph checkorrover graph checkworkflow failed because of a task with no result to show, such as a build that failed without Studio returning its composition errors or a contract filter task, Rover said the change "resulted in an unknown check task to fail". The error now names the failed task.With
--format json,data.task_statuseslists every task in the check with its status and Studio link, as{"task", "status", "target_url"}, so a script can tell which task failed without reading the error message.taskis one ofbuild,contract_filter,operations,lint,proposals,customordownstream.json_versionis unchanged. -
rover devreads settings from a.envfile as it does from the environment - @dotdatrover devloads a.envfile in the working directory, but a setting in it was missed when Rover had already read it from the environment: a graph ref inAPOLLO_GRAPH_REF, which was ignored, and the settings that have a flag, such asAPOLLO_ELV2_LICENSE,APOLLO_ROVER_DEV_ROUTER_VERSIONandAPOLLO_LOG_LEVEL.rover devnow loads.envbefore it reads any of them. A variable that is already set in the environment still takes precedence over the same one in.env, and other commands still don't read.env. -
rover subgraph checkno longer says no API schema changes were detected when the operations check lists them - @theJC PR #4132 fixes #4131Since v0.16.0, the Build Check section said "There were no changes detected in the composed API schema, but the core schema was modified." whenever the core schema changed, even when the operations check in the same output listed API schema changes, such as every field removed by a subgraph removal. The Build Check now reports "The composed API schema was modified." when the operations check found API schema changes, keeps the existing message only when it found none, and says "The composed schema was modified." when no operations check result is available. JSON output is unchanged.
-
rover subgraph checkJSON output reports when a proposals check was overridden in Studio - @SharkBaitDLSWith
--format json, the proposals task has a newoverriddenfield,truewhen someone overrode the task's result in Studio.json_versionis unchanged. -
rover subgraph checksays when a proposals check was overridden in Studio - @SharkBaitDLSWhen someone overrode a proposals check's result in Studio, the check output described the proposal coverage and severity level as if no override had happened, so a check that passed after an override could say that changes not in an approved proposal fail the check. The proposals section now says the result was overridden in Studio.
-
rover subgraph checkreports when a change has too many diffs for the proposals check - @SharkBaitDLSWhen a change has more schema diffs than Studio allows for a proposals check, Studio fails the proposals check without comparing the changes against proposals, whatever the proposals check severity level. The proposals section of the check output now says so, instead of saying that no proposals are associated with the changes and describing what the severity level means.
-
rover subgraph checkJSON output reports when a change has too many diffs for the proposals check - @SharkBaitDLSWith
--format json, the proposals task has a newhas_exceeded_max_diffsfield:truewhen the change has more schema diffs than Studio allows for a proposals check,falsewhen it doesn't, andnullfor checks run before Studio reported it.json_versionis unchanged. -
Schema checks no longer link to a proposal page when no proposals are associated with the changes - @SharkBaitDLS
When the proposals task of
rover graph checkorrover subgraph checkfound no proposals related to the changes, the output linked to a proposal detail page that didn't correspond to any proposal. It now links to the check itself, or to the variant's list of checks when no link to the check is available, and explains what the configured proposals check severity level means for the result, or that the proposals check didn't run because an earlier task failed. JSON output is unchanged. -
rover init --mcpcreates a graph API key only after you confirm the template - @gocamilleWhen adding MCP to an existing graph, Rover now shows the files it will create and asks for confirmation before it creates or reuses a graph API key. If you decline, nothing is created.
-
rover init --mcpwrites the API key only to.env- @gocamilleOther generated files, such as the MCP server configuration, now read the key from the environment instead, and on macOS and Linux
.envis created readable only by its owner.rover init --mcpalso no longer changes other files that were already in the directory. -
rover init --mcpshows the port the generated MCP server listens on - @gocamilleThe MCP endpoint, the
docker runcommand in next steps, and the generated README now point at the same port as the MCP configuration thatrover init --mcpcreates, so the printed instructions work as written. -
rover init --mcpshows the API key masked and points to.env- @gocamilleThe summary printed after
rover init --mcpnow shows a shortened, masked form of the graph's API key and notes that the full key is saved in the project's.envfile.When the MCP template doesn't provide a
.env,rover init --mcpnow adds the graph's credentials to the project's.envitself, so the key is always saved there. -
Anonymous usage telemetry is reported when a command panics or is stopped by a signal - @dotdat part of ROVER-424
When a command panics, Rover reports an
internal_erroroutcome before it exits. WhenSIGTERMorSIGINTstops a command, Rover reports aterminatedoutcome, without a duration, then exits with the same status it would have had if the signal had stopped it directly. Reporting waits at most 250 milliseconds and never changes a command's output or exit code. Rover now stops every command as soon as it receivesSIGTERMorSIGINT, includingrover devand commands blocked reading input, without waiting for the command's own interrupt handling. When aSIGTERMorSIGINTis sent to Rover's process alone (not a Ctrl-C in a terminal), asdocker stopand IDE task runners do, Rover also stops the router and MCP server thatrover devstarted, within the same 250 milliseconds, so they don't keep holding their ports. -
Anonymous usage telemetry delays exit by at most 250 milliseconds - @dotdat part of ROVER-424
Rover now reports its anonymous usage data after a command finishes and waits at most 250 milliseconds for the request, however slow or unreachable the telemetry endpoint is. Previously it could wait up to a second. Command output and exit codes are unchanged.
-
Anonymous usage telemetry reports flag names, not flag values - @dotdat part of ROVER-424
Rover's anonymous usage data now contains the names of the flags a command was run with, under their long names, and never their values, except for flags whose every value is non-identifying, such as
--format. Positional arguments are no longer reported. Previously, argument values that weren't explicitly excluded were sent as typed.
🛠 Maintenance
-
Add a layer that stamps a W3C
traceparentheader on HTTP requests - @dotdatThe building block for request tracing: it gives each request the trace's ID and a new random parent ID.
This release was automatically created by GitHub Actions.
If you would like to verify that the binary you have downloaded was built from the source code in this repository, you can compute a checksum of the zipped tarball and compare it to the checksums that are included as release artifacts.
Binaries built for MacOS are signed, notarized, and automatically verified with Gatekeeper.