Repository navigation
refactor(feishu): remove unreachable requester topic selection - #146904
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. Reviewed September 13, 2026, 7:37 AM ET / 11:37 UTC (Revision 3). ClawSweeper reviewWhat this changesRemoves unreachable Feishu reply-route selection code and adds coverage preserving ambiguous-topic handling and the existing single-child-route fallback. Merge readiness✅ Ready for maintainer review The cleanup remains useful: current main and the latest release retain the unreachable branch. No blocking correctness findings remain, and this member-authored PR is protected from automatic closure. Likely related people: vincentkoc for requester-resolution work; Peter Steinberger as an unverified routing candidate for adjacent binding work. Priority: P3 Review scores
Verification
How this fits togetherThe Feishu plugin receives subagent completion events and looks up conversation bindings to select a reply destination. It returns a Feishu delivery origin or leaves destination selection unresolved. flowchart TD
A[Subagent completion event] --> B[Feishu delivery hook]
C[Account conversation bindings] --> B
B --> D[Match requester conversation]
D --> E[Matching child route or sole child fallback]
E --> F[Feishu reply destination]
E --> G[Unresolved destination]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceSource -21, Tests +47. Total +26 across 2 files. View PR surface stats
Review metricsNone. Technical reviewBest possible solution: Keep one requester-topic selection path while preserving ambiguity rejection and the existing single-child fallback. Do we have a high-confidence way to reproduce the issue? Not applicable to a user-facing bug: source inspection proves the removed selection condition is unreachable. No runtime reproduction was attempted. Is this the best way to solve the issue? Yes. Deleting the redundant block is the narrowest solution, and the registered-hook test preserves the relevant observable routing contract. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 4883e4699ee3. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
History |
|
Merged via squash.
|
* temp/pr-146799: (70 commits) test: reuse explicit fallback config fixtures (openclaw#146948) fix(computer): return fresh window observations after actions (openclaw#146822) refactor(feishu): remove unreachable requester topic selection (openclaw#146904) improve(gateway): reduce CPU spent listing agent-owned sessions (openclaw#137745) fix(ui): avoid recapturing chat drafts during UI updates (openclaw#146884) fix(ui): show system uptime in the debug overlay (openclaw#146960) fix(retry): honor waits beyond the native timer limit (openclaw#145718) fix(ui): keep chat history idle when run status changes (openclaw#146802) fix(ui): reuse persisted text during chat streaming (openclaw#146831) refactor(qa): share harness drift result construction (openclaw#146903) test(agents): coordinate settings lock contention (openclaw#146949) fix(worker): avoid repeatedly serializing screenshot history (openclaw#146907) fix(secrets): stop buffered upload writes after cancellation (openclaw#146840) perf(doctor): avoid unnecessary state runtime imports (openclaw#146926) improve: reduce compaction request estimation work (openclaw#146961) fix(ci): wait for forwarded avatar imports before assertions (openclaw#146729) perf(workers): skip configured Git author lookups (openclaw#146833) fix: admit borrowed memory writes through the agent database owner (openclaw#146760) fix(discord): prevent voice playback gaps and stale turn controls (openclaw#146798) improve: reduce worktree filesystem stalls and archive syncs (openclaw#146906) ...
What Problem This Solves
Feishu requester-topic selection contains an unreachable duplicate route-selection branch.
User Impact
No user-visible behavior changes. Ambiguous requester topics remain unresolved, and a child with only one bound route retains its existing fallback.
Why This Change Was Made
The earlier branch already returns whenever exactly one topic matches. The removed branch required that same count, so it could never select a route. Production changes: −21 lines; tests: +47 lines.
Evidence