In watcher.go, the OnStart hook passes startCtx to context.WithCancel(), but startCtx is the fx startup context which expires after startup completes. The child context derived from it will be cancelled immediately. Should use context.Background() instead and cancel via the stored cancel func.
In `watcher.go`, the `OnStart` hook passes `startCtx` to `context.WithCancel()`, but `startCtx` is the fx startup context which expires after startup completes. The child context derived from it will be cancelled immediately. Should use `context.Background()` instead and cancel via the stored `cancel` func.
Ref: [issue #5](https://git.eeqj.de/sneak/dnswatcher/issues/5) item 1
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
In
watcher.go, theOnStarthook passesstartCtxtocontext.WithCancel(), butstartCtxis the fx startup context which expires after startup completes. The child context derived from it will be cancelled immediately. Should usecontext.Background()instead and cancel via the storedcancelfunc.Ref: issue #5 item 1