graphprotocol / graphprotocol/graph-node

graphman: Improve `unused list`

Open
#3,409 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area/graphman indexer experience
Dominant language
Rust
Stars
3.2k
Forks
1.1k
Avg merge
4d 1h
Merged PRs (30d)
1

Description

Currently, graphman unused list will list all unused deployments, including ones that were previously removed, and unused list -e shows the ones that are queued for removal but still exist.

It would be better if unused list only shows what will be removed, and something else (maybe unused list -a) prints the auditing trail of removals ever done.

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 by locating the graphman implementation and tests for unused list, then compare the default output with unused list -e. Done means the default command lists only deployments that will be removed, while a separately chosen mode exposes the historical removal audit trail.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.