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 stability of workload deployment and process accounting #324

Merged
merged 16 commits into from
Jul 12, 2024

Conversation

kthomas
Copy link
Contributor

@kthomas kthomas commented Jul 12, 2024

This PR addresses the following instability issues:

  • the internal NATS server had no mutex around the modification of the map that stores creds; in addition, we are now caching the first NATS connection created for the node to communicate with running agents

  • MachineManager and ProcessManager implementations were not synchronized; MachineManager now returns data about agents and does not lookup agents/workloads using the ProcessManager interface

  • deploying workloads using the controlapi package now implements logic to retry in the event no agent is available

  • the spec harness was ill-equipped to handle testing multiple machines in the pool

  • nex node info output has been updated to include more data

@kthomas kthomas requested a review from a team as a code owner July 12, 2024 18:20
Copy link
Contributor

@autodidaddict autodidaddict left a comment

Choose a reason for hiding this comment

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

just a couple cleanup suggestions

@kthomas kthomas requested a review from autodidaddict July 12, 2024 18:56
@kthomas kthomas merged commit c90e457 into main Jul 12, 2024
3 of 5 checks passed
@kthomas kthomas deleted the test/multiple-native-bins-rebased branch July 12, 2024 19:33
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