-
Notifications
You must be signed in to change notification settings - Fork 25
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
Move host info to the bus
#1077
Conversation
I will add an integration test but figured it'd be best to push it into review and get a first round of comments in before doing so. |
This seems alright overall but can we extract the |
Jup, just wanted to get everything coded up to avoid going back and fourth between PRs. Moving this to |
We currently have two `Host` types. One in the `hostdb` package and one in the `api` package. Merging these removes unnecessary nesting and cleans up our API interfaces since we should exclusively return types from the `api` package. The `hostdb` package is now left with announcements stuff, which will be removed by `its-happening` after which we can remove the `hostdb` package entirely.
This PR gets rid of the contractor cache. It stores the host checks in the bus and uses those when performing contract checks. To do so I extended search hosts with the ability to filter on usability and autopilot ID.
Closes #1034