-
Notifications
You must be signed in to change notification settings - Fork 2
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
feat: reconcile 2.0, event streams, version enforcement #315
Conversation
…esis block reconciler
…cile into set_agent_state, add EnvInfo lite for agents, remove dead code
…tatus structs to common
…num structures for json
…bincode is begone
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tried my best to go through it all catching stuff but big.
*self.last_node_status.write().await = status.map(|s| (Instant::now(), s)); | ||
} | ||
|
||
pub async fn get_node_status(&self) -> Option<SnarkOSStatus> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couldn't this be a reference? Or is needed as a non-reference where it's called?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it would have to be the RwLock's guard type, which felt kinda weird. Any references would be temporary
tasks:
[ ] potentially start tests on reconcile 2.0 behavior(need to make a new task for making all of snops more testable, with the controlplane not needing to run axum for each api to be tested)related: