Repository navigation
test(j1939): clock retry confirmation during echo grace - #482
Conversation
PR SummaryLow Risk Overview The fixture now uses Production behavior and assertions (late echo handling, claimed state, address Reviewed by Cursor Bugbot for commit 6c22c36. Bugbot is set up for automated code reviews on this repo. Configure here. |
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. |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
What does this change?
The J1939 claim-retry regression froze protocol time while its deferred RawCan echo still had a host-time confirmation deadline. Use a separate VirtualClock confirmation actor and start the retry halfway through the predecessor's grace, so grace expiry occurs while the retry genuinely still has half of its one-second confirmation budget remaining. Positive timer witnesses prove both phases. All original late-echo, claim-state and address assertions remain; no timeout budget, production behavior or public API changes.
Refs #362. Remaining CANopen DeferredEcho/reset/SDO fixtures still need the final timing audit.
Type of change
docs/test/refactor/chore/ci— no releaseValidation
Two real source mutations were runtime-red and restored: the old host-time service binding removes the confirmation timer witness; removing
HasLiveClaimEchograce rearming makes the late echo consume the retry marker and violates the original successful-claim path. Runner:/private/tmp/cankit-362-claim-confirm-mutations.py.Local gates: 3043 net10 tests with coverage, net48 compilation, CI build, formatting, nine verified packages, 50 engineering tests, traceability. Cobertura parsed all 444 classes/nested types; the production diff is empty, with no changed executable missing/partial entries.
Checklist
-p:CI=true, test (net10.0),dotnet format --verify-no-changes, and pack +eng/verify-packages.pyall pass locally