Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(application): add isReady check for all nodes in application #692

Merged
merged 2 commits into from
Feb 21, 2024

Conversation

Abirdcfly
Copy link
Collaborator

@Abirdcfly Abirdcfly commented Jan 31, 2024

What type of PR is this?

/kind feature

What this PR does / why we need it

This commit adds Ready methods to all nodes in the application.
These methods provide a consistent way to check if a node is ready and to get any error messages that may have occurred during node initialization or execution.

The following changes were made to implement this feature:

  • Added Ready methods to the Node interface.
  • Implemented Ready methods for all existing node types.
  • Updated the application controller to use the Ready methods to check if nodes are ready and to handle any errors that may occur.

Which issue(s) this PR fixes

Fixes #

Special notes for your reviewer

based on #696, need merge that first.

@Abirdcfly Abirdcfly force-pushed the controller branch 5 times, most recently from d4c14fc to 20ef32e Compare January 31, 2024 15:15
@Abirdcfly Abirdcfly force-pushed the controller branch 8 times, most recently from e5052aa to 7fc81be Compare February 20, 2024 04:41
@Abirdcfly Abirdcfly changed the title fix: controller should watch sub resource update fix(application): add isReady check for all nodes in application Feb 20, 2024
@Abirdcfly Abirdcfly marked this pull request as ready for review February 20, 2024 05:14
@Abirdcfly Abirdcfly marked this pull request as draft February 20, 2024 06:03
@Abirdcfly Abirdcfly marked this pull request as ready for review February 20, 2024 06:34
This commit adds `Ready` methods to all nodes in the application.
These methods provide a consistent way to check if a node is ready and to get any error messages that may have occurred during node initialization or execution.

The following changes were made to implement this feature:
- Added `Ready` methods to the `Node` interface.
- Implemented `Ready` methods for all existing node types.
- Updated the application controller to use the `Ready` methods to check if nodes are ready and to handle any errors that may occur.

Signed-off-by: Abirdcfly <fp544037857@gmail.com>
@nkwangleiGIT nkwangleiGIT merged commit cc31c57 into kubeagi:main Feb 21, 2024
9 checks passed
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.

2 participants