Repository navigation
Conversation
Delete the Amp data source, its Flight client, codec, SQL handling and runner, the GRAPH_AMP_* settings, the --amp-flight-service-address option and the amp chain config setting. A manifest with an 'amp' data source is still recognised and refused with 'Amp-powered subgraphs are no longer supported'.
mangas
marked this pull request as ready for review
November 27, 2026 18:23
dimitrovmaksim
approved these changes
Nov 27, 2026
- core: Collapse SubgraphProvider to a single instance manager; drop SubgraphProcessingKind and the never-cancelled CancellationToken - graph: Resolve data sources and templates concurrently again; remove unused MetricsRegistry::new_int_counter - gnd: Manifest.schema is always set, make it a String - Drop tokio-util from core, gnd, node, tests and strum from core
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What it does
graph/src/amp/,core/src/amp_subgraph/, the Amp instance manager inSubgraphProvider, theGRAPH_AMP_*env vars,--amp-flight-service-address, theampchain config setting anddocs/amp-powered-subgraphs.md.arrow-flight,lazy-regex,sqlparser0.57 (sqlparser-latest), plus Amp-only entries forahash,half,arrow,tokio-util,chrono,futures,indoc,prometheusingraph/core.arrow/parquetstay (used bygraph-store-postgres). Also dropstokio-utilfrom core/gnd/node/tests andstrumfrom core.Cargo.lockchanged only by removal, no version bumps.SubgraphProviderto a single instance manager (SubgraphProcessingKindhad onlyTriggerleft; itsCancellationTokenwas never cancelled). Data sources and templates resolve concurrently again, as before Amp-powered subgraphs #6218. Removes the now-unusedMetricsRegistry::new_int_counter; gnd'sManifest.schemabecomes aString.Existing Amp deployments
kind: ampis refused withAmp-powered subgraphs are no longer supported(graph/src/data_source/mod.rs,AMP_KIND). On start this is a normalSubgraphStartFailure: the node and other subgraphs keep running, and the deployment's data stays queryable. Deploying a new Amp subgraph fails with the same error.BlockchainKind::from_strmapsampto Ethereum only so the manifest reaches that refusal instead of failing earlier with "unknown blockchain kind".amp = "…"chain config entry is ignored.Tests:
graph::data_source::tests::amp_manifest_is_refused.cargo check --workspace --all-targetsandjust lintare clean locally; unit/runner/integration tests are left to CI.