Repository navigation
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: blocked before merge. Reviewed September 17, 2026, 2:17 AM ET / 06:17 UTC (Revision 2). ClawSweeper reviewWhat this changesThe PR repairs Slack tests by narrowing incoming WebSocket data before buffering and adding acknowledgement methods to the shared Socket Mode fixture. Merge readiness⛔ Blocked before merge - 3 items remain Both repairs already exist on current main through #149291; no unique remaining behavior was identified. Automatic closure is prohibited because this PR is MEMBER-authored and carries the protected maintainer label. Priority: P3 Review scores
Verification
How this fits togetherSlack’s Socket Mode receiver accepts WebSocket envelopes and acknowledges them before ordinary messages continue through Bolt. These changes affect the fixtures and loopback tests that validate that receive path. flowchart LR
A[Loopback WebSocket server] --> B[Slack Socket Mode receiver]
B --> C[Envelope guard]
C --> D[SDK acknowledgement]
C --> E[Ordinary message dispatch]
D --> F[Decode acknowledgement bytes]
F --> G[Test assertions]
E --> G
Decision needed
Why: The technical overlap is established, but MEMBER authorship and the maintainer label reserve closure for a maintainer. Before merge
Agent review detailsSecurityNone. PR surfaceTests +6. Total +6 across 2 files. View PR surface stats
Review metricsNone. Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Retain main’s working RawData conversion and EventEmitter-backed fixture without introducing another repair path. Do we have a high-confidence way to reproduce the issue? No current-main failing reproduction is established: source now repairs both reported mechanisms. Historical CI supports the original failures; tests were not executed during this read-only review. Is this the best way to solve the issue? Yes, the proposed changes narrowly repair the original test contracts, but main already supplies equivalent narrowing and a more faithful receiver fixture. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 8f463a22fce0; fix evidence: commit 8f463a22fce0, main fix timestamp 2026-09-17T06:10:01Z. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (1 earlier review cycle)
|
68f9e9d to
9410d85
Compare
|
Superseded by #149291, which merged both required repairs on current
The replacement is stronger than this branch's fixture-only |
Pull request was closed
|
Thank you @RomneyDa. The same narrowing landed on main in 8f463a2 (#149291), which also aligned the shared Socket Mode fixtures so the extension test-type graph and the full Slack suite pass again on clean main (verified on c498796: 165 files / 3,065 tests). Closing this one as superseded so it does not sit red on the guard failures; your fix was the right shape and is credited here. |
…50656) Complete the Slack Socket Mode envelope-guard construction repair following #150608 by @pash-openai. Require an explicit acknowledgement callback and bind the SDK sender during receiver construction, preserving SDK ownership of serialization and transport, event-less envelope acknowledgements, and continued ordinary message delivery. Complete the receiver fixture and await the Enterprise startup fixture's actual start signal while retaining the exact call-count assertion. No operator action, configuration change, or migration is required. Validation: 3,063 Slack tests across 165 files and full test typechecking passed on the patch-identical reviewed revision. Exact-head CI run 35190855262 is green; the scoped-clean review and exact-head ClawSweeper review have no actionable findings. Transport proof uses the real Slack SDK over isolated loopback sockets. Related: #150608, #150630
…enclaw#150656) Complete the Slack Socket Mode envelope-guard construction repair following openclaw#150608 by @pash-openai. Require an explicit acknowledgement callback and bind the SDK sender during receiver construction, preserving SDK ownership of serialization and transport, event-less envelope acknowledgements, and continued ordinary message delivery. Complete the receiver fixture and await the Enterprise startup fixture's actual start signal while retaining the exact call-count assertion. No operator action, configuration change, or migration is required. Validation: 3,063 Slack tests across 165 files and full test typechecking passed on the patch-identical reviewed revision. Exact-head CI run 35190855262 is green; the scoped-clean review and exact-head ClawSweeper review have no actionable findings. Transport proof uses the real Slack SDK over isolated loopback sockets. Related: openclaw#150608, openclaw#150630
Summary
RawDatabefore passing it toBuffer.fromValidation
pnpm exec vitest run extensions/slack/src/monitor/provider.interop.test.ts extensions/slack/src/monitor.failure-notices.test.ts extensions/slack/src/monitor.tool-result.test.ts extensions/slack/src/monitor/provider.auth-test-token.test.ts extensions/slack/src/monitor/provider.reconnect-loop.test.ts(98 passed)pnpm tsgo:extensions:testpnpm check:changed