We currently lack an automated end-to-end test suite to validate Rindexer’s full flow across historic indexing, live indexing, GraphQL, and Postgres. This gap allows regressions to slip through in areas like contract discovery, checkpoint restarts (duplicates), live transaction handling, and downstream integrations.
Why this matters:
- Ensures core flows (historic + live) work against a real node (Anvil).
- Validates Postgres integration and GraphQL queries.
- Prevents regressions on restart semantics (no duplicates).
- Provides reproducible, CI-friendly test targets.
Scope:
- Create an e2e-tests crate with a registry-driven test system and runner.
- Cover historic indexing, live indexing, GraphQL service availability and querying, Postgres writes, multi-network mixed runs, and a direct-RPC verification.
- Add Makefile targets for local dev and CI.
Acceptance Criteria:
Documentation exists under e2e-tests/README.md covering setup, running, and troubleshooting.
We currently lack an automated end-to-end test suite to validate Rindexer’s full flow across historic indexing, live indexing, GraphQL, and Postgres. This gap allows regressions to slip through in areas like contract discovery, checkpoint restarts (duplicates), live transaction handling, and downstream integrations.
Why this matters:
Scope:
Acceptance Criteria:
A new e2e-tests/ workspace member with:
Tests available and passing:
Historic:
Live:
GraphQL:
Postgres:
Direct RPC:
Multi-network:
Documentation exists under e2e-tests/README.md covering setup, running, and troubleshooting.