-
Notifications
You must be signed in to change notification settings - Fork 1
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
DM-48941: Only check out notebook repos once #407
Conversation
5d1fc5e
to
266f762
Compare
baffea4
to
f4b94dc
Compare
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.
Nothing major here and I think the overall approach is fine as is, but as noted I would be inclined to never delete checkouts for now and implement reference counting in the long term.
f322957
to
9e9d29e
Compare
fe9aaea
to
214fb8f
Compare
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.
One minor note about commenting some behavior, but otherwise this looks great to me. Thanks!
214fb8f
to
1652475
Compare
Add a reference-counting process-global notebook repo cache. Use this in the NotebookRunner business to only clone notebook repos once per process, not once per monkey.
b0e2986
to
6729a14
Compare
Add a process-global notebook repo cache. Use this in the NotebookRunner business to only clone notebook repos once per process, not once per monkey.
The notebook repo refresh functionality complicates this a bit, see this comment