Skip to content

Fixes from a full-repo review; port the companion's fixes - #7

Merged
davidcoulson merged 2 commits into
mainfrom
fix/codex-review
Oct 21, 2026
Merged

davidcoulson merged 2 commits into
mainfrom
fix/codex-review

Conversation

@davidcoulson

Copy link
Copy Markdown
Owner

Fixes from a full-repo Codex review, plus a port of esphome-ble-advert-filter's fix/codex-review (davidcoulson/esphome-ble-advert-filter, commit aeaeb7c).

  • Ported: FindMy length check, setters that parse when called, fixed-size RPA cache. Parity check passes; set_irks_hex and add_allowed_service_uuid128 are now part of the compared functions.
  • Forwarding no longer memcpys from a null payload; it uses the sanitised length.
  • A connect request without an address type is rejected before a connection slot is reserved, so it no longer leaks the slot (inherited from upstream).
  • An explicit connections: list now counts against the BLE connection-slot total (inherited from upstream). Not exercised by a test config.
  • IRKs are validated as sensitive, so config output conceals them.
  • README: logger override so the homeassistant text_sensor does not log every IRK.

Before merge: PARITY_COMMIT in tests/run.sh points at aeaeb7c on the companion branch. Repin it to the merged commit once that PR lands; until then run the tests with HOOK_REPO=<local clone>.

…ache); null payload copy, connect slot leak, explicit connections slot accounting, IRKs sensitive
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 21, 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-21T22:38:07.995202Z cfb70bf 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.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: cfb70bf317

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread tests/run.sh Outdated

PARITY_TAG=v2.0.3
PARITY_COMMIT=0bb63ba740c9488a5aaeaccbdc61c83caf6b0096
PARITY_COMMIT=aeaeb7cdb45c09da8c4b13715459f884a05bb882

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Keep the parity hash aligned with the checked-out tag

The script still clones v2.0.3, and .github/workflows/tests.yml also explicitly checks out that tag, but this line now requires the untagged companion-branch commit aeaeb7c... instead of the tag's 0bb63ba.... Consequently both a default tests/run.sh invocation and every CI run exit at the hash check before parity or filter tests execute; update the checked-out ref/tag together with this pin rather than changing only the expected hash.

Useful? React with 👍 / 👎.

@davidcoulson
davidcoulson merged commit e22bbdb into main Oct 21, 2026
5 checks passed
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