Closed duratm closed 1 month ago
Currently implementing gRPC interfaces for the Agent. RPC "RegisterAgent" interface complete + test client RPC "ReportHealthStatus" interface complete + currently working on test client (after dodo :hurtrealbad:)
See next steps here: https://github.com/orgs/dev-sys-do/projects/2
The interfaces themselves are mostly done, + integration tests (on interfaces) with some mock examples (to expand)
Started coding some Agent pool logic for registration
@hugoponthieu I finished implementing the missing interface to send an Action. I am not yet able to test it, since I need a mock controller/agent, but as far as the gRPC interfaces go, it works.
I'll try to write some grpcurl
commands if I can get my hands on a mock Agent. And I'll deploy this version on my remote server so we can test it properly and connect your Agent to it.
You can review the code, don't hesitate to ask any question if you are having trouble understanding some stuff, or if it lacks comments in some parts
Lastly, controller_interface contains crude logic code, which will need to be put in its own module; for clarity
The main issue now is that probably lots of error handling is missing. Like some checks on grpc interfaces ; I would need help with that @dev-sys-do/sealci-scheduler
Nice code base
Thank you for your comment! I think you can review and resolve your requested changes :-)
This pull request aims to implement the scheduler