Repository navigation
fix(feishu): await HTTP server shutdown during monitor cleanup - #92840
Conversation
Co-authored-by: alex sagit <[email protected]>
Co-authored-by: alex sagit <[email protected]>
|
Codex review: needs maintainer review before merge. Reviewed June 13, 2026, 10:47 PM ET / 02:47 UTC. Summary PR surface: Source +124, Tests +270. Total +394 across 9 files. Reproducibility: yes. at source level: current main still closes Feishu HTTP servers and clears state before the close callback in both stop cleanup and webhook abort cleanup. I did not run a live Feishu restart loop in this read-only review. Review metrics: none identified. Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Next step before merge
Security Review detailsBest possible solution: Land this Feishu-local replacement after normal CI and maintainer validation, then close the linked bug while leaving broader ResourceManager design to the existing follow-up issues. Do we have a high-confidence way to reproduce the issue? Yes, at source level: current main still closes Feishu HTTP servers and clears state before the close callback in both stop cleanup and webhook abort cleanup. I did not run a live Feishu restart loop in this read-only review. Is this the best way to solve the issue? Yes: the narrow Feishu-local bounded close helper is the best immediate fix shape, and the broader ResourceManager discussion is separate product/API design work. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 8ae1adfdccce. Label changesLabel changes:
Label justifications:
Evidence reviewedPR surface: Source +124, Tests +270. Total +394 across 9 files. View PR surface stats
What I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
Fixes #48183.
This repairs the existing contributor PR #48588 from @alex-xuweilong rather than opening a competing fix. The source PR already identified the right Feishu-local cleanup race; this pass should keep that attribution while making the branch landable.
Plan:
Validation:
Before merge, run a fresh Codex /review and address every actionable finding.
Clownfish 🐠 replacement reef notes:
fish notes: model gpt-5.5, reasoning xhigh; reviewed against b2846f6.