fix(daemon): bound Docker event refresh work - #74
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: cff0e5b93d
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b8d0b6789b
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Summary
Verification
The daemon lifecycle test requires process-table access and exposes a pre-existing process-global orphan-detection behavior even with an isolated HACK_HOME. The installed launchd daemon was restored, and changed behavior is covered without relying on that unsafe lifecycle path.
Correctness and rollback
Unknown Docker event actions still request refreshes. Startup, watcher exit, runtime repair, and the 30-second interval force full inspection, preserving recovery from missed events and mutable network state. HACK_DAEMON_DISABLE_DOCKER_EVENTS remains the emergency fallback while interval reconciliation continues.
Release signal
Yes. This is a behavior and performance fix and should produce a fix release signal through the Conventional Commit and PR title. This repository does not use a separate changeset artifact for this release path.
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.