Closed Kavindu-Dodan closed 5 months ago
Name | Link |
---|---|
Latest commit | 966ae32f90b9d25453e694a92dbaa3818d694eb7 |
Latest deploy log | https://app.netlify.com/sites/polite-licorice-3db33c/deploys/667da94cdac08f0008483d90 |
Attention: Patch coverage is 65.90909%
with 15 lines
in your changes missing coverage. Please review.
Project coverage is 78.26%. Comparing base (
1c530ab
) to head (c53b1e4
). Report is 84 commits behind head on main.:exclamation: Current head c53b1e4 differs from pull request most recent head 966ae32
Please upload reports for the commit 966ae32 to get more accurate results.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Fixes #1328
Improvement
flagd's core components are intended to be reused. This PR change the
IStore
interface by allowing an error to be returned fromGetAll
. This error is then propagated throughResolveAllValues
. This change enables customIStore
implementations to return errors and propagate them through the resolver layer.With this change, I have upgrade OFREP bulk evaluator and flagd RPC
ResolveAll
with error propagation.OFREP - Log warning with resolver error and return HTTP 500 with a tracking reference RPC - Log warning with resolver error and return an error with a tracking reference