Automatically generate `.rcpsnap` files when a CI parity check fails
Open
Type: Request
- Dominant language
- Rust
- Stars
- 697
- Forks
- 200
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 65
Description
# Summary
To aid in debugging and regression testing, our CI should be designed to automatically generate `.rcpsnap ` files whenever a parity check fails. This feature ensures that any mismatch between expected and actual RPC responses is immediately captured for inspection.
# Requirements
The captured snapshot files should be uploaded in `spaces/forest-snapshots/debug/`.
# Motivation
It would save everyone from the time-consuming process of reproducing error locally; downloading a recent similar snapshot, running the Forest and Lotus clients, potentially backfilling index, generating `.rcpsnap` files, manually uploading them, and more.
Contributor guide
Assessment
This issue has not been assessed yet.