Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
301cfa3
Spec for reimplementing TS graph-cli in Rust
lutter Jan 19, 2026
06424a0
gnd: Restructure CLI with subcommands for graph-cli compatibility
lutter Jan 19, 2026
de46331
gnd: Implement clean command
lutter Jan 19, 2026
2cecb38
gnd: Implement auth command
lutter Jan 19, 2026
50ad332
gitignore: Ignore ralph-loop in .claude
lutter Jan 19, 2026
0e9d3ba
gnd: Add services module with GraphNodeClient
lutter Jan 19, 2026
d054bb3
gnd: Implement create and remove commands
lutter Jan 19, 2026
bf4f0ce
gnd: Add output/spinner module for CLI progress indicators
lutter Jan 19, 2026
642e62c
gnd: Add codegen module for AssemblyScript type generation
lutter Jan 19, 2026
49182c8
gnd: Add ABI code generator for Ethereum contract bindings
lutter Jan 19, 2026
12e73e1
gnd: Add template code generator for dynamic data sources
lutter Jan 19, 2026
2b98a94
gnd: Add formatter module for Prettier integration
lutter Jan 19, 2026
dd14da6
gnd: Implement codegen command for AssemblyScript type generation
lutter Jan 19, 2026
f41fe77
gnd: Add watch mode to codegen command
lutter Jan 19, 2026
871db2b
gnd: Add migrations module for manifest version upgrades
lutter Jan 19, 2026
cd484df
gnd: Implement IPFS upload for build command
lutter Jan 19, 2026
9477a9f
gnd: Implement test command for running Matchstick tests
lutter Jan 19, 2026
46f8e95
gnd: Implement init command for scaffolding new subgraphs
lutter Jan 19, 2026
ffc6736
gnd: Implement add command for adding data sources to subgraphs
lutter Jan 19, 2026
860371c
gnd: Implement publish command for decentralized network
lutter Jan 19, 2026
075c69f
gnd: Implement networks.json configuration support
lutter Jan 19, 2026
6d263e5
gnd: Implement contract service for ABI fetching
lutter Jan 19, 2026
9b117f1
gnd: Implement init --from-contract with scaffold generation
lutter Jan 19, 2026
af2ebd4
gnd: Implement add command for adding data sources
lutter Jan 19, 2026
07969f6
gnd: Add comprehensive tests for add command
lutter Jan 19, 2026
bee3a0c
gnd: Default deploy command to Subgraph Studio
lutter Jan 19, 2026
c7e1cbd
gnd: Add comprehensive tests for prompt module
lutter Jan 19, 2026
b5c825b
gnd: Add more tests for init command
lutter Jan 19, 2026
0443d72
gnd: Add test for simple array fields in schema codegen
lutter Jan 19, 2026
26a39e7
gnd: Add tests for overloaded events and functions in ABI codegen
lutter Jan 19, 2026
21be5e0
gnd: Add support for nested array types in schema codegen
lutter Jan 19, 2026
a4f1a7f
gnd: Add tests for tuple/struct types in ABI codegen
lutter Jan 19, 2026
f0c91b8
gnd: Add shell completions command
lutter Jan 19, 2026
9e04ae0
gnd: Add tests for array types in ABI codegen
lutter Jan 19, 2026
804234f
gnd: Add codegen verification tests against graph-cli fixtures
lutter Jan 19, 2026
ca550c2
gnd: Fix remaining codegen verification test fixtures
lutter Jan 19, 2026
b0dc214
gnd: Make codegen verification tests self-contained
lutter Jan 19, 2026
7cabe86
gnd: Implement publish command matching graph-cli behavior
lutter Jan 20, 2026
835716b
gnd: Implement --from-subgraph for init command
lutter Jan 20, 2026
e7d3835
docs: Update gnd-cli-expansion spec, commit plan for it, too
lutter Jan 20, 2026
3b4055a
gnd: Add CLI documentation and migration guide
lutter Jan 20, 2026
a1a4aba
docs: Update plan status, mark Phase 12 complete
lutter Jan 20, 2026
30d59d2
gnd: Add CLI integration tests for drop-in replacement verification
lutter Jan 20, 2026
a9a0745
gnd: Add schema validation using graph-node validation logic
lutter Jan 21, 2026
ffa35e5
gnd, graph: Add manifest validation using shared validation logic
lutter Jan 21, 2026
1c09b31
tests: Template IPFS hashes in subgraph datasource integration tests
lutter Jan 23, 2026
1a4e0bc
tests: Switch integration tests to use gnd as default CLI
lutter Jan 21, 2026
5ec25df
tests: Remove graph-cli dependency from integration test subgraphs
lutter Jan 21, 2026
970a510
gnd: Fix struct field names in tuple codegen
lutter Jan 22, 2026
f6d7256
gnd: Add codegen support for subgraph data sources
lutter Jan 22, 2026
de33b99
gnd: Fix template WASM and ABI handling in build command
lutter Jan 22, 2026
6370264
docs: Update gnd-cli-expansion spec with implementation progress
lutter Jan 22, 2026
67f3017
gnd: Use datasource name for subgraph source codegen files
lutter Jan 23, 2026
25100ab
gnd: Use Inflector to turn names to kebab_case
lutter Jan 23, 2026
18be325
gnd: Fix --from-example to clone from graph-tooling repo
lutter Jan 23, 2026
13eeea1
gnd: Match graph-cli output format for init --from-example
lutter Jan 23, 2026
1e0ea76
gnd: Support Hardhat/Foundry ABI artifact formats in codegen
lutter Jan 23, 2026
39e7a64
gnd: Support auto-increment IDs for Int8 and Bytes in codegen
lutter Jan 30, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,18 @@ jobs:
- name: Setup just
uses: extractions/setup-just@e33e0265a09d6d736e2ee1e0eb685ef1de4669ff # v3

