- Notifications
You must be signed in to change notification settings - Fork3
chore: add mutagen prompting gRPC#118
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
ethanndickson commentedMar 21, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
f0a7bbd
tofa5aeb2
Compare5ca8a83
toc11bc07
Comparefa5aeb2
to7485c0f
Comparec11bc07
to1cac28d
Compare7485c0f
to2fa9ac2
Compare1cac28d
to015cd0c
Compare2fa9ac2
toa1e03d6
Compare015cd0c
to6a40c66
Comparea1e03d6
to8a14aa3
Compare6a40c66
to257499f
Compare8a14aa3
to397007d
Compare257499f
to12fa59f
Compare397007d
to4fd43fd
Compare12fa59f
toaf6ba71
Compare4fd43fd
to916bec7
Compareaf6ba71
toae06ba2
Compare@@ -42,9 +42,9 @@ public class MutagenDaemon: FileSyncDaemon { | |||
privateletmutagenDaemonSocket:URL | |||
// Non-nil when the daemon is running | |||
varclient:DaemonClient? |
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.
Making thisinternal
instead ofprivate
so we can split the daemon class up into multiple extensions, across multiple files.
// TODO: we'll always accept prompts for now | ||
try initResp.ensureValid(first: true, allowPrompts: allowPrompts) | ||
Task.detached(priority: .background) { |
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.
This block is self-contained, and we're currently doing a lot on the main actor already. I was previously running into issues on startup with the VPN code getting starved by file sync code.
916bec7
to1950779
Compareae06ba2
to68dae7d
Compare1950779
to72ac481
Compare68dae7d
toc7018ec
CompareUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
72ac481
tofb42817
Comparec7018ec
to820bace
Comparefb42817
tof25e09f
Compare820bace
to93667f7
Compareethanndickson commentedMar 28, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
93667f7
to77771a7
Compare2669a1c
intomainUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Relates to#63.
The daemon requires this prompting communication channel be open during all requests.