Skip to content

[Bug] /btw and /branch should bypass active-session guard in Telegram gateway #7547

@evanbong

Description

@evanbong

Summary

and are listed in Telegram's slash command menu and work when the session is idle. However, during an active run, they get queued instead of running parallel (for /btw) or forking immediately (for /branch).

Expected behavior

  • should run as a parallel side question even during active runs (it's designed for this)
  • should fork the session immediately

Actual behavior

During active runs, both commands get queued and wait for the current task to finish before executing.

Root cause

In , the active-session bypass list at line ~1297 only includes:

and are missing from this bypass list.

Fix

Add both commands to the bypass list:

Both commands are fully implemented in ( at line 4748, at line 5326).

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Medium — degraded but workaround existscomp/gatewayGateway runner, session dispatch, deliveryplatform/telegramTelegram bot adaptertype/bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions