graphprotocol / graphprotocol/indexer

Change the naming scheme for deployments

Open
#574 4 comments 1 reaction 1 assignee View on GitHub

@tilacog is already working on this.

Since Jan 18, 2023.

enhancement p2
Dominant language
TypeScript
Stars
262
Forks
148
PR merge metrics
No merged PRs in 30d

Description

Right now, indexer-agent deploys subgraphs under the name indexer-agent/<hash> into graph-node. That makes it impossible to use some graph-node features, especially deployment rules to control how deployments are indexed.

The naming scheme should be changed to <subgraph name>/<hash> so that a subgraph might be called user/name/hash. That would make it possible to use name-based rules with graph-node, e.g., to deploy subgraphs that are known to get a lot of queries into a more powerful database shard.

Edited by @tilacog:

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.