Closed roger2hk closed 4 months ago
Attention: Patch coverage is 0%
with 15 lines
in your changes missing coverage. Please review.
Project coverage is 32.67%. Comparing base (
46ec9c2
) to head (0201b00
). Report is 7 commits behind head on main.
Files | Patch % | Lines |
---|---|---|
cmd/example-mysql/main.go | 0.00% | 7 Missing :warning: |
log.go | 0.00% | 7 Missing :warning: |
cmd/example-gcp/main.go | 0.00% | 1 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Just a thought, would it make sense to roll this into the existing
WithCheckpointSigner()
option?The existing storage implementations don't need a verifier since they store state internally and just "render" checkpoint from that so never need to verify it, but if there will be other patterns where this isn't case (POSIX too, presumably?) then it'd probably make sense to pop signer & verifier in the same option; it'll avoid bugs where someone passes a signer but not a verifier, and then they only find out when their binary crashes when it tries to integrate.
Good point. I have refactored the WithCheckpointSigner
to WithCheckpointSignerVerifier
.
21