fix(native): remove deadlock detection - #3166
Conversation
Co-authored-by: Codex <codex@openai.com>
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: a595872233
ℹ️ 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".
| @@ -54,7 +54,6 @@ moq-net = { workspace = true } | |||
| # congestion configs. Version matched to the copy iroh pulls in. | |||
| noq-proto = { version = "1", default-features = false, optional = true } | |||
| notify = { version = "8", optional = true } | |||
There was a problem hiding this comment.
Add a regression check for the disabled feature
This bug fix has no automated check that parking_lot/deadlock_detection remains absent from the unified release feature graph. A later dependency change can silently re-enable the per-lock tracking that this commit removes while all behavioral tests still pass, so encode the inspected cargo tree invariant in a regression check that fails when the feature returns. (Written by GPT-5.6 Sol)
AGENTS.md reference: AGENTS.md:L141-L141
Useful? React with 👍 / 👎.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (3)
💤 Files with no reviewable changes (2)
Included review availability: Your plan provides up to 4 included reviews per hour; 2 remain after this review. WalkthroughThe native module removes the Merge Risk: 🔵 Low · up to The change removes deadlock-detection overhead and switches native health-state locking to the standard library without changing public APIs or wire formats. It is mergeable with owner awareness because a panic while holding the health-state lock could poison it and cause later lock attempts to panic. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (4 passed)
Full details: Linked Issues checkExplanation The reviewable changes satisfy the code-related objectives in issue
✨ Finishing Touches✨ Simplify code
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
parking_lot::Mutexwithstd::sync::Mutex, removingmoq-native’s directparking_lotdependencyparking_lot/deadlock_detectionacross release builds; Cargo feature unification compiled its per-lock tracking even though#[cfg(debug_assertions)]prevented the checker from runningFixes #3125.
Public API changes
None.
Test plan
nix develop --command just fixnix develop --command just checknix develop --command just test(3264 passed, 1 skipped)cargo tree --locked -p moq-relay -e features -i parking_lot_coreto confirm onlyparking_lot_core/defaultremains enabledCross-package sync is not applicable because this changes neither a public API nor a wire format.
(Written by Codex)