Skip to content

test: count only packet-handling errors in the malformed-packet test - #467

Merged
Mearman merged 1 commit into
mainfrom
fix/466-first-contact-test-host-network
Oct 27, 2026
Merged

Mearman merged 1 commit into
mainfrom
fix/466-first-contact-test-host-network

Conversation

@Mearman

@Mearman Mearman commented Oct 27, 2026

Copy link
Copy Markdown
Member

The malformed-packet test asserted that the whole onError list was empty, but the presence reports its own failed broadcast sends there too, so a host with no broadcast route failed it with EHOSTUNREACH. The test now ignores send failures and still fails on any other error.

Closes #466

The presence reports its own failed broadcast sends through onError, so
on a host with no broadcast route the malformed-packet test saw
EHOSTUNREACH errors that have nothing to do with the packets it sends.

Closes #466
@Mearman
Mearman marked this pull request as ready for review October 27, 2026 20:29
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
🔒 Security Review ⚠️ Failed 2026-10-27T20:29:54.674708Z
We couldn’t complete this review. Comment @codex security review to try again.
d78c851 Draft marked ready
ℹ️ 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.

@chatgpt-codex-connector

Copy link
Copy Markdown

This security review couldn’t start because the paying account has exhausted its Codex allowance and has insufficient available credits. The payer can check their balance and add credits in the Codex usage dashboard, then try again. If you do not manage the paying account, contact this repository's admins.

@Mearman
Mearman merged commit 44478a8 into main Oct 27, 2026
8 checks passed
@Mearman
Mearman deleted the fix/466-first-contact-test-host-network branch October 27, 2026 20:30
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 8.15.20 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

first-contact unit test fails on a host with no broadcast route

1 participant