graphprotocol / graphprotocol/docs

Clarify if version labels for subgraph deployments have to be unique

Open
#961 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
MDX
Stars
85
Forks
162
Avg merge
6h 31m
Merged PRs (30d)
4

Description

Here: https://thegraph.com/docs/en/subgraphs/developing/deploying/using-subgraph-studio/#deploying-a-subgraph

It's not mentioned if the version labels have to be unique. There are two possible behaviors:

  1. Deployments for particular version labels are immutable once made
  2. Deployments for particular version labels are NOT immutable
Image

Edit: it looks like the correct answer is 1, version labels are immutable:

✖ Failed to deploy to Graph node https://api.studio.thegraph.com/deploy/: Version label already exists.

Contributor guide

Open the contributing guide

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.

Research direction

Start at the linked Subgraph Studio deployment documentation and search the repository for the section on version labels. Clarify that version labels are immutable and that reusing one fails with the documented “Version label already exists” error; the linked page should state this behavior explicitly.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.