Repository navigation
fix(server): confirm a protocol mismatch against the metadata that reported it - #552
Conversation
|
@codex review |
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. |
|
Codex Review: Didn't find any major issues. More of your lovely PRs please. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
c1b3dad to
f6a64d2
Compare
|
Codex Review: Didn't find any major issues. Bravo. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
Change
qq daemon run --detach(and any discovery) could fail withserver protocol version 43 does not match client version 42right after a daemon of another protocol stopped.Discovery now confirms a mismatch against the snapshot that reported it. A stale snapshot whose server is gone is retried, and the next read finds the new daemon. This is a pre-release fix for v0.1.11: it showed up as a flaky
restart_replaces_a_daemon_from_another_protocol_versionfailure on #551's CI (test passed on attempt 2/2).Verification
a_mismatch_is_confirmed_against_the_metadata_that_reported_it. The same check against the oldother_protocol_answers(paths)fails: it confirms the stale mismatch by probing the live server.cargo nextest run -p qq --test daemon_lifecycle --stress-count 20: 20/20 passed.cargo xtask check: passed.Known impact
None. No wire, metadata format or CLI change.