api: New API with health endpoint#139
Conversation
Codecov Report
@@ Coverage Diff @@
## master #139 +/- ##
==========================================
+ Coverage 67.66% 71.71% +4.05%
==========================================
Files 32 37 +5
Lines 1976 2747 +771
==========================================
+ Hits 1337 1970 +633
- Misses 570 678 +108
- Partials 69 99 +30
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
d43f613 to
c7a5dc3
Compare
Remove telemetry from default template. It is not yet available. Add tests and minor refactoring for testability. Address linter complaints. Revert some unnecessary refactoring.
algochoi
left a comment
There was a problem hiding this comment.
I like the video demo, very neat and we should do it more often.
I also tried it out on sandbox, but failed -- it looks like the metrics endpoint is exposed, is there a similar thing we can do for /health or am I just misusing it?
tzaffi
left a comment
There was a problem hiding this comment.
still working through the review, but I was pinged and don't want to keep folks waiting
Co-authored-by: Zeph Grunschlag <tzaffi@users.noreply.github.com>
algochoi
left a comment
There was a problem hiding this comment.
LGTM -- do we need to do something special to expose this endpoint in sandbox environments?
A new port would need to be exposed for this to be available in sandbox |
Summary
Add a new option for an API which includes a health endpoint to return the current round.
Demo and overview.
Test Plan
New unit tests.