Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Poor debugging experience with relayer integration tests #238

Open
Farhad-Shabani opened this issue Jan 28, 2025 · 0 comments
Open

Poor debugging experience with relayer integration tests #238

Farhad-Shabani opened this issue Jan 28, 2025 · 0 comments
Labels
dev env Local development environment setup epic relayer

Comments

@Farhad-Shabani
Copy link
Member

Farhad-Shabani commented Jan 28, 2025

Context

Debugging the relayer’s integration tests is currently cumbersome and time-consuming, which significantly slows down the development process. Several factors contribute to this challenge (ranked in order of their perceived impact):

  1. Insufficient tracing in Starknet relayer and Hermes SDK #261

  2. Missing Debug implementations in Starknet relayer and Hermes SDK #262

  3. Nix sometimes exhibits flakiness, particularly with ARM64 (regardless of MacOS vs Linux), introducing additional hurdles on such platforms. Examples:

  4. Overly complex test codebase, often covering multiple scenarios in a single run, making it difficult to isolate specific issues.

  5. Limited compiler and rust-analyzer feedback in relayer #263

  6. Challenges with implementation and reference searches in IDE #264

  7. Lack of clear debugging guidance, even a simple one, including where to look for chain logs or other diagnostic information.

Highlight

While this issue might seem like a quality-of-life improvement, a technical debt, not directly tied to deliverables, addressing it would significantly impact the productivity, can reduce the time developers spend troubleshooting bugs—many of which may turn out to have simple fixes—allowing to focus more on delivering stuff.

@Farhad-Shabani Farhad-Shabani added relayer dev env Local development environment setup labels Jan 28, 2025
@mpoke mpoke added the epic label Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev env Local development environment setup epic relayer
Projects
None yet
Development

No branches or pull requests

2 participants