Skip to content

invalid session id #1161

@scarf005

Description

@scarf005

Describe the bug

using opus 4.5, fails to run any bash tasks. on macOS Sequoia 15.6.1 arm64, fish version 4.0.8
related: #640

Affected version

GitHub Copilot CLI 0.0.396.

Steps to reproduce the behavior

  1. ask it to do any task
  2. it fails to run any bash tools

Expected behavior

it works?

Additional context


● Check git status
  $ cd /run/media/home/scarf/repo/cata/Cataclysm-BN-worktrees/feat-lua-options-migration && git status --porcelain
   └ 1 line...

Read shell output:
Waiting up to 5 seconds for command output
  Invalid session ID: 0. Please supply a valid session ID to read output from.

  <no active sessions>

● Simple echo test
  $ echo "hello"
   └ 1 line...

Read shell output:
Waiting up to 5 seconds for command output
  Invalid session ID: 1. Please supply a valid session ID to read output from.

  <no active sessions>

● Check pwd
  $ pwd
   └ 1 line...

Read shell output:
Waiting up to 10 seconds for command output
  Invalid session ID: 2. Please supply a valid session ID to read output from.

  <no active sessions>

● List tmp directory
  $ ls /tmp
   └ 1 line...

Read shell output:
Waiting up to 30 seconds for command output
  Invalid session ID: test_session. Please supply a valid session ID to read output from.

  <no active sessions>

● The bash tool continues to fail with invalid session IDs. Let me try the task agent:

● Task: Build and check git status
 ● Check directory contents
   $ ls -la /run/media/home/scarf/repo/cata/Cataclysm-BN-worktrees/feat-lua-options-migration/ | head -20
    └ 1 line...
 ● Check current directory
   $ pwd && ls -la
    └ 1 line...

○ Task: Test basic commands
 ● Run three simple commands
   $ echo "test" && pwd && ls /
    └ 1 line...

 Resume this session with copilot                           --resume=ddbbd824-7d98-4de5-8925-e03e7fdae733

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions