Skip to content

Session event runs do not route outbound replies for webchat sessions #31348

Closed as not planned

Description

@b-agents

Summary

Session-event-triggered agent runs (for example, source=exec-event) can execute successfully, but outbound replies may be dropped when the session's delivery context resolves to internal webchat.

Why this matters

The new exec completion wake path uses requestSessionEventRun to trigger immediate runs after enqueueing system events. For webchat-bound sessions, the run happens, but reply routing can fail because webchat is non-routable in route-reply.

Scope

  • Do not block current exec wake work.
  • Track and fix webchat outbound routing for session-event runs as a follow-up.

Suggested direction

  • Define expected behavior for internal webchat session-event runs.
  • Add explicit routing/dispatch support for webchat replies in the session-event run path (or a dedicated webchat delivery path).
  • Add regression tests covering webchat session-event responses.

Activity

  1. added a commit that references this issue on Mar 2, 2026
    b4d3093
  2. domiclaw commented on Mar 2, 2026

    @domiclaw

    Opened a fix PR:
    #31375

    What I changed

    • Webchat queued replies no longer fail as unsupported in routeReply
    • Internal webchat replies are mirrored into the session transcript when sessionKey is present
    • Added a regression test covering the webchat transcript-mirror path

    This is aimed at preserving session-event output visibility for webchat sessions.

  3. openclaw-barnacle commented on Apr 6, 2026

    @openclaw-barnacle

    This issue has been automatically marked as stale due to inactivity.
    Please add updates or it will be closed.

  4. added
    stale
    on Apr 6, 2026
  5. openclaw-barnacle commented on Apr 12, 2026

    @openclaw-barnacle

    Closing due to inactivity.
    If this is still an issue, please retry on the latest OpenClaw release and share updated details.
    If you are absolutely sure it still happens on the latest release, open a new issue with fresh repro steps.

  6. locked as resolved and limited conversation to collaborators on Apr 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    stale

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions