Skip to content

test(torrent): stress the Windows uTP diagnostics - #597

Merged
linroid merged 1 commit into
mainfrom
test/torrent-windows-utp-diagnostics
Oct 18, 2026
Merged

linroid merged 1 commit into
mainfrom
test/torrent-windows-utp-diagnostics

Conversation

@linroid

@linroid linroid commented Oct 18, 2026

Copy link
Copy Markdown
Owner

Follow-up to #593, which merged the temporary UtpWindowsDiagnosticTest. This makes it more likely to catch the Windows-only "No uTP answer" flake and to say why:

  • engineDial runs 200 rounds instead of 5 and logs at INFO after the first round instead of VERBOSE, so the output stays readable. It prints a failure count at the end.
  • When a dial fails, it prints the dialer's local address, whether 127.0.0.1:<listenPort> was still free for UDP, and on Windows the netstat -ano -p UDP lines for that port.
  • New specificThenWildcard: binds 127.0.0.1:<port>, then 0.0.0.0:<port>, and reports which socket a loopback datagram reaches.

These tests only print DIAG lines and assert nothing. Remove them once the cause is known.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 18, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-18T09:00:07.813202Z bd81f2d PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@claude

claude Bot commented Oct 18, 2026

Copy link
Copy Markdown

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

@linroid
linroid merged commit da00e2e into main Oct 18, 2026
12 checks passed
@linroid
linroid deleted the test/torrent-windows-utp-diagnostics branch October 18, 2026 08:58
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.

1 participant