Skip to content

fix: address Codex PR #25 follow-up issues (false feature activations + PyNaCl error) - #28

Merged
dizhaky merged 5 commits into
mainfrom
automation/fix-codex-pr25-followups
Jun 24, 2026
Merged

fix: address Codex PR #25 follow-up issues (false feature activations + PyNaCl error)#28
dizhaky merged 5 commits into
mainfrom
automation/fix-codex-pr25-followups

Conversation

@dizhaky

@dizhaky dizhaky commented Jun 23, 2026

Copy link
Copy Markdown
Owner

Addresses all 4 P2 Codex findings from merged PR #25. Reviewed and verified by automated Codex follow-up routine — all 27 CI checks pass.

See draft PR #27 for full context.

dizhaky added 5 commits June 23, 2026 18:11
active_features() was using any() over all specs, which caused false
activations when a transitive package (aiohttp, cbor2, starlette) shared
by multiple features was installed. For example:
- aiohttp from Slack -> platform.discord falsely active
- cbor2 from Modal -> terminal.vercel falsely active (and vice-versa)
- starlette from MCP -> tool.dashboard falsely active

Fix: check only specs[0] (the primary/unique package). By convention the
first tuple element is always a package exclusive to that feature. This
prevents hermes update from installing packages for features the user
never enabled. Addresses Codex PR #25 comments.
Returning False from join_voice_channel() when PyNaCl is absent bypassed
the PyNaCl-specific error guidance in GatewayRunner._handle_voice_channel_join
(gateway/run.py:10937). The caller only shows the install hint when the call
raises with "pynacl" in the error message; a False return fell through to the
generic "Check bot permissions" message instead. Addresses Codex PR #25.
The adapter now raises RuntimeError (instead of returning False) so that
GatewayRunner._handle_voice_channel_join can surface the PyNaCl-specific
install guidance. Update the test to match.
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@github-actions

Copy link
Copy Markdown

🔎 Lint report: automation/fix-codex-pr25-followups vs origin/main

ruff

Total: 0 on HEAD, 0 on base (➖ 0)

🆕 New issues: none

✅ Fixed issues: none

Unchanged: 0 pre-existing issues carried over.

ty (type checker)

Total: 8650 on HEAD, 8650 on base (➖ 0)

🆕 New issues: none

✅ Fixed issues: none

Unchanged: 4568 pre-existing issues carried over.

Diagnostics are surfaced as warnings — this check never fails the build.

@dizhaky
dizhaky merged commit 7501574 into main Jun 24, 2026
55 checks passed
@dizhaky
dizhaky deleted the automation/fix-codex-pr25-followups branch June 24, 2026 00:18
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