Skip to content

Conversation

@mengelbart
Copy link
Contributor

Description

This is not really a bug but annoying to receivers of our reports. If the ticker ticks, but then another packet is handled first, the timestamp of the report (from the ticker) will be before the receive timestamp of the last packet in the report. In that case, the report contains a 0x1FFF value to indicate that the packet was received after the report. However, we know the timestamp and can send it, if we take the timstamp after entering the case branch. At that time, it is guaranteed, that no additional packets can be added to the report.

@mengelbart mengelbart force-pushed the fix-rfc8888-interceptor-timing branch from 4efe05c to e1f3c06 Compare January 17, 2025 17:48
@codecov
Copy link

codecov bot commented Jan 17, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 71.70%. Comparing base (73f7ccf) to head (3c6ae85).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #305   +/-   ##
=======================================
  Coverage   71.69%   71.70%           
=======================================
  Files          79       79           
  Lines        4742     4743    +1     
=======================================
+ Hits         3400     3401    +1     
  Misses       1203     1203           
  Partials      139      139           
Flag Coverage Δ
go 71.57% <100.00%> (-0.13%) ⬇️
wasm 69.76% <100.00%> (+0.13%) ⬆️

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.

This is not really a bug but annoying to receivers of our reports. If
the ticker ticks, but then another packet is handled first, the
timestamp of the report (from the ticker) will be before the receive
timestamp of the last packet in the report. In that case, the report
contains a 0x1FFF value to indicate that the packet was received after
the report. However, we know the timestamp and can send it, if we take
the timstamp after entering the case branch. At that time, it is
guaranteed, that no additional packets can be added to the report.
@mengelbart mengelbart force-pushed the fix-rfc8888-interceptor-timing branch from e1f3c06 to 3c6ae85 Compare March 22, 2025 13:34
@mengelbart mengelbart merged commit 7c97e8e into master Mar 22, 2025
15 checks passed
@mengelbart mengelbart deleted the fix-rfc8888-interceptor-timing branch March 22, 2025 13:36
arjunshajitech pushed a commit to arjunshajitech/interceptor that referenced this pull request May 13, 2025
This is not really a bug but annoying to receivers of our reports. If
the ticker ticks, but then another packet is handled first, the
timestamp of the report (from the ticker) will be before the receive
timestamp of the last packet in the report. In that case, the report
contains a 0x1FFF value to indicate that the packet was received after
the report. However, we know the timestamp and can send it, if we take
the timstamp after entering the case branch. At that time, it is
guaranteed, that no additional packets can be added to the report.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants