Repository navigation
test(qa): scope Teams timeout fault to messages - #141985
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 8, 2026, 3:48 AM ET / 07:48 UTC. ClawSweeper reviewWhat this changesLimit the Teams QA server’s simulated timeout to marked message activities and verify that marked typing updates succeed. Merge readiness✅ Ready for maintainer review This remains a useful, narrowly scoped QA fix: current main still faults marked typing activities. No blocking patch defects were found; the previous review also recorded no findings. Priority: P2 Review scores
Verification
How this fits togetherThe Teams QA server substitutes a local Connector endpoint during automated channel testing. It records outbound activities and injects selected failures so scenarios can check delivery and retry behavior. flowchart LR
A[Teams QA scenario] --> B[Teams plugin]
B --> C[Local Connector server]
C --> D[Record accepted activity]
D --> E{Marked message?}
E -->|Yes| F[Return timeout]
E -->|No| G[Return success]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceSource +1, Tests +13. Total +14 across 2 files. View PR surface stats
Review metricsNone. Technical reviewBest possible solution: Keep fault selection in the Connector fixture, preserving accepted-message timeouts while allowing informational typing activities to succeed. Do we have a high-confidence way to reproduce the issue? Yes, from source: posting a typing activity containing the timeout marker to the current-main fixture produces 504. The added HTTP assertion directly covers this trigger; no runtime reproduction was executed during review. Is this the best way to solve the issue? Yes. Narrowing the existing fault predicate repairs the fixture at its owner while retaining the message timeout and acceptance semantics. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 8ac88a1a335a. LabelsLabel 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)
|
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
Summary
messageactivitiesWhy
The maturity scenario's marker is present in the message-tool arguments. Teams progress mode can surface those arguments through a native
typingactivity before the actual message tool dispatch. The loopback fault injector matched any activity text, so it injected 504 into the Microsoft SDK stream, whose independent retry loop produced repeated outbound events and prevented final settlement. The scenario is intended to prove OpenClaw does not replay an ambiguous non-idempotent message POST, not to fault an informative typing update.Validation
node scripts/run-vitest.mjs extensions/msteams/src/qa/bot-framework-server.test.ts— 4 passedoxfmt --check— passedMaturity failure:
msteams-ambiguous-gateway-timeout