Skip to content

fix(qa): test Teams timeout at send boundary - #143572

Merged
RomneyDa merged 1 commit into
mainfrom
fix/maturity-teams-ambiguous-send
Sep 10, 2026
Merged

RomneyDa merged 1 commit into
mainfrom
fix/maturity-teams-ambiguous-send

Conversation

@RomneyDa

Copy link
Copy Markdown
Member

Summary

  • seed and prove the native Teams conversation reference before proactive delivery
  • exercise the ambiguous 504 directly at the Gateway send boundary
  • assert the loopback Connector receives the marker exactly once
  • remove the obsolete provider-driven retry fixture

Testing

  • exact live-adapter scenario: msteams-ambiguous-gateway-timeout (passed)
  • pnpm test extensions/qa-lab/src/scenario-catalog-channels.test.ts (29 passed)
  • pnpm check:changed
  • autoreview: clean at P0–P2

@clawsweeper

clawsweeper Bot commented Sep 10, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@RomneyDa
RomneyDa marked this pull request as ready for review September 10, 2026 00:38
@RomneyDa
RomneyDa force-pushed the fix/maturity-teams-ambiguous-send branch from 06c7e38 to dc0d889 Compare September 10, 2026 00:40
@RomneyDa

Copy link
Copy Markdown
Member Author

Exact-head proof for dc0d889: Exact live-adapter Teams scenario passed; catalog regression 29/29 passed; pnpm check:changed passed; local autoreview clean P0-P2. @clawsweeper re-review

@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Sep 10, 2026
@clawsweeper

clawsweeper Bot commented Sep 10, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed September 9, 2026, 9:50 PM ET / September 10, 2026, 01:50 UTC.

ClawSweeper review

What this changes

The PR seeds a Teams conversation, tests an accepted-then-504 failure through Gateway send, checks for exactly one outbound message, and removes the obsolete mock-provider fixture.

Merge readiness

✅ Ready for maintainer review

This remains a useful, focused QA improvement: current main and the latest release retain the older provider-driven scenario. No blocking correctness or security defect was found, and the maintainer-authored PR is protected from cleanup closure.

Priority: P2
Reviewed head: dc0d889c390521f28e52892ab7693a13f1e11256

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused QA repair with coherent boundary assertions, reported targeted validation, and no blocking findings.
Proof confidence 🌊 off-meta tidepool Not applicable: The MEMBER-authored PR is exempt from the external-contributor proof gate and changes no authority boundary; its reported exact-head run exercises Gateway send through Teams against the accepted-then-504 loopback Connector.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: The MEMBER-authored PR is exempt from the external-contributor proof gate and changes no authority boundary; its reported exact-head run exercises Gateway send through Teams against the accepted-then-504 loopback Connector.
Evidence reviewed 8 items Introduced scope: The verified merge-base-to-head patch changes only the Teams QA scenario, its catalog guard, and the obsolete mock-provider fixture. The supplied verified test merge preserves unrelated base-branch plugin-discovery changes.
Current main still needs the scenario change: Fetched main still invokes the provider-driven message-tool fixture and waits for a distinct final marker; it does not perform the proposed direct Gateway send assertion.
Latest release comparison: The supplied latest release, v2026.9.3, also contains the older provider-driven scenario.
Findings None None.
Security None None.

How this fits together

QA Lab runs scenarios through an isolated Gateway and the real Teams plugin against a loopback Connector. The Connector records outbound activities and injects failures so the scenario can check delivery behavior.

flowchart LR
  A[Seed inbound message] --> B[Gateway and Teams plugin]
  B --> C[Conversation reference established]
  C --> D[Gateway send request]
  D --> E[Loopback Connector]
  E --> F[Record activity and return 504]
  F --> G[Assert error and one outbound message]
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Source -11, Tests -8, Other +2. Total -17 across 5 files.

View PR surface stats
Area Files Added Removed Net
Source 2 0 11 -11
Tests 2 16 24 -8
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 1 12 10 +2
Total 5 28 45 -17

Review metrics

None.

Technical review

Best possible solution:

Keep the accepted-then-504 check at the Gateway send boundary, with conversation readiness established before injection and the existing Teams retry policy unchanged.

Do we have a high-confidence way to reproduce the issue?

Not applicable to a new product defect: this repairs QA coverage of an existing delivery contract. The author reports a passing exact-head scenario; this read-only review did not execute it.

Is this the best way to solve the issue?

Yes. Direct Gateway send isolates the non-idempotent delivery boundary, and the seed reply establishes the conversation prerequisite before the fault is injected.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 531018cc15f0.

Labels

Label justifications:

  • P2: This improves bounded Teams delivery regression coverage without changing user-facing runtime behavior.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: The MEMBER-authored PR is exempt from the external-contributor proof gate and changes no authority boundary; its reported exact-head run exercises Gateway send through Teams against the accepted-then-504 loopback Connector.

Evidence

What I checked:

Likely related people:

  • RomneyDa: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
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.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

@RomneyDa
RomneyDa merged commit 92fadcf into main Sep 10, 2026
183 checks passed
@RomneyDa
RomneyDa deleted the fix/maturity-teams-ambiguous-send branch September 10, 2026 09:15
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

extensions: qa-lab maintainer Maintainer-authored PR P2 Normal backlog priority with limited blast radius. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: S status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant