<aside> ❗ This page has been shared publicly
</aside>
Motivated by forum post: https://forum.thegraph.com/t/n-1-to-n-solution-staging-version/3735
When developers deploys a new version of subgraph deployment, they can give indexers a heads up that there will soon be an upgrade of the subgraph. This allows indexers to start indexing the new subgraph deployment before there is query demand.
For the developer, they gain a better control and support for when they can utilize the new version.
For the indexers, they can seamlessly transition into the upgraded deployment.
statusEndpointMessage identifier as subgraph deployment hash, content includes the indexer’s public status API endpoint. This should already be public and verifiable
stagingVersionMessage and collect the status endpoint so they can actively monitor the indexing statuses from responding indexers.stagingVersionMessage identifier must be old version subgraph deployment hash as it is known and subscribed by indexers, content includes new subgraph deployment hash and potentially the time they plan to deploy
offchain command to indexer management serverstatusEndpointMessage with the new subgraph deployment topicGithub issues
subgraph { owner } to check for developer identityvalid_indexer(sender_address) → higher order function valid_identity(valid_fn, sender_address, Option(ipfs_hash)) and add a variation valid_developer(sender_address, ipfs_hash)indexingStatuses to indexer management server urlPOST offchain command to indexer management server or directly to graph node, or send alert to slack~~sync-stage-ipfs-hash~~ subgraph-radio-ipfs-hash