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

extracts process management into separate interface #155

Merged
merged 12 commits into from
Apr 3, 2024

Conversation

autodidaddict
Copy link
Contributor

everything should continue to work as it did before. Now, however, the firecracker process pool is in its own struct that conforms to the ProcessManager interface.

Note that the workload manager proxy will fail tests because that proxy relied on magical knowledge of struct internals to do its job. We should find a different way to test these things so that we're only testing against the public interface and not using what should be hidden knowledge.

@autodidaddict autodidaddict requested a review from a team as a code owner March 29, 2024 13:07
internal/agent-api/client.go Outdated Show resolved Hide resolved
internal/agent-api/client.go Outdated Show resolved Hide resolved
internal/agent-api/types.go Show resolved Hide resolved
internal/control-api/types.go Show resolved Hide resolved
internal/node/controlapi.go Show resolved Hide resolved
internal/node/nodeproxy.go Show resolved Hide resolved
internal/node/process_mgr.go Outdated Show resolved Hide resolved
internal/node/running_vm.go Show resolved Hide resolved
@autodidaddict
Copy link
Contributor Author

autodidaddict commented Apr 1, 2024 via email

Copy link
Contributor Author

@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.

please address the change requests (I can't request changes on my own PR)

internal/node/process_mgr.go Outdated Show resolved Hide resolved
internal/node/process_mgr.go Outdated Show resolved Hide resolved
internal/node/process_mgr.go Outdated Show resolved Hide resolved
@kthomas kthomas self-requested a review April 3, 2024 13:16
Comment out specs which no longer have access to internal data related
to running VMs..
kthomas
kthomas previously approved these changes Apr 3, 2024
@autodidaddict
Copy link
Contributor Author

Waiting for the results of manual testing on this before merging.

@autodidaddict autodidaddict merged commit 3d386f2 into main Apr 3, 2024
3 checks passed
@autodidaddict autodidaddict deleted the patch/procman branch April 3, 2024 18:37
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