graphprotocol / graphprotocol/indexer
Agent is not deploying offline subgraphs
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 262
- Forks
- 148
- PR merge metrics
- No merged PRs in 30d
Description
Indexer/Service/CLI v0.20.5-alpha.1 and Graph node v0.28.2
When deploying offline subgraphs either via INDEXER_AGENT_OFFCHAIN_SUBGRAPHS or graph indexer rules prepare Qm.. the agent seems to look likes it's deploying the subgraphs but never does. Agent logs attached.
If you look at the also attached graph node logs, you will see some behaviour that I am assuming is weird - the offchain subgraphs are being referred to as being sgd: 0 in the graph node logs.
For example, Nov 07 00:20:58.223 INFO Set subgraph start block, block: Some(#11296635 (624092abf48ac2437ed77ce96d6f061431838ea1a8404e181d7df37b9bb53dc0)), sgd: 0, subgraph_id: Qmew9PZUJCoDzXqqU6vGyTENTKHrrN4dy5h94kertfudqy, component: SubgraphRegistrar whereas this subgraph is sgd8 in the database.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing deployment through INDEXER_AGENT_OFFCHAIN_SUBGRAPHS and graph indexer rules prepare Qm.. using the attached indexer-agent.txt and index-node-0.txt logs. Compare the agent's deployment path with the graph node's sgd: 0 entries and the database value sgd8; done means offline subgraphs are actually deployed and their identifiers are handled consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- backend, cli, databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100