Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
1e90179
Spec for reimplementing TS graph-cli in Rust
lutter Jan 19, 2026
9f0031f
gnd: Restructure CLI with subcommands for graph-cli compatibility
lutter Jan 19, 2026
f011025
gnd: Implement clean command
lutter Jan 19, 2026
0cc9be4
gnd: Implement auth command
lutter Jan 19, 2026
1281c8f
gitignore: Ignore ralph-loop in .claude
lutter Jan 19, 2026
e1241bb
gnd: Add services module with GraphNodeClient
lutter Jan 19, 2026
15afe42
gnd: Implement create and remove commands
lutter Jan 19, 2026
e4c5e6d
gnd: Add output/spinner module for CLI progress indicators
lutter Jan 19, 2026
9127fec
gnd: Add codegen module for AssemblyScript type generation
lutter Jan 19, 2026
988454e
gnd: Add ABI code generator for Ethereum contract bindings
lutter Jan 19, 2026
ff4a85b
gnd: Add template code generator for dynamic data sources
lutter Jan 19, 2026
c28e0ef
gnd: Add formatter module for Prettier integration
lutter Jan 19, 2026
a9444f1
gnd: Implement codegen command for AssemblyScript type generation
lutter Jan 19, 2026
a76a9ae
gnd: Add watch mode to codegen command
lutter Jan 19, 2026
75aac6b
gnd: Add migrations module for manifest version upgrades
lutter Jan 19, 2026
d42beec
gnd: Implement IPFS upload for build command
lutter Jan 19, 2026
82e6d94
gnd: Implement test command for running Matchstick tests
lutter Jan 19, 2026
03a3e50
gnd: Implement init command for scaffolding new subgraphs
lutter Jan 19, 2026
b000df1
gnd: Implement add command for adding data sources to subgraphs
lutter Jan 19, 2026
609b1de
gnd: Implement publish command for decentralized network
lutter Jan 19, 2026
2fc246b
gnd: Implement networks.json configuration support
lutter Jan 19, 2026
558453e
gnd: Implement contract service for ABI fetching
lutter Jan 19, 2026
410480d
gnd: Implement init --from-contract with scaffold generation
lutter Jan 19, 2026
5aba9a7
gnd: Implement add command for adding data sources
lutter Jan 19, 2026
438e055
gnd: Add comprehensive tests for add command
lutter Jan 19, 2026
ba4d45f
gnd: Default deploy command to Subgraph Studio
lutter Jan 19, 2026
99ab585
gnd: Add comprehensive tests for prompt module
lutter Jan 19, 2026
b510b26
gnd: Add more tests for init command
lutter Jan 19, 2026
0f845d4
gnd: Add test for simple array fields in schema codegen
lutter Jan 19, 2026
3330e1e
gnd: Add tests for overloaded events and functions in ABI codegen
lutter Jan 19, 2026
27a0604
gnd: Add support for nested array types in schema codegen
lutter Jan 19, 2026
555ee94
gnd: Add tests for tuple/struct types in ABI codegen
lutter Jan 19, 2026
95da132
gnd: Add shell completions command
lutter Jan 19, 2026
f3f4082
gnd: Add tests for array types in ABI codegen
lutter Jan 19, 2026
f1a5fb5
gnd: Add codegen verification tests against graph-cli fixtures
lutter Jan 19, 2026
fafe0ad
gnd: Fix remaining codegen verification test fixtures
lutter Jan 19, 2026
ebb1719
gnd: Make codegen verification tests self-contained
lutter Jan 19, 2026
918b06e
gnd: Implement publish command matching graph-cli behavior
lutter Jan 20, 2026
c3ea0f4
gnd: Implement --from-subgraph for init command
lutter Jan 20, 2026
f8ca79b
docs: Update gnd-cli-expansion spec, commit plan for it, too
lutter Jan 20, 2026
fee72a7
gnd: Add CLI documentation and migration guide
lutter Jan 20, 2026
207d654
docs: Update plan status, mark Phase 12 complete
lutter Jan 20, 2026
f2e88e8
gnd: Add CLI integration tests for drop-in replacement verification
lutter Jan 20, 2026
64a077d
gnd: Add schema validation using graph-node validation logic
lutter Jan 21, 2026
ceeb8df
gnd, graph: Add manifest validation using shared validation logic
lutter Jan 21, 2026
e663384
tests: Switch integration tests to use gnd as default CLI
lutter Jan 21, 2026
5c086e6
tests: Remove graph-cli dependency from integration test subgraphs
lutter Jan 21, 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
12 changes: 12 additions & 0 deletions .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
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
Loading