Closed grafnu closed 3 years ago
It will be consumed by some client, even if it's not gRPC (protobuf isn't only useful for grpc). I want something that is well-structured and cross-language, so something more than an arbitrary dict (unstructured), and not just a dataclass (python-only).
On Tue, Jul 13, 2021 at 9:35 PM henry54809 @.***> wrote:
@.**** commented on this pull request.
In daq/runner.py https://github.com/faucetsdn/daq/pull/893#discussion_r669273297:
@@ -1075,6 +1078,13 @@ def _send_device_result(self, device, test_results): except Exception as e: LOGGER.error("Failed to send device results for device %s: %s ", device, e)
- def report_sink(self, report_dict):
If it's not consumed by some grpc client, does it really have to be in the protobuf? The existing dict / a dataclass to replace https://github.com/faucetsdn/daq/blob/master/daq/report.py#L240 should suffice.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/faucetsdn/daq/pull/893#pullrequestreview-705843863, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIEPD5ST7EQNX2LFBK277DTXUHXPANCNFSM5AKNLNBA .
Any additional comments?
Codecov Report
62.66% <95.23%> (+0.24%)
68.18% <95.23%> (+0.16%)
66.15% <95.23%> (+0.23%)
67.43% <95.23%> (+0.18%)
67.30% <95.23%> (-0.12%)
72.37% <95.23%> (+0.09%)
67.41% <95.23%> (+0.20%)
66.43% <95.23%> (+0.19%)
31.00% <83.33%> (+0.39%)
Flags with carried forward coverage won't be shown. Click here to find out more.
0.00% <0.00%> (ø)
91.13% <100.00%> (ø)
100.00% <100.00%> (ø)
98.38% <100.00%> (+0.01%)
84.51% <100.00%> (-0.03%)
46.98% <0.00%> (-3.62%)
82.19% <0.00%> (-1.37%)
Continue to review full report at Codecov.