- name: Install pnpm
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4

- name: Install Node.js
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
with:
node-version: 20
cache: pnpm

- name: Install Node.js dependencies
run: pnpm install

- name: Run unit tests
run: just test-unit --verbose

Expand Down Expand Up @@ -177,7 +189,9 @@ jobs:
run: just build --test integration_tests

- name: Run integration tests
run: just test-integration --verbose
run: |
export PATH="${{ github.workspace }}/node_modules/.bin:$PATH"
just test-integration --verbose

- name: Cat graph-node.log
if: always()
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,4 @@ logfile

# Local claude settings
.claude/settings.local.json
.claude/ralph-loop.local.md
14 changes: 5 additions & 9 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,21 +84,20 @@ When filtering for specific tests, ensure the intended test name(s) appear in th
3. Anvil running on localhost:3021
4. PNPM
5. Foundry (for smart contract compilation)
6. **Built graph-node binary** (integration tests require the compiled binary)

The environment dependencies and environment setup are operated by the human.

**Running Integration Tests:**

```bash
# REQUIRED: Build graph-node binary before running integration tests
just build

# Run all integration tests
# Run all integration tests (automatically builds graph-node and gnd)
just test-integration

# Run a specific integration test case (e.g., "grafted" test case)
TEST_CASE=grafted just test-integration

# (Optional) Use graph-cli instead of gnd for compatibility testing
GRAPH_CLI=node_modules/.bin/graph just test-integration
```

**⚠️ Test Verification Requirements:**
Expand Down Expand Up @@ -258,10 +257,7 @@ just test-runner
# PostgreSQL: localhost:3011, IPFS: localhost:3001, Anvil: localhost:3021
nix run .#integration

# Claude: Build graph-node binary before running integration tests
just build

# Claude: Run integration tests
# Claude: Run integration tests (automatically builds graph-node and gnd)
just test-integration
```

Expand Down
Loading