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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP refactor of server/sessions/buildkit-interfaces #7315

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

sipsma
Copy link
Contributor

@sipsma sipsma commented May 8, 2024

Another part of the effort to support #6916 while also doing general cruft cleanup and setup for various upcoming efforts.

Deeply WIP still, but main goal is to fix the current knots tied between BuildkitController, DaggerServer, BuildkitClient, Query, dagql.Server, ClientCall-related stuff, etc. in order to make the whole system more comprehensible and make it easy to manage/isolate state (both now and going forward).

There's quite a bit of consolidation of those objects (a number of them just don't even exist any more), a lot more robust/clear handling of synchronization + state management, etc.

Mostly sending out because I'm starting to get curious what the diff is shaping up to look like, but if you want to check it out, the new implementation of the engine/server package is currently in engine/newserver

  • So far, net negative lines 馃帀

@sipsma
Copy link
Contributor Author

sipsma commented May 20, 2024

Ended up spinning out the support for serving nested execs from the executor here (ended up just becoming removal of the shim entirely). Coming back here now to finish up the rest of this refactor on top of that.

Signed-off-by: Erik Sipsma <erik@sipsma.dev>
Signed-off-by: Erik Sipsma <erik@sipsma.dev>
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.

None yet

1 participant