fix(daemon): make version handover forward-only - #91
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 0242e44fb5
ℹ️ 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 (@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 (@codex) address that feedback".
0242e44 to
13f2ee3
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 13f2ee3beb
ℹ️ 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 (@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 (@codex) address that feedback".
Prevent mixed-version clients from repeatedly replacing the shared daemon. Shutdown now quiesces capture and drains pending delivery before the replacement starts. Before: 0.19 -> stop 0.20 -> start 0.19 -> stop 0.19 -> start 0.20 After: 0.19 -> reuse 0.20 0.21 -> drain 0.20 -> start 0.21 Concurrent upgrades retry up to three handovers: 0.21 + 0.22 -> drain 0.20 0.21 wins socket 0.22 -> drain 0.21 -> start 0.22 Captures rejected during a drain reconnect to the replacement, or restore the daemon on demand after an explicit stop. Record the translating daemon version separately from the capture plugin version so production traces retain both provenance signals. Fixes #88
13f2ee3 to
1a78217
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 1a78217091
ℹ️ 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 (@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 (@codex) address that feedback".
Before:
After:
Fixes #88