Fix Discord native empty reply fallback for compact commands#90079
Fix Discord native empty reply fallback for compact commands#90079AliAbuelkheir wants to merge 1 commit into
Conversation
|
Codex review: needs real behavior proof before merge. Reviewed June 3, 2026, 8:58 PM ET / 00:58 UTC. Summary PR surface: Source +19, Tests +22. Total +41 across 2 files. Reproducibility: no. high-confidence live reproduction was established in this read-only review. The linked report gives concrete Discord native 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:
Proof guidance:
Mantis proof suggestion Risk before merge
Maintainer options:
Next step before merge
Security Review detailsBest possible solution: Land only after redacted live Discord native Do we have a high-confidence way to reproduce the issue? No high-confidence live reproduction was established in this read-only review. The linked report gives concrete Discord native Is this the best way to solve the issue? Unclear until live proof: gating Discord on the shared dispatcher eligibility signal matches the Feishu sibling pattern and is a narrow fix shape, but the proof must show the expected compact confirmation is delivered rather than only hiding the warning. AGENTS.md: found and applied where relevant. Codex review notes: model gpt-5.5, reasoning high; reviewed against 392af2e61201. Label changesLabel justifications:
Evidence reviewedPR surface: Source +19, Tests +22. Total +41 across 2 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
|
|
I do not currently have a live Discord bot setup available for this PR branch. Could a maintainer run the suggested Mantis proof or apply proof override if the source-level review is sufficient? Mantis prompt: |
Summary
noVisibleReplyFallbackEligiblesignal./compactregression covering successful zero-counter dispatch results that should not emit the empty-reply warning.Linked context
Fixes #89950
AI-assisted: yes. I used Codex to inspect the issue, make the patch, and run focused validation. I reviewed the diff and understand the change.
Real behavior proof
/compactreport where compaction can succeed while the user-facing interaction still receives the empty warning.node --no-maglev node_modules\vitest\vitest.mjs run --config test/vitest/vitest.extension-discord.config.ts extensions/discord/src/monitor/native-command.plugin-dispatch.test.ts --reporter=dotTest Files 1 passed (1)Tests 23 passed (23)/compactzero-counter non-fallback-eligible regression.scripts/run-vitest.mjsno-oped under Nodev22.14.0; dependency install also timed out on a few unrelated package downloads after hydrating enough dependencies for the focused test./compactcommand completed compaction but produced the empty visible reply warning instead of a visible confirmation.Tests and validation
node --no-maglev node_modules\vitest\vitest.mjs run --config test/vitest/vitest.extension-discord.config.ts extensions/discord/src/monitor/native-command.plugin-dispatch.test.ts --reporter=dotgit diff --checkRisk checklist
CHANGELOG.mdeditsCurrent review state
Draft for maintainer and Ali review because live Discord proof was not available in this workspace.