Files
openclaw/extensions/qa-lab/src/providers
Alex Knight 3f732aee83 fix: session_status 'current' resolves to live run session instead of stale sandbox key (#76708) (#76995)
Summary:
- The PR threads a live `runSessionKey` through embedded tool construction, updates `session_status({sessionKey:"current"})` resolution, and adds unit, Telegram QA, workflow, and changelog coverage for #76708.
- Reproducibility: yes. Source inspection shows current main gives `session_status` only the sandbox/requester ... plus PR follow-up describe a focused Telegram Docker scenario that fails pre-fix and passes with this head.

Automerge notes:
- PR branch already contained follow-up commit before automerge: fix: preserve session visibility semantics for runSessionKey (#76708)
- PR branch already contained follow-up commit before automerge: fix: cover Telegram current session status

Validation:
- ClawSweeper review passed for head c3c964ecfd.
- Required merge gates passed before the squash merge.

Prepared head SHA: c3c964ecfd
Review: https://github.com/openclaw/openclaw/pull/76995#issuecomment-4367445187

Co-authored-by: Alex Knight <aknight@atlassian.com>
Co-authored-by: Alex Knight <15041791+amknight@users.noreply.github.com>
2026-05-04 04:04:43 +00:00
..
2026-05-01 18:37:30 +01:00
2026-05-01 18:37:30 +01:00

QA Provider Lanes

QA provider lanes are registered in index.ts and implemented in one folder per provider. Shared provider contracts and mock-provider helpers live in shared/. Mock lanes should use shared/mock-provider-definition.ts unless they need a custom shape.

Each provider definition owns:

  • its accepted providerMode
  • default primary, alternate, and image-generation model refs
  • gateway models.providers config, when the lane needs config injection
  • model runtime params such as SSE transport, fast mode, or thinking defaults
  • optional local server startup for mock lanes
  • optional placeholder auth profile providers for mock lanes
  • whether the lane uses real provider plugins and live environment aliases

Shared suite code should import only providers/index.ts and ask the selected provider for behavior. Do not add provider-name branches to suite, gateway, manual-lane, or live-transport runtime code unless the registry contract is missing a needed capability.