Skip to content

Conversation

@philipch07
Copy link
Contributor

@philipch07 philipch07 commented Oct 17, 2025

Description

Reference issue

A part of #402.

@philipch07 philipch07 changed the title Update the rtx_timer to rfc 9260 Update the rtx_timer to RFC 9260 Oct 17, 2025
@philipch07 philipch07 mentioned this pull request Oct 17, 2025
@codecov
Copy link

codecov bot commented Oct 17, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.02%. Comparing base (a69c6a2) to head (7a1fe98).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #403      +/-   ##
==========================================
+ Coverage   83.84%   84.02%   +0.18%     
==========================================
  Files          51       51              
  Lines        3448     3469      +21     
==========================================
+ Hits         2891     2915      +24     
+ Misses        417      415       -2     
+ Partials      140      139       -1     
Flag Coverage Δ
go 84.02% <100.00%> (+0.18%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@philipch07 philipch07 force-pushed the pch07/update-rtx-timer-to-rfc-9260 branch 3 times, most recently from 680eea2 to 0c980d9 Compare October 17, 2025 21:46
@philipch07 philipch07 force-pushed the pch07/update-rtx-timer-to-rfc-9260 branch 2 times, most recently from 35efde0 to b0a3b47 Compare October 30, 2025 16:56
@JoeTurki JoeTurki requested a review from Copilot November 2, 2025 05:12
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the SCTP retransmission timer implementation to conform with RFC 9260 (updating from RFC 4960), adds comprehensive test coverage for edge cases and RFC requirements, and fixes spelling errors throughout the test file.

  • Implements RFC 9260 clock granularity requirement (G1) for RTTVAR
  • Adds backoff persistence logic across timer restarts per RFC 9260 sections 6.3.2 and 6.3.3
  • Introduces fuzz testing for RTO manager, timeout calculation, and timer state machine

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
rtx_timer.go Implements RFC 9260 G1 granularity bump for RTTVAR==0, adds restart() and updateBaseRTO() methods for backoff handling, updates RFC references and fixes typos in comments
rtx_timer_test.go Adds unit tests for G1 granularity, backoff persistence, and RFC compliance; fixes spelling of "unexpected" and "after" in error messages; adds three fuzz tests

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@philipch07 philipch07 force-pushed the pch07/update-rtx-timer-to-rfc-9260 branch from b0a3b47 to 7a1fe98 Compare November 2, 2025 05:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants