Conversation
WalkthroughThis change removes Datadog/StatsD integrations across API, CLI servers, workers, and scripts; updates constructors and config structs accordingly; adjusts go.mod dependencies; and adds error handling for engine initialization in plugins. Minor formatting changes occur in storage. Relay import paths are updated in worker binaries. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
actor Client
participant Echo as Echo HTTP Server
participant MW as statsdMiddleware
participant H as Handler
opt Previous flow (with StatsD)
Client->>Echo: HTTP request
Echo->>MW: invoke middleware
MW->>H: next(ctx)
H-->>MW: response/error
MW-->>Echo: record metrics, return
Echo-->>Client: HTTP response
end
rect rgb(245,245,245)
note over Echo: Current flow (no StatsD middleware)
Client->>Echo: HTTP request
Echo->>H: handler
H-->>Echo: response/error
Echo-->>Client: HTTP response
end
sequenceDiagram
autonumber
participant Plugin as ValidateProposedTransactions
participant Engine as engine.NewEngine()
Plugin->>Engine: NewEngine()
alt Engine init fails
Engine-->>Plugin: error
Plugin-->>Plugin: return fmt.Errorf("failed to create engine: %w")
else Success
Engine-->>Plugin: eng
Plugin-->>Plugin: proceed with validation
end
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (14)
💤 Files with no reviewable changes (7)
🧰 Additional context used🧠 Learnings (2)📚 Learning: 2025-08-20T13:51:05.212ZApplied to files:
📚 Learning: 2025-08-20T13:51:41.822ZApplied to files:
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
🔇 Additional comments (8)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Merge after
vultisig/verifier#354
Summary by CodeRabbit