Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
f187a4d
Spec for reimplementing TS graph-cli in Rust
lutter Jan 19, 2026
a9b1967
gnd: Restructure CLI with subcommands for graph-cli compatibility
lutter Jan 19, 2026
f3bbc01
gnd: Implement clean command
lutter Jan 19, 2026
c237913
gnd: Implement auth command
lutter Jan 19, 2026
92ce96e
gitignore: Ignore ralph-loop in .claude
lutter Jan 19, 2026
bfb8e64
gnd: Add services module with GraphNodeClient
lutter Jan 19, 2026
83151c2
gnd: Implement create and remove commands
lutter Jan 19, 2026
fbcb46a
gnd: Add output/spinner module for CLI progress indicators
lutter Jan 19, 2026
29648ec
gnd: Add codegen module for AssemblyScript type generation
lutter Jan 19, 2026
0a549ec
gnd: Add ABI code generator for Ethereum contract bindings
lutter Jan 19, 2026
df61e06
gnd: Add template code generator for dynamic data sources
lutter Jan 19, 2026
d903182
gnd: Add formatter module for Prettier integration
lutter Jan 19, 2026
045af18
gnd: Implement codegen command for AssemblyScript type generation
lutter Jan 19, 2026
de70fcb
gnd: Add watch mode to codegen command
lutter Jan 19, 2026
4e4ac09
gnd: Add migrations module for manifest version upgrades
lutter Jan 19, 2026
c6b601c
gnd: Implement IPFS upload for build command
lutter Jan 19, 2026
3fc80bd
gnd: Implement test command for running Matchstick tests
lutter Jan 19, 2026
e3f444b
gnd: Implement init command for scaffolding new subgraphs
lutter Jan 19, 2026
4c2e577
gnd: Implement add command for adding data sources to subgraphs
lutter Jan 19, 2026
cce976a
gnd: Implement publish command for decentralized network
lutter Jan 19, 2026
08f54df
gnd: Implement networks.json configuration support
lutter Jan 19, 2026
7a5eef1
gnd: Implement contract service for ABI fetching
lutter Jan 19, 2026
cb91d12
gnd: Implement init --from-contract with scaffold generation
lutter Jan 19, 2026
6af7f35
gnd: Implement add command for adding data sources
lutter Jan 19, 2026
e95bbc7
gnd: Add comprehensive tests for add command
lutter Jan 19, 2026
530bcb2
gnd: Default deploy command to Subgraph Studio
lutter Jan 19, 2026
6d2f941
gnd: Add comprehensive tests for prompt module
lutter Jan 19, 2026
130141d
gnd: Add more tests for init command
lutter Jan 19, 2026
f57b56c
gnd: Add test for simple array fields in schema codegen
lutter Jan 19, 2026
3322f30
gnd: Add tests for overloaded events and functions in ABI codegen
lutter Jan 19, 2026
3e2f8a6
gnd: Add support for nested array types in schema codegen
lutter Jan 19, 2026
3ee17f1
gnd: Add tests for tuple/struct types in ABI codegen
lutter Jan 19, 2026
ef8277d
gnd: Add shell completions command
lutter Jan 19, 2026
537dc00
gnd: Add tests for array types in ABI codegen
lutter Jan 19, 2026
e046484
gnd: Add codegen verification tests against graph-cli fixtures
lutter Jan 19, 2026
81299d7
gnd: Fix remaining codegen verification test fixtures
lutter Jan 19, 2026
edad95d
gnd: Make codegen verification tests self-contained
lutter Jan 19, 2026
78f72d8
gnd: Implement publish command matching graph-cli behavior
lutter Jan 20, 2026
5c56ff8
gnd: Implement --from-subgraph for init command
lutter Jan 20, 2026
1fcd84b
docs: Update gnd-cli-expansion spec, commit plan for it, too
lutter Jan 20, 2026
705d67a
gnd: Add CLI documentation and migration guide
lutter Jan 20, 2026
ca10f37
docs: Update plan status, mark Phase 12 complete
lutter Jan 20, 2026
0154c09
gnd: Add CLI integration tests for drop-in replacement verification
lutter Jan 20, 2026
4fe2738
gnd: Add schema validation using graph-node validation logic
lutter Jan 21, 2026
41166eb
gnd, graph: Add manifest validation using shared validation logic
lutter Jan 21, 2026
10ae193
tests: Switch integration tests to use gnd as default CLI
lutter Jan 21, 2026
f5790e7
tests: Remove graph-cli dependency from integration test subgraphs
lutter Jan 21, 2026
b3ac7b2
gnd: Fix struct field names in tuple codegen
lutter Jan 22, 2026
c903d20
gnd: Add codegen support for subgraph data sources
lutter Jan 22, 2026
a6c26e1
gnd: Fix template WASM and ABI handling in build command
lutter Jan 22, 2026
a6076fe
docs: Update gnd-cli-expansion spec with implementation progress
lutter Jan 22, 2026
aa7385a
tests: Fix grafted integration test with dynamic POI computation
lutter Jan 23, 2026
3d1df87
tests: Fix subgraph-data-sources integration test
lutter Jan 23, 2026
105fa95
tests: Fix multiple-subgraph-datasources integration test
lutter Jan 23, 2026
e829a85
gnd: Use datasource name for subgraph source codegen files
lutter Jan 23, 2026
c04a5ef
tests: Update subgraph datasource imports to use name-based paths
lutter Jan 23, 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