Skip to content

Conversation

@lynnagara
Copy link
Member

@lynnagara lynnagara commented Jan 6, 2026

  • ingest-router now has health and readiness endpoints for kubernetes
  • move the ingest router service out of lib.rs to it's own file
  • moves admin service from proxy to /shared so ingest-router can reuse the implementation
  • add ctrl-c shutdown handling

- move the ingest router service out of lib.rs to it's own module
- add the admin service
- this mirrors the implementation in the proxy
@@ -0,0 +1,193 @@
use crate::config;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this code is not new -- just moved from lib.rs

@lynnagara lynnagara marked this pull request as ready for review January 7, 2026 18:56
@lynnagara lynnagara requested a review from a team as a code owner January 7, 2026 18:56
pub fn new(is_ready: F) -> Self {
Self {
is_ready,
_error: PhantomData,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is this used for? I don't see any other references to it.

Copy link
Member Author

@lynnagara lynnagara Jan 8, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

only to keep the type system happy since the service is generic over E, which is either IngestRouterError or ProxyError depending on where it's used.

@lynnagara lynnagara merged commit 71bdedc into main Jan 8, 2026
12 checks passed
@lynnagara lynnagara deleted the ingest-router-service branch January 8, 2026 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